diff options
author | Martin Väth <mvath@google.com> | 2019-08-31 20:36:27 +0200 |
---|---|---|
committer | Martin Väth <mvath@google.com> | 2019-08-31 20:36:27 +0200 |
commit | a1b511cd49ce8455e40f1f23286538b91d001e8a (patch) | |
tree | 96c95ca4fe2dadd84e73f6363365a09be86a0b3c /media-libs/avidemux-core | |
parent | sys-fs/squashfs-tools: Version bump (diff) | |
download | mv-a1b511cd49ce8455e40f1f23286538b91d001e8a.tar.gz mv-a1b511cd49ce8455e40f1f23286538b91d001e8a.tar.bz2 mv-a1b511cd49ce8455e40f1f23286538b91d001e8a.zip |
avidemux: adapt partially to current gentoo ebuilds
Signed-off-by: Martin Väth <mvath@google.com>
Diffstat (limited to 'media-libs/avidemux-core')
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.7.4-r1.ebuild (renamed from media-libs/avidemux-core/avidemux-core-2.7.4.ebuild) | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild b/media-libs/avidemux-core/avidemux-core-2.7.4-r1.ebuild index d7d581de..de8c9611 100644 --- a/media-libs/avidemux-core/avidemux-core-2.7.4.ebuild +++ b/media-libs/avidemux-core/avidemux-core-2.7.4-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2019 Gentoo Authors and Martin V\"ath # Distributed under the terms of the GNU General Public License v2 -# EAPI=7 causes cmake-utils to apply broken patches -EAPI=6 -RESTRICT="mirror" +EAPI=7 + +CMAKE_MAKEFILE_GENERATOR="emake" if [[ ${PV} == *9999* ]] ; then EGIT_REPO_URI="https://github.com/mean00/avidemux2.git" @@ -26,8 +26,7 @@ SLOT="2.7" IUSE="debug nls nvenc sdl system-ffmpeg vaapi vdpau xv" # Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed? -COMMON_DEPEND=" - dev-db/sqlite:3 +DEPEND="dev-db/sqlite:3 nvenc? ( media-video/nvidia_video_sdk ) sdl? ( media-libs/libsdl:0 ) system-ffmpeg? ( >=virtual/ffmpeg-9:0[mp3,theora] ) @@ -35,13 +34,12 @@ COMMON_DEPEND=" vdpau? ( x11-libs/libvdpau:0 ) xv? ( x11-libs/libXv:0 ) " -RDEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} !<media-libs/avidemux-core-${PV} !<media-video/avidemux-${PV} nls? ( virtual/libintl:0 ) " -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig +BDEPEND="virtual/pkgconfig nls? ( sys-devel/gettext ) !system-ffmpeg? ( dev-lang/yasm[nls=] ) " @@ -93,9 +91,9 @@ src_configure() { } src_compile() { - cmake-utils_src_compile -j1 + cmake-utils_src_compile } src_install() { - cmake-utils_src_install -j1 + cmake-utils_src_install } |