diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-05-05 21:43:30 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-05-05 21:48:12 +0200 |
commit | 8bede8f34e19c76fbfdc0e56558d9f706cffb36b (patch) | |
tree | 00c60503bfc9b08cdfacdf2f523c96b12892f520 /media-libs/avidemux-core | |
parent | compilefix wrt bug 575494 (diff) | |
download | gentoo-8bede8f34e19c76fbfdc0e56558d9f706cffb36b.tar.gz gentoo-8bede8f34e19c76fbfdc0e56558d9f706cffb36b.tar.bz2 gentoo-8bede8f34e19c76fbfdc0e56558d9f706cffb36b.zip |
media-video/avidemux, media-libs/avidemux*: remove old versions
Diffstat (limited to 'media-libs/avidemux-core')
-rw-r--r-- | media-libs/avidemux-core/Manifest | 5 | ||||
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild | 117 | ||||
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.6.3.ebuild | 100 | ||||
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.6.4.ebuild | 99 | ||||
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.6.5.ebuild | 111 | ||||
-rw-r--r-- | media-libs/avidemux-core/avidemux-core-2.6.7.ebuild | 111 |
6 files changed, 0 insertions, 543 deletions
diff --git a/media-libs/avidemux-core/Manifest b/media-libs/avidemux-core/Manifest index 2938f2088ab6..418a75235847 100644 --- a/media-libs/avidemux-core/Manifest +++ b/media-libs/avidemux-core/Manifest @@ -1,6 +1 @@ -DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7 -DIST avidemux_2.6.3.tar.gz 17025710 SHA256 78972b46c6ef1eb52fc012cafdeb2b6275913b968a49053016fb91ef0e9e5137 SHA512 a51e3cd95695a8500f1355c7a76b8313ae3fe68855b8eb9351038c00cd3d05bbf3ada3b75bf9d817fcddf1786a55c1c09cdbc4fe774974c5e4484c12ccd0a8fc WHIRLPOOL 899c5135e92cd3a830c84b1701ac6bfaf73d7417fa869ab26dd16b3754e5b71c5e667b30d747c5f19b902e1a8d53679447e86f9c6403f32a31554e551929e2bf -DIST avidemux_2.6.4.tar.gz 17109929 SHA256 2937c6c09248445942ac7e71b100ff8f7e272c4ad9c38e7d8c519ce4a11cec44 SHA512 1b80f65ac5a1da844b521a82bab8976d01c81923460004dc76ed0f6994f95da0ad9a836c90ffa1595ad060f0d6f27ce30add0204ca9d5295084a62e79dd484c9 WHIRLPOOL a1cbfcfeafa163ed24881edb085126a69eca3e0e8eaee50091ceadb993105a0cb43068b7725fa54871bc04b20ca5b51650ac536688b1d1f8d5b0a2d7356459ef -DIST avidemux_2.6.5.tar.gz 17322253 SHA256 428e1f6d99e2d854ccdcb68f2260d853c47c809eee6bd92f151cb298d98b1861 SHA512 e7f8be29812ca787a1ec2cfddb1c611e1032ed94f24f41c0684f106970085bb6d219c822f3e713c472508a3f7b306540d2cabeb665bdbac061a49bccf8c23a80 WHIRLPOOL 192ce60afe4634319567cd7a1440ba212d83e02c054d6625ad738955fde02d0e722eba948c60932f520bb5e76c46ebbab0001230c1da50d893fb99a18f1da76f -DIST avidemux_2.6.7.tar.gz 17337193 SHA256 d28202273d23be85c748c12d6e4df5e013bb861ea52b9bac7e0f90ba3d23249f SHA512 deea9811a0b6f618fab2ecf63c675b37dac12ea0ab09136a6b251e13601cd62cdc1c97d032762ea54f38e07275380106026541243bc87e230ce302fb821f2e5c WHIRLPOOL a41c338fc51e14d2c900dcef86a3887f94164548e8b904945d47915a78db907d152fda4ae53e5c37bf368348ff9912b529005a271f85d993776f042b5b997553 DIST avidemux_2.6.8.tar.gz 17380534 SHA256 02998c235a89894d184d745c94cac37b78bc20e9eb44b318ee2bb83f2507e682 SHA512 57a4042f1a9d46462850871d36950215c5ffb5b66ce2f2cde09d747e946c05adb7a550ac7763c96f4c1bcb2c39881407d9d88bc64c93053741091751495ba0b0 WHIRLPOOL 29f8a6039d82e686e8dfbfc7b23658921834238a4cc6c4de338afdfdc032a9a7cba1c8236789aa6dbcab318ec14c344c19563f153e6cbd63cd265c5fb15b44b6 diff --git a/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild deleted file mode 100644 index 789884baae77..000000000000 --- a/media-libs/avidemux-core/avidemux-core-2.6.2-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs - -SLOT="2.6" -MY_PN="${PN/-core/}" -MY_P="${MY_PN}_${PV}" - -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -KEYWORDS="~amd64 ~x86" -IUSE="aften a52 alsa amr debug dts fontconfig jack lame libsamplerate cpu_flags_x86_mmx oss nls sdl -system-ffmpeg vorbis truetype xvid x264 xv" - -RDEPEND=" - !<media-video/avidemux-2.6.2-r1:${SLOT} - >=dev-lang/spidermonkey-1.5-r2:0 - dev-libs/libxml2 - media-libs/libpng - virtual/libiconv - aften? ( media-libs/aften ) - alsa? ( >=media-libs/alsa-lib-1.0.3b-r2 ) - amr? ( media-libs/opencore-amr ) - dts? ( media-libs/libdca ) - fontconfig? ( media-libs/fontconfig ) - jack? ( - media-sound/jack-audio-connection-kit - libsamplerate? ( media-libs/libsamplerate ) - ) - lame? ( media-sound/lame ) - sdl? ( media-libs/libsdl ) - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] ) - truetype? ( >=media-libs/freetype-2.1.5 ) - x264? ( media-libs/x264:= ) - xv? ( x11-libs/libXv ) - xvid? ( media-libs/xvid ) - vorbis? ( media-libs/libvorbis ) -" -DEPEND=" - $RDEPEND - oss? ( virtual/os-headers ) - nls? ( sys-devel/gettext ) - virtual/pkgconfig -" -RDEPEND=" - nls? ( virtual/libintl:0 ) - $RDEPEND -" -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - # Preparations to support the system ffmpeg. - if use system-ffmpeg ; then - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg." - - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg." - fi - - # Avoid existing avidemux installations from making the build process fail, bug #461496. - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail." -} - -src_configure() { - local x mycmakeargs - - mycmakeargs=" - $(for x in ${IUSE}; do cmake-utils_use ${x/#-/}; done) - $(cmake-utils_use amr OPENCORE_AMRWB) - $(cmake-utils_use amr OPENCORE_AMRNB) - $(cmake-utils_use dts LIBDCA) - $(cmake-utils_use nls GETTEXT) - $(cmake-utils_use truetype FREETYPE2) - $(cmake-utils_use xv XVIDEO) - " - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug" - - mkdir "${S}"/buildCore || die "Can't creante build folder." - cd "${S}"/buildCore || die "Can't enter build folder." - - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \ - -DCMAKE_INSTALL_PREFIX="/usr" \ - ${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed." -} - -src_compile() { - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 - - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" -} - -src_install() { - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake DESTDIR="${ED}" -j1 install - - dodoc "${S}"/{AUTHORS,README} -} diff --git a/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild deleted file mode 100644 index a630a9f11721..000000000000 --- a/media-libs/avidemux-core/avidemux-core-2.6.3.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs - -SLOT="2.6" -MY_PN="${PN/-core/}" -MY_P="${MY_PN}_${PV}" - -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -KEYWORDS="~amd64 ~x86" -IUSE="debug nls sdl system-ffmpeg vdpau xv" - -DEPEND=" - !<media-video/avidemux-${PV}:${SLOT} - dev-db/sqlite - sdl? ( media-libs/libsdl ) - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] ) - xv? ( x11-libs/libXv ) - vdpau? ( x11-libs/libvdpau ) -" -RDEPEND=" - nls? ( virtual/libintl:0 ) - $DEPEND -" -DEPEND=" - $DEPEND - virtual/pkgconfig - nls? ( sys-devel/gettext ) - !system-ffmpeg? ( dev-lang/yasm[nls=] ) -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - if use system-ffmpeg ; then - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install. - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg." - - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg." - else - # Avoid existing avidemux installations from making the build process fail, bug #461496. - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail." - fi - -} - -src_configure() { - local x mycmakeargs - - mycmakeargs=" - $(cmake-utils_use nls GETTEXT) - $(cmake-utils_use sdl SDL) - $(cmake-utils_use vdpau VDPAU) - $(cmake-utils_use xv XVIDEO) - " - use debug && POSTFIX="_debug" && mycmakeargs+="-DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug" - - mkdir "${S}"/buildCore || die "Can't create build folder." - cd "${S}"/buildCore || die "Can't enter build folder." - - cmake -DAVIDEMUX_SOURCE_DIR="${S}" \ - -DCMAKE_INSTALL_PREFIX="/usr" \ - ${mycmakeargs} -G "Unix Makefiles" ../"avidemux_core${POSTFIX}/" || die "cmake failed." -} - -src_compile() { - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 - - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" -} - -src_install() { - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake DESTDIR="${ED}" -j1 install - - dodoc "${S}"/{AUTHORS,README} -} diff --git a/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild deleted file mode 100644 index 5afad85ed784..000000000000 --- a/media-libs/avidemux-core/avidemux-core-2.6.4.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" -inherit cmake-utils eutils flag-o-matic l10n toolchain-funcs - -SLOT="2.6" -MY_PN="${PN/-core/}" -MY_P="${MY_PN}_${PV}" - -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" -SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -KEYWORDS="~amd64 ~x86" -IUSE="debug nls sdl system-ffmpeg vdpau xv" - -DEPEND=" - !<media-video/avidemux-${PV}:${SLOT} - dev-db/sqlite - sdl? ( media-libs/libsdl ) - system-ffmpeg? ( >=media-video/ffmpeg-1.0:0[aac,cpudetection,mp3,theora] ) - xv? ( x11-libs/libXv ) - vdpau? ( x11-libs/libvdpau ) -" -RDEPEND=" - nls? ( virtual/libintl:0 ) - $DEPEND -" -DEPEND=" - $DEPEND - virtual/pkgconfig - nls? ( sys-devel/gettext ) - !system-ffmpeg? ( dev-lang/yasm[nls=] ) -" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - default - - if use system-ffmpeg ; then - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install. - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "Failed to remove ffmpeg." - - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "Failed to remove ffmpeg." - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "Failed to remove ffmpeg." - else - # Avoid existing avidemux installations from making the build process fail, bug #461496. - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake || die "Failed to avoid existing avidemux installation from making the build fail." - fi -} - -src_configure() { - local mycmakeargs=" - -DAVIDEMUX_SOURCE_DIR='${S}' - -DCMAKE_INSTALL_PREFIX='/usr' - $(cmake-utils_use nls GETTEXT) - $(cmake-utils_use sdl SDL) - $(cmake-utils_use vdpau VDPAU) - $(cmake-utils_use xv XVIDEO) - " - if use debug ; then - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug" - fi - - local build="${S}"/buildCore - mkdir ${build} || die "Can't create build folder." - cd ${build} || die "Can't enter build folder." - CMAKE_USE_DIR="${S}"/avidemux_core BUILD_DIR=${build} cmake-utils_src_configure -} - -src_compile() { - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 - - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" -} - -src_install() { - # TODO: Report -j1 problem upstream, seems to be within ffmpeg code. - cd "${S}"/buildCore || die "Can't enter build folder." - emake DESTDIR="${ED}" -j1 install - - dodoc "${S}"/{AUTHORS,README} -} diff --git a/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild deleted file mode 100644 index 43228d533947..000000000000 --- a/media-libs/avidemux-core/avidemux-core-2.6.5.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit cmake-utils eutils flag-o-matic - -SLOT="2.6" - -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv" -KEYWORDS="~amd64 ~x86" - -MY_PN="${PN/-core/}" -if [[ ${PV} == *9999* ]] ; then - KEYWORDS="" - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git" - - inherit git-2 -else - MY_P="${MY_PN}_${PV}" - SRC_URI="mirror://sourceforge/${MY_PN}/${PV}/${MY_P}.tar.gz" -fi - -# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed? -DEPEND=" - !<media-video/avidemux-${PV}:${SLOT} - dev-db/sqlite:3 - 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 ) - video_cards_fglrx? ( - || ( >=x11-drivers/ati-drivers-14.12-r3 - x11-libs/xvba-video:0 ) - )" -RDEPEND=" - nls? ( virtual/libintl:0 ) - $DEPEND -" -DEPEND=" - $DEPEND - virtual/pkgconfig - nls? ( sys-devel/gettext ) - !system-ffmpeg? ( dev-lang/yasm[nls=] ) -" - -S="${WORKDIR}/${MY_P}" -BUILD_DIR="${S}/buildCore" - -DOCS=( AUTHORS README ) - -src_prepare() { - mkdir "${BUILD_DIR}" || die "Can't create build folder." - - cmake-utils_src_prepare - - if use system-ffmpeg ; then - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install. - local error="Failed to remove ffmpeg." - - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}" - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}" - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}" - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}" - else - # Avoid existing avidemux installations from making the build process fail, bug #461496. - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \ - || die "Failed to avoid existing avidemux installation from making the build fail." - fi - - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 -} - -src_configure() { - local mycmakeargs=" - -DAVIDEMUX_SOURCE_DIR='${S}' - $(cmake-utils_use nls GETTEXT) - $(cmake-utils_use sdl SDL) - $(cmake-utils_use vaapi LIBVA) - $(cmake-utils_use vdpau VDPAU) - $(cmake-utils_use video_cards_fglrx XVBA) - $(cmake-utils_use xv XVIDEO) - " - - if use debug ; then - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1" - fi - - CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -j1 -} - -src_install() { - cmake-utils_src_install -j1 -} diff --git a/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild b/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild deleted file mode 100644 index 29a9ee642920..000000000000 --- a/media-libs/avidemux-core/avidemux-core-2.6.7.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit cmake-utils eutils flag-o-matic - -SLOT="2.6" - -DESCRIPTION="Core libraries for a video editor designed for simple cutting, filtering and encoding tasks" -HOMEPAGE="http://fixounet.free.fr/avidemux" - -# Multiple licenses because of all the bundled stuff. -LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" -IUSE="debug nls sdl system-ffmpeg vaapi vdpau video_cards_fglrx xv" -KEYWORDS="~amd64 ~x86" - -MY_PN="${PN/-core/}" -if [[ ${PV} == *9999* ]] ; then - KEYWORDS="" - EGIT_REPO_URI="git://gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git https://git.gitorious.org/${MY_PN}2-6/${MY_PN}2-6.git" - - inherit git-2 -else - MY_P="${MY_PN}_${PV}" - SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" -fi - -# Trying to use virtual; ffmpeg misses aac,cpudetection USE flags now though, are they needed? -DEPEND=" - !<media-video/avidemux-${PV}:${SLOT} - dev-db/sqlite:3 - 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 ) - video_cards_fglrx? ( - || ( >=x11-drivers/ati-drivers-14.12-r3 - x11-libs/xvba-video:0 ) - )" -RDEPEND=" - nls? ( virtual/libintl:0 ) - $DEPEND -" -DEPEND=" - $DEPEND - virtual/pkgconfig - nls? ( sys-devel/gettext ) - !system-ffmpeg? ( dev-lang/yasm[nls=] ) -" - -S="${WORKDIR}/${MY_P}" -BUILD_DIR="${S}/buildCore" - -DOCS=( AUTHORS README ) - -src_prepare() { - mkdir "${BUILD_DIR}" || die "Can't create build folder." - - cmake-utils_src_prepare - - if use system-ffmpeg ; then - # Preparations to support the system ffmpeg. Currently fails because it depends on files the system ffmpeg doesn't install. - local error="Failed to remove ffmpeg." - - rm -rf cmake/admFFmpeg* cmake/ffmpeg* avidemux_core/ffmpeg_package buildCore/ffmpeg || die "${error}" - sed -i -e 's/include(admFFmpegUtil)//g' avidemux/commonCmakeApplication.cmake || die "${error}" - sed -i -e '/registerFFmpeg/d' avidemux/commonCmakeApplication.cmake || die "${error}" - sed -i -e 's/include(admFFmpegBuild)//g' avidemux_core/CMakeLists.txt || die "${error}" - else - # Avoid existing avidemux installations from making the build process fail, bug #461496. - sed -i -e "s:getFfmpegLibNames(\"\${sourceDir}\"):getFfmpegLibNames(\"${S}/buildCore/ffmpeg/source/\"):g" cmake/admFFmpegUtil.cmake \ - || die "Failed to avoid existing avidemux installation from making the build fail." - fi - - # Add lax vector typing for PowerPC. - if use ppc || use ppc64 ; then - append-cflags -flax-vector-conversions - fi - - # See bug 432322. - use x86 && replace-flags -O0 -O1 -} - -src_configure() { - local mycmakeargs=" - -DAVIDEMUX_SOURCE_DIR='${S}' - $(cmake-utils_use nls GETTEXT) - $(cmake-utils_use sdl SDL) - $(cmake-utils_use vaapi LIBVA) - $(cmake-utils_use vdpau VDPAU) - $(cmake-utils_use video_cards_fglrx XVBA) - $(cmake-utils_use xv XVIDEO) - " - - if use debug ; then - mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1" - fi - - CMAKE_USE_DIR="${S}"/avidemux_core cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -j1 -} - -src_install() { - cmake-utils_src_install -j1 -} |