summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-09 18:16:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-09 18:30:24 +0100
commit96b796563a365f4a8cc3cf62ede9fb280bde8e37 (patch)
treebe937087eaedfa0d7b1401e227485938e9ab9e43 /media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild
parentmedia-video/avidemux: 2.7.0 version bump (diff)
downloadgentoo-96b796563a365f4a8cc3cf62ede9fb280bde8e37.tar.gz
gentoo-96b796563a365f4a8cc3cf62ede9fb280bde8e37.tar.bz2
gentoo-96b796563a365f4a8cc3cf62ede9fb280bde8e37.zip
media-libs/avidemux-plugins: 2.7.0 version bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild')
-rw-r--r--media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild19
1 files changed, 14 insertions, 5 deletions
diff --git a/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild
index c39414c1f978..fb70ffe36c29 100644
--- a/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild
+++ b/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild
@@ -21,11 +21,11 @@ HOMEPAGE="http://fixounet.free.fr/avidemux"
# Multiple licenses because of all the bundled stuff.
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
-SLOT="2.6"
+SLOT="2.7"
IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="${PYTHON_DEPS}
+COMMON_DEPEND="${PYTHON_DEPS}
~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?]
>=dev-lang/spidermonkey-1.5-r2:0=
@@ -56,8 +56,15 @@ RDEPEND="${PYTHON_DEPS}
nvenc? ( amd64? ( media-video/nvidia_video_sdk:0 ) )
opus? ( media-libs/opus:0 )
pulseaudio? ( media-sound/pulseaudio:0 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
truetype? ( media-libs/freetype:2 )
twolame? ( media-sound/twolame:0 )
+ vorbis? ( media-libs/libvorbis:0 )
+ vpx? ( media-libs/libvpx:0= )
x264? ( media-libs/x264:0= )
x265? ( media-libs/x265:0= )
xv? (
@@ -66,12 +73,13 @@ RDEPEND="${PYTHON_DEPS}
x11-libs/libXv:0
)
xvid? ( media-libs/xvid:0 )
- vorbis? ( media-libs/libvorbis:0 )
- vpx? ( media-libs/libvpx:0= )
"
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
oss? ( virtual/os-headers:0 )
"
+RDEPEND="${COMMON_DEPEND}
+ !<media-libs/avidemux-plugins-${PV}:${SLOT}
+"
S="${WORKDIR}/${MY_P}"
@@ -85,6 +93,7 @@ src_prepare() {
processes="buildPluginsCommon:avidemux_plugins
buildPluginsCLI:avidemux_plugins"
+ use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
for process in ${processes} ; do
CMAKE_USE_DIR="${S}"/${process#*:} cmake-utils_src_prepare