Skip to content

Commit

Permalink
Switch to EAPI=6 v2
Browse files Browse the repository at this point in the history
Removes the need to inherit multilib for get_libdir.

Also cmake-utils helpers are disabled in EAPI=6.
  • Loading branch information
saintdev committed Feb 29, 2016
1 parent 45272c3 commit da2845b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions media-video/obs-studio/obs-studio-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils cmake-utils multilib
EAPI=6
inherit eutils cmake-utils

if [[ ${PV} == 9999 ]]; then
inherit git-r3
Expand Down Expand Up @@ -62,14 +62,14 @@ src_prepare() {
src_configure() {
local libdir=$(get_libdir)
local mycmakeargs=(
$(cmake-utils_use_disable fdk LIBFDK)
$(cmake-utils_use imagemagick LIBOBS_PREFER_IMAGEMAGICK)
$(cmake-utils_use_disable jack JACK)
$(cmake-utils_use_disable pulseaudio PULSEAUDIO)
$(cmake-utils_use_enable qt5 UI)
$(cmake-utils_use_disable qt5 UI)
$(cmake-utils_use_disable truetype FREETYPE)
$(cmake-utils_use_disable v4l V4L2)
-DDISABLE_LIBFDK="$(usex fdk no yes)"
-DLIBOBS_PREFER_IMAGEMAGICK="$(usex imagemagick)"
-DDISABLE_JACK="$(usex jack no yes)"
-DDISABLE_PULSEAUDIO="$(usex pulseaudio no yes)"
-DENABLE_UI="$(usex qt5)"
-DDISABLE_UI="$(usex qt5 no yes)"
-DDISABLE_FREETYPE="$(usex truetype no yes)"
-DDISABLE_V4L2="$(usex v4l no yes)"
-DUNIX_STRUCTURE=1
-DOBS_MULTIARCH_SUFFIX=${libdir#lib}
)
Expand Down

0 comments on commit da2845b

Please sign in to comment.