diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-03-20 14:03:55 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-03-20 14:03:55 +0000 |
commit | 37faa7b7bbaa88145599a6f1ac83037d73e61f7c (patch) | |
tree | b795423929a34fdd161a339c098fa62f156af77e /media-libs | |
parent | New package: Removed gtk USE flag, fixes bug #461988. Split plugins to its ow... (diff) | |
download | historical-37faa7b7bbaa88145599a6f1ac83037d73e61f7c.tar.gz historical-37faa7b7bbaa88145599a6f1ac83037d73e61f7c.tar.bz2 historical-37faa7b7bbaa88145599a6f1ac83037d73e61f7c.zip |
New package: Removed gtk USE flag, fixes bug #461988. Split plugins to its own package, fixes bug #462098.
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/avidemux-plugins/Manifest | 18 | ||||
-rw-r--r-- | media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild | 97 | ||||
-rw-r--r-- | media-libs/avidemux-plugins/metadata.xml | 13 |
3 files changed, 126 insertions, 2 deletions
diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest index a50c82eb1ea4..29a03aa4c3c2 100644 --- a/media-libs/avidemux-plugins/Manifest +++ b/media-libs/avidemux-plugins/Manifest @@ -1,4 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST avidemux_2.6.2.tar.gz 17009420 SHA256 67c5676692152094033fbab490fbea24af27d8744496578d1c77957ab103fdb6 SHA512 1ba6f1c751732eec9fdceb2b0728122005ceab4c74ac09d213ebeff4c2af2a0b6ce8737d88e7c43970d1b9ca80cb36ad925efc9e4a487c4f463f1435aee328b3 WHIRLPOOL 0c95e87293251fffb773c8a1996ac015ba0d6f9d36d4f5ae01313c0532d2cf020a3ba0704d0f607347bbf0444e10857d7508fcbd968d62e889d7b62b36b85df7 -EBUILD avidemux-plugins-2.6.2-r1.ebuild 2935 SHA256 3461e33ae23d1ce33045a507295be11ef2881db63cb7cdb93a6757e74f834af1 SHA512 e056ea51bd65d26c9e491759c70bc50ee8879f75f72b66d26bd1e9fa66992ff3d11cfedf150b65f00c45f6328ef1d101deef027b83cff841aec2d500f4ea5e1a WHIRLPOOL 21c6b439a4accbc10a73a6783051a331957a3cbed04b837bbc9cdb68209deb0d644784696bddb2343fa6fcffbc83d3599a9565aa4f46c9df0a2863d2c88b8776 -MISC ChangeLog 380 SHA256 8f30539d8e7f84290314ee4419c636bdd7be9b1ea7262364f0792331cb489bae SHA512 9b1c41c778a3240bb6ee1d29ca2f6ecabad7f5c29c5bf3780a3b1c9db171c6df0a98842d6a8f19628d5466e141908a07c8aa3ae947f61dc9c5080ca747992d30 WHIRLPOOL 5c5d01549460fd8568dd441d4afc292b3ed77e39b782b3e77d2455216d45b93e6cbf20e982b224f353ccb8f82ee83ad567c6af7156cb355dea4835cf55c78e78 +EBUILD avidemux-plugins-2.6.2-r1.ebuild 2953 SHA256 cf78877ad1d3a64ebeb0822104dafcdbbe0058533d6b1b8482d790828c545243 SHA512 5e6a99e6625fcb48f2fcec28a06351aaaa0cb7415577d98a74472f4b4ddf04f44f97ee522bc5e06067a6023196934f71a09922893a38f54d0a5c1a66135a0db4 WHIRLPOOL cfd676cbf82decc53fee589dd3570135c716d684155c721f38af9849809549833a06a2d1c347e84309bf933c862860dada56807b6f473299194d9735e5d369f2 +MISC ChangeLog 479 SHA256 d4ea2833f7572be51bc72db33198410fe10c5aaf370d09063d81425678d0de2c SHA512 b392e667e4971258955be7e1abb0f2e252a5235d6a8f3002a7f894b4f9da2ebe32b6e584153d9358c395ca40a1c1146dd88d30b204f888a340bd36227d764d8a WHIRLPOOL 8e806dd7a68d8f9f0f2bda19a1bcabe1547d343700d5c437d0cf7f2a669916eca268934e5fd01529aca33eea774d96499d86f6305a4afa3785b7076394287e15 MISC metadata.xml 454 SHA256 d030c80e7f7a78bfb80d197a937e72190cbbcfb60a7db46962a257dea7b578dd SHA512 f099ad149918f751437e6111d7533f44d164796456a534d38f6b2a6ba56e727cbf681ba1767af3b3f8d006de3c10e32e90580c53b794278b23fcfc65fd5818d5 WHIRLPOOL 06e262c3f8c4c33af26e94806e2b6233422a2adb8eeeb50dda91ee1b94b91b205fd7ae9531e870890ae39a5d4a1a6d7b021969ede9b5181307664d7353dc6ebf +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRScGxAAoJEJWyH81tNOV95+kIAL9XmfXbyyoTova9u9V9+8G3 +b/KvAmVP82HnCNet/Ct90z8EuHNd+Zd8ERVGqITciRFGzzL/jZs0by9j5+CWrCJ4 +V5mYqeF2kD5JmFzUPDEPg1aKZguptTTbyavQ2r6FitdnVgz0xPBXJoHP7YaZ4ugS +hm01wlaqPlnzB5o8MID1cGW8n60FNhCbOQAwaKjxF871MfWfrwoRRoqX4v1WInlX +f3x2XzH6mcTYK2IUMLF6hGqeRyxSxrUTeUBT0J+0XQsSKdZSHEiLme3owcXU47c9 +dEpwu5W1PXQrwqSjbTeCINavGzr6gIr1AyzGbAcXZk/wddOBg1SLVdIMCmoB4cA= +=Dwcp +-----END PGP SIGNATURE----- diff --git a/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild new file mode 100644 index 000000000000..3249a45239d0 --- /dev/null +++ b/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/avidemux-plugins-2.6.2-r1.ebuild,v 1.1 2013/03/20 14:03:52 tomwij Exp $ + +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/-plugins/}" +MY_P="${MY_PN}_${PV}" + +DESCRIPTION="Plugins for avidemux; a video editor designed for simple cutting, filtering and encoding tasks." +HOMEPAGE="http://fixounet.free.fr/${MY_PN}" +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 mmx oss nls qt4 sdl vorbis truetype xvid x264 xv" + +# TODO: Figure out which dependencies can be moved out of avidemux-core and avidemux into here. +RDEPEND="=media-video/avidemux-${PVR}" +DEPEND="$RDEPEND" + +S="${WORKDIR}/${MY_P}" + +PROCESSES="buildPluginsCommon:avidemux_plugins + buildPluginsCLI:avidemux_plugins" + +use qt4 && PROCESSES+=" buildPluginsQt4:avidemux_plugins" + +src_configure() { + local x mycmakeargs plugin_ui + + 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" + + for PROCESS in ${PROCESSES} ; do + SOURCE="${PROCESS%%:*}" + DEST="${PROCESS#*:}" + + mkdir "${S}"/${SOURCE} || die "Can't create build folder." + cd "${S}"/${SOURCE} || die "Can't enter build folder." + + if [[ "${SOURCE}" == "buildPluginsCommon" ]] ; then + plugin_ui="-DPLUGIN_UI=COMMON" + elif [[ "${SOURCE}" == "buildPluginsCLI" ]] ; then + plugin_ui="-DPLUGIN_UI=CLI" + elif [[ "${SOURCE}" == "buildPluginsQt4" ]] ; then + plugin_ui="-DPLUGIN_UI=QT4" + fi + + cmake -DAVIDEMUX_SOURCE_DIR="${S}" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + ${mycmakeargs} ${plugin_ui} -G "Unix Makefiles" ../"${DEST}${POSTFIX}/" || die "cmake failed." + done +} + +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 + + for PROCESS in ${PROCESSES} ; do + SOURCE="${PROCESS%%:*}" + + cd "${S}/${SOURCE}" || die "Can't enter build folder." + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" + done +} + +src_install() { + for PROCESS in ${PROCESSES} ; do + SOURCE="${PROCESS%%:*}" + + cd "${S}/${SOURCE}" || die "Can't enter build folder." + if [[ "${SOURCE}" == "buildPluginsCLI" || "${SOURCE}" == "buildPluginsQt4" ]] ; then + emake DESTDIR="${ED}" preinstall + else + emake DESTDIR="${ED}" install + fi + done +} diff --git a/media-libs/avidemux-plugins/metadata.xml b/media-libs/avidemux-plugins/metadata.xml new file mode 100644 index 000000000000..f8b59070e559 --- /dev/null +++ b/media-libs/avidemux-plugins/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <herd>video</herd> + <use> + <flag name="aften">Enable A/52 (AC-3) audio encoder support</flag> + <flag name="amr">Enable Adaptive Multi-Rate format support via <pkg>media-libs/opencore-amr</pkg></flag> + </use> +</pkgmetadata> |