diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/avidemux-plugins/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/avidemux-plugins/Manifest | 17 | ||||
-rw-r--r-- | media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild | 133 |
3 files changed, 149 insertions, 9 deletions
diff --git a/media-libs/avidemux-plugins/ChangeLog b/media-libs/avidemux-plugins/ChangeLog index 8664bbdbbbd8..3417b02d789e 100644 --- a/media-libs/avidemux-plugins/ChangeLog +++ b/media-libs/avidemux-plugins/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/avidemux-plugins # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v 1.11 2013/07/12 23:36:29 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/avidemux-plugins/ChangeLog,v 1.12 2013/07/17 00:31:34 tomwij Exp $ + +*avidemux-plugins-9999 (17 Jul 2013) + + 17 Jul 2013; Tom Wijsman <TomWij@gentoo.org> +avidemux-plugins-9999.ebuild: + Made 9999 ebuild that uses upstream's git, applied various cmake related + ebuild fixes to simplify maintenance; thanks to Nikoli for the suggestion. 12 Jul 2013; Tom Wijsman <TomWij@gentoo.org> avidemux-plugins-2.6.4-r1.ebuild, avidemux-plugins-2.6.4.ebuild: diff --git a/media-libs/avidemux-plugins/Manifest b/media-libs/avidemux-plugins/Manifest index 568ce31c059a..df5a0cb99ea0 100644 --- a/media-libs/avidemux-plugins/Manifest +++ b/media-libs/avidemux-plugins/Manifest @@ -9,16 +9,17 @@ EBUILD avidemux-plugins-2.6.2-r2.ebuild 2819 SHA256 b8c9abaa39d61935b1d160d727fa EBUILD avidemux-plugins-2.6.3.ebuild 3634 SHA256 e17913ab59b4c8140152826803a2c8f56a8b7421da0dedadd6edc26c96e02631 SHA512 00c841f1a37264ea9b128aa3fa8c58242cafe8d3f7856a70a940ed07d030ba6361d1b107a73bac5290d3ae39e04cd736afecd669d98906c85b1fbbaaa306c89d WHIRLPOOL 128d382992298f16c88fdcbef2c9960387f330d5356e6ceefda6e44b16d836489a31955e20001c4843edd71979164bb7e36ec82ef4aeac32e2ad579bd62e5470 EBUILD avidemux-plugins-2.6.4-r1.ebuild 3932 SHA256 d2fdd7149935f62d1941aaf9ff97cf5082fdb9b6da57e3f78b5d0ac2be582262 SHA512 2b99ef64c471a734f894ace3e5b9a31737d6b88e72b85a299c9a26b6d003d843905578245bf909aabd91c2488cb33ecabcbab910fe9398b8296deb1ae56cd873 WHIRLPOOL c35f0d080cd24ca25d7234a1e83609d687f0db89e32173df21426620b70eed160987c802c8e21aa65a6462af1436bd2103929ac90c74e902b5daf1325e093757 EBUILD avidemux-plugins-2.6.4.ebuild 3634 SHA256 1e4d21304f8290116f57d4255ad9ca48517561d34880cc8fb4ef9277d33677af SHA512 4ca0796ebe87e72d00fece8f3933d12a73708cd26aba648f3244a9f49736213b54090679e3f12e994ee95cf52223bef721ed492b2931a3e4c13f6c58c37ff6ea WHIRLPOOL 03d11ee54a8dbdce4f0c9cb7e24e7225656faba76aefaceb70a5c432ecab43637ebaf48aa6678bcd1c3ed397014773da5bb674cbda06e0d7aa52d3421471c2d3 -MISC ChangeLog 3331 SHA256 8f9cd8b24826dfd9bad70f48cbb2c305c4a4f12ca94e29b90ac8d02fe31f1dfa SHA512 4a83865e2d86db72ca45a62fea47ebaa0daeb0f8969a5296510cdb37844e3f83798c8531891e1559b01fe6b3769eb535b39c56c90f8818fb4984b45824a35ebb WHIRLPOOL d916ae06a7b9a85091617a0decc3c4e9b51849d930e35d2802c0fa56cc816bba7db837d345aecd4344df9477404418d9e78e1699711c456deb56c8bc420e9775 +EBUILD avidemux-plugins-9999.ebuild 3736 SHA256 82e2a8297064c752e16e351e8fed8760e40666060ef6393f6d8f34640ba4f8bf SHA512 320f60a9149faa31651cfd5b53cf44c4f9e19889e5f7f2a36bb5ca3c8a7d4514e8d9d707fa10dfc90443edb2db17a96cbde9a1e8cdf3f1337a2a55caf299f2e1 WHIRLPOOL e2f8e25d6fbd7c06af4cf18bc9fc741f5ce86eb0d633b69dd662d7e04e501d0ddc4b0048807394348428b4a8fcc02e9c2f26aaa9b239bdcebd43942203b79e7c +MISC ChangeLog 3600 SHA256 b4de70f0fddf83b157290897f751b748dce6e31d433ea0ee7e8cbfac545242fe SHA512 4edbc8b68794dd2a82814ae8c3a88b8ab02c33dfbdd3f8b8b9ae0e935d53a18511cbcd72b81910bde13a5b2b20ddcc154265277405ca3ae20296d1772811725e WHIRLPOOL b3067e710443a862bb137fa40f43b611d9725a96fe7ff9ae620de291a8587f7624b2a664f4f074ee51fec8c508573e7b8b0f4b1845f3986429a4a3e1f41e0aa5 MISC metadata.xml 1007 SHA256 1a4c911a631fca3bcc61f79eec9ea93c8a66390bfeca32ae4f06ab1f7707bf4a SHA512 1ebcd623ab08176143226f9544005953e2a7a08ca457f378bd083f0eaeef2d2f64f6c5e2d321ba4f67e34720804e03136d6749a2254ab2b92b2145604637adbd WHIRLPOOL 7da1e5d6ab98313b0dd79ec3f9a1e7c7699fbaecbbe8c4a938fcba8b3805337ed5605b71a586794f5b6bc231a0e6be3c182cc40216db2eeaf9c0f87e80e1f991 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQEcBAEBCAAGBQJR4JI8AAoJEJWyH81tNOV9t20IAL8QlBTMPg2HmAw+zmgC/00U -CGKPWKTZx0SEhiZUQbJe+XdRk/O/qjh0mCGis4GT1iKP3VtF9mntcf8JSxrLhTce -H6Rfr26MiuVagiMo56FOyReVl7VIe2TWj48cNrfGsX086U1UeELBoOgH4nb/j9NC -ALcV5cTs0NMJ0YhQf428ji6d8Sb56DYd0teRvI2zr0hQuwH1IoNsF2r0L3OCyxZU -PJ6Preaveg/ed/Cu9iXW4BPPA5pQkvMV6j3qEVF9mkhg4GGYfnZPHu3M5cRLYOHM -U+GoAymWPF2lydfwDnHzEtczFexR63gkBRGoiuElhPGLUZuPt55zEsj9r7R4vH4= -=ST+K +iQEcBAEBCAAGBQJR5eUlAAoJEJWyH81tNOV9khsH/24YFDuuSa9IyrdkCe+//z3U +Lsp+o3Ao1e99CRKAopC672SXvizsXU+jOeNgJSHqDLEwSEEIJySJ6Yt2ozxGciko +eU4ViGoLxXuyeulwhjqRhJUrhlO6PamLjXIJK+WMINOKqN3111Zx01IlGOW7iD7H +XCw0TGkCGahwftMiNSiAOC4tiZvdzEYBTUvRelRb0yARLgSBF/AYpM3ztQ79iq7g ++P5wiv6ts1ZS7DkH7MvHIZgsMUjcWiMmGTVn3VtAQ8fr/Kpy3FU0TAKdDhR8MPDX +1Z+V7AgOwKyNKE8wNESGQj00TzH1yrWsADei8SsMYrppzqjRcWIj1FymIqI7y4I= +=AnaK -----END PGP SIGNATURE----- diff --git a/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild b/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild new file mode 100644 index 000000000000..17da64e807de --- /dev/null +++ b/media-libs/avidemux-plugins/avidemux-plugins-9999.ebuild @@ -0,0 +1,133 @@ +# 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-9999.ebuild,v 1.1 2013/07/17 00:31:34 tomwij Exp $ + +EAPI="5" + +inherit cmake-utils eutils flag-o-matic + +SLOT="2.6" + +DESCRIPTION="Plugins for avidemux; 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="aac aften a52 alsa amr debug dts fontconfig fribidi jack lame libsamplerate mmx opengl oss pulseaudio qt4 vorbis truetype twolame xv xvid x264 vpx" +KEYWORDS="~amd64 ~x86" + +MY_PN="${PN/-plugins/}" +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 + +DEPEND=" + ~media-video/avidemux-${PV}:${SLOT}[opengl?,qt4?] + >=dev-lang/spidermonkey-1.5-r2:0= + dev-libs/libxml2:2 + media-libs/libpng:0= + virtual/libiconv:0 + aac? ( + media-libs/faac:0 + media-libs/faad2:0 + ) + aften? ( media-libs/aften:0 ) + alsa? ( >=media-libs/alsa-lib-1.0.3b-r2:0 ) + amr? ( media-libs/opencore-amr:0 ) + dts? ( media-libs/libdca:0 ) + fontconfig? ( media-libs/fontconfig:1.0 ) + fribidi? ( dev-libs/fribidi:0 ) + jack? ( + media-sound/jack-audio-connection-kit:0 + libsamplerate? ( media-libs/libsamplerate:0 ) + ) + lame? ( media-sound/lame:0 ) + oss? ( virtual/os-headers:0 ) + pulseaudio? ( media-sound/pulseaudio:0 ) + truetype? ( media-libs/freetype:2 ) + twolame? ( media-sound/twolame:0 ) + x264? ( media-libs/x264:0= ) + xv? ( + x11-libs/libX11:0 + x11-libs/libXext:0 + x11-libs/libXv:0 + ) + xvid? ( media-libs/xvid:0 ) + vorbis? ( media-libs/libvorbis:0 ) + vpx? ( media-libs/libvpx:0 ) +" +RDEPEND="$DEPEND" + +S="${WORKDIR}/${MY_P}" + +processes="buildPluginsCommon:avidemux_plugins + buildPluginsCLI:avidemux_plugins" +use qt4 && processes+=" buildPluginsQt4:avidemux_plugins" + +PATCHES=( "${FILESDIR}"/${PN}-2.6.4-optional-pulse.patch ) + +src_configure() { + # 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 + local build="${process%%:*}" + + local mycmakeargs=" + -DAVIDEMUX_SOURCE_DIR='${S}' + -DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]') + $(cmake-utils_use aac FAAC) + $(cmake-utils_use aac FAAD) + $(cmake-utils_use alsa) + $(cmake-utils_use aften) + $(cmake-utils_use amr OPENCORE_AMRWB) + $(cmake-utils_use amr OPENCORE_AMRNB) + $(cmake-utils_use dts LIBDCA) + $(cmake-utils_use fontconfig) + $(cmake-utils_use jack) + $(cmake-utils_use lame) + $(cmake-utils_use oss) + $(cmake-utils_use pulseaudio PULSEAUDIOSIMPLE) + $(cmake-utils_use qt4) + $(cmake-utils_use truetype FREETYPE2) + $(cmake-utils_use twolame) + $(cmake-utils_use x264) + $(cmake-utils_use xv XVIDEO) + $(cmake-utils_use xvid) + $(cmake-utils_use vorbis) + $(cmake-utils_use vorbis LIBVORBIS) + $(cmake-utils_use vpx VPXDEC) + " + + if use debug ; then + mycmakeargs+=" -DVERBOSE=1 -DCMAKE_BUILD_TYPE=Debug -DADM_DEBUG=1" + fi + + mkdir "${S}"/${build} || die "Can't create build folder." + + CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${S}"/${build} cmake-utils_src_configure + done +} + +src_compile() { + for process in ${processes} ; do + BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_compile + done +} + +src_install() { + for process in ${processes} ; do + BUILD_DIR="${S}/${process%%:*}" cmake-utils_src_install + done +} |