summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-08 18:38:16 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-08 19:30:40 +0100
commit299c8310d117049c68b636fbd21d4e9340995d11 (patch)
treeca569d5ca8080120a60f648c3a6219a1d8fe3988 /media-libs
parentmedia-libs/libmygpo-qt: Drop old (diff)
downloadgentoo-299c8310d117049c68b636fbd21d4e9340995d11.tar.gz
gentoo-299c8310d117049c68b636fbd21d4e9340995d11.tar.bz2
gentoo-299c8310d117049c68b636fbd21d4e9340995d11.zip
media-libs/avidemux-core: Sort and fix DEPENDs
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/avidemux-core/avidemux-core-9999.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/media-libs/avidemux-core/avidemux-core-9999.ebuild b/media-libs/avidemux-core/avidemux-core-9999.ebuild
index 9b4fbca2cefa..6d3d4eb7d5f9 100644
--- a/media-libs/avidemux-core/avidemux-core-9999.ebuild
+++ b/media-libs/avidemux-core/avidemux-core-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=6
inherit cmake-utils
@@ -26,22 +26,20 @@ else
fi
# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed?
-DEPEND="
- !<media-video/avidemux-${PV}:${SLOT}
+COMMON_DEPEND="
dev-db/sqlite:3
+ nvenc? ( media-video/nvidia_video_sdk )
sdl? ( media-libs/libsdl:0 )
system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] )
- xv? ( x11-libs/libXv:0 )
vaapi? ( x11-libs/libva:0 )
vdpau? ( x11-libs/libvdpau:0 )
- nvenc? ( media-video/nvidia_video_sdk )
+ xv? ( x11-libs/libXv:0 )
"
-RDEPEND="
- $DEPEND
+RDEPEND="${COMMON_DEPEND}
+ !<media-video/avidemux-${PV}:${SLOT}
nls? ( virtual/libintl:0 )
"
-DEPEND="
- $DEPEND
+DEPEND="${COMMON_DEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )
!system-ffmpeg? ( dev-lang/yasm[nls=] )
@@ -76,11 +74,11 @@ src_configure() {
local mycmakeargs=(
-DAVIDEMUX_SOURCE_DIR='${S}'
-DGETTEXT="$(usex nls)"
+ -DNVENC="$(usex nvenc)"
-DSDL="$(usex sdl)"
-DLIBVA="$(usex vaapi)"
-DVDPAU="$(usex vdpau)"
-DXVIDEO="$(usex xv)"
- -DNVENC="$(usex nvenc)"
)
if use debug ; then