diff options
author | Ben de Groot <yngwin@gentoo.org> | 2009-08-04 12:02:38 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2009-08-04 12:02:38 +0000 |
commit | 4417f4b33cabfbde162a3eb62eb276d1d15f2cc2 (patch) | |
tree | a0e258912a806ba5be9c8209988f57fb612e1f59 /media-video/avidemux | |
parent | new ebuild from kde-testing overlay (diff) | |
download | historical-4417f4b33cabfbde162a3eb62eb276d1d15f2cc2.tar.gz historical-4417f4b33cabfbde162a3eb62eb276d1d15f2cc2.tar.bz2 historical-4417f4b33cabfbde162a3eb62eb276d1d15f2cc2.zip |
Version bump
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-video/avidemux')
-rw-r--r-- | media-video/avidemux/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/avidemux/Manifest | 15 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.5.0.ebuild | 161 |
3 files changed, 171 insertions, 12 deletions
diff --git a/media-video/avidemux/ChangeLog b/media-video/avidemux/ChangeLog index 5d87a1d22353..12c28a8b1797 100644 --- a/media-video/avidemux/ChangeLog +++ b/media-video/avidemux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/avidemux # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.149 2009/06/28 12:18:43 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.150 2009/08/04 12:02:38 yngwin Exp $ + +*avidemux-2.5.0 (04 Aug 2009) + + 04 Aug 2009; Ben de Groot <yngwin@gentoo.org> +avidemux-2.5.0.ebuild: + Version bump 28 Jun 2009; Markus Meier <maekke@gentoo.org> avidemux-2.4.4-r2.ebuild: amd64 stable, bug #272842 diff --git a/media-video/avidemux/Manifest b/media-video/avidemux/Manifest index 6bf7c1ffa4b5..f35e4b92657f 100644 --- a/media-video/avidemux/Manifest +++ b/media-video/avidemux/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX avidemux-2.4-cmake264.patch 820 RMD160 e02c32891a257dd6e14e2b6aa464232cea222429 SHA1 387804ad24a816a24a036b57692cee9ff13e728f SHA256 693958df6c16d467e3c4a0b9dc56861c2c1bf8eed051de5cd7422b274d5d68af AUX avidemux-2.4-i18n.patch 1676 RMD160 5cc06702f8a4d96a12630d4f543035baa5ccac0f SHA1 32557519caeed3b236f48b40d5ee8953b2d03197 SHA256 ab978ed96a2689af2e01ad8b9a08ed9bd4b2f8e4c6721d9598964f1fd8a5e6d2 AUX avidemux-2.4-libdca.patch 949 RMD160 53ec97b26441f2617566dbb949496be72ecbc07c SHA1 91ff55452ed9bdaabd76fa41add4c405bf6b8405 SHA256 95f49dbe69a4621ef8f33795898623156222e16d0774a6c454e2e303c6290c3e @@ -8,16 +5,12 @@ AUX avidemux-2.4-ts-cmake.patch 517 RMD160 10796376d71b67ed7881db397679ea1888b86 AUX avidemux-2.4.3-x264.patch 1484 RMD160 ed487bb8f6a65fca9180790156411d84ee18fe8c SHA1 06fb7f651ff8b3c866785c8a9e65ced1ec395d03 SHA256 b7e6a3374aed67734602b5ef25c994267d8bd2324c46993554853336c6a47553 AUX avidemux-2.4.4-gcc-4.4.patch 3946 RMD160 1be6fb90f05befb0399ef38ccb6358d082f27b0a SHA1 63de9ce7999af1b9f94c01b14ccd049c2b27f32a SHA256 d8e2392b4eb4a0e5573fe5bac10a9ac57ae0f16207e613543d8e61d7527914af AUX lavcodec-mpegvideo_mmx-asm-fix.patch 2443 RMD160 3b1b315ef1e5083f95807ce5419196c832a66aad SHA1 0bd5ca05d373f7fd63cafb03d5514cfc86d8504c SHA256 c6cfcf06da8a254e542077a7ac728be220d41fc0ad3c4b7001ac63de5f36bc6c +DIST avidemux-2.5.0-patches-1.tar.bz2 6371 RMD160 8abb2f7645f7e3992a802c8f8abbce5982f4933b SHA1 78961a826384ab3e6959f5ef3a1c5bb74337c683 SHA256 7bff6f272ede8d8581fcfe46deaafc20ab064e904e255351bcac9c5aef07297b DIST avidemux_2.4.3.tar.gz 6707930 RMD160 3d9d098d97462027ac1a62fe9438451b1915367b SHA1 d3a4dc2c07884916c45f750229d02fbdeb3cedde SHA256 b2e24ed11ad84c1f5c0b6efaad8b1aae07618cf99994ae0d63fbd7f71333214f DIST avidemux_2.4.4.tar.gz 6894690 RMD160 8bb2705b3e2d5379d833ec4fa06a01b897c06e04 SHA1 c50a00caf13a8ea1053e5994edeb59354192e18e SHA256 45aafd6e54047edcfe9c985f4c9523c0efd71f7d21dad5e584aceb92c63e2956 +DIST avidemux_2.5.0.tar.gz 12806613 RMD160 e2a385af627d41bede2231e62893dbb957e75fc3 SHA1 9697f1a54006e362a361aa609d3bdc1065676fb2 SHA256 9c92a8de1bfa82bd8f01dff27a953434c8042646babe1b0949620de86d449a7a EBUILD avidemux-2.4.3.ebuild 4077 RMD160 f3f28982be7f24c50ecb69d4d94b4246917ac704 SHA1 86ea655935da10dcfbf2f4e2b371fa5dcf7912f4 SHA256 dfb4e5f70d3af934930a7f833a187de3075e545641b7c843a02e9f9aa3b9cc6d EBUILD avidemux-2.4.4-r2.ebuild 3569 RMD160 40c9ed0aa804e8522114a0dbeae1450e0ea4f4fa SHA1 1cd5f5fd615684a9eed5c01be7ee8ec4b3ba8b0e SHA256 0c64685f4e800fea3fc2052bab688d62bfbf662175a5cb0b750c59784190d2df -MISC ChangeLog 26483 RMD160 b7e1bb283af778e4c1a10e58aa7beee7ca08578c SHA1 4ed9e88f33dcd5f892e2652b4978951a43f82840 SHA256 4162386503b6d0008fd324039494137a208851948cf5138783e91bbc227c3115 +EBUILD avidemux-2.5.0.ebuild 5145 RMD160 05656faf95fcc9ecfa02eb6ab7b5a022736c13c0 SHA1 98bd6c747170bff9ce5a1d495a20cd04039e2f0f SHA256 23597c6da7468aa467a0a54aad9153262569e9aa0a70e461ccaf5788a8501fae +MISC ChangeLog 26602 RMD160 e7fd2201a419dbbe761430e0bf0ac1a34c249b6d SHA1 c6d3fd2868230d469d9c30ac6afdcbdc931386ab SHA256 abf4acea1324711e42059e70a7e73c5da832eaf1dd3c85e3f15829bb915272c1 MISC metadata.xml 429 RMD160 b32016aaa9b19e2462d493e38f1d9423d8772361 SHA1 05b0451bfb459579447bd43a30104445f59c23ce SHA256 e5416acf63f5b056b0d9148a73d6914b09c78446338f913a9cf709661487790a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkpHX8MACgkQkKaRLQcq0GIjegCfc2HhgcKZcX9fGn2n0mZpqPjC -qDAAmwcOiogJqgkUsCb6JO9Mlur82ZaT -=yRjP ------END PGP SIGNATURE----- diff --git a/media-video/avidemux/avidemux-2.5.0.ebuild b/media-video/avidemux/avidemux-2.5.0.ebuild new file mode 100644 index 000000000000..6776b075f955 --- /dev/null +++ b/media-video/avidemux/avidemux-2.5.0.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.5.0.ebuild,v 1.1 2009/08/04 12:02:38 yngwin Exp $ + +EAPI="2" + +inherit cmake-utils eutils flag-o-matic + +MY_P=${PN}_${PV} + +DESCRIPTION="Video editor designed for simple cutting, filtering and encoding tasks" +HOMEPAGE="http://fixounet.free.fr/avidemux" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz + mirror://gentoo/${P}-patches-1.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+aac +aften +alsa amrnb +dts esd jack libsamplerate +mp3 nls oss + pulseaudio +sdl +truetype +vorbis +x264 +xv +xvid gtk +qt4" + +RDEPEND="dev-libs/libxml2 + aac? ( media-libs/faac + media-libs/faad2 ) + aften? ( media-libs/aften ) + alsa? ( media-libs/alsa-lib ) + amrnb? ( media-libs/amrnb ) + dts? ( media-libs/libdca ) + mp3? ( media-sound/lame ) + esd? ( media-sound/esound ) + jack? ( media-sound/jack-audio-connection-kit ) + libsamplerate? ( media-libs/libsamplerate ) + oss? ( media-libs/alsa-oss ) + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl ) + truetype? ( media-libs/freetype:2 + media-libs/fontconfig ) + vorbis? ( media-libs/libvorbis ) + x264? ( media-libs/x264 ) + xv? ( x11-libs/libXv ) + xvid? ( media-libs/xvid ) + gtk? ( x11-libs/gtk+:2 ) + qt4? ( >=x11-libs/qt-gui-4.5.1:4 )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +AVIDEMUX_LANGS="bg ca cs de el es fr it ja pt_BR ru sr sr@latin tr zh_TW" +for L in ${AVIDEMUX_LANGS}; do + IUSE="${IUSE} linguas_${L}" +done + +PATCHES=( "${WORKDIR}/patches/${PV}-i18n.patch" + "${WORKDIR}/patches/${PV}-gcc4.4.patch" + "${WORKDIR}/patches/${PV}-multilib.patch" + "${WORKDIR}/patches/${PV}-ts-parallel-build.patch" + "${WORKDIR}/patches/${PV}-coreImage-parallel-build.patch" + # adds plugins as a build target and adjusts include paths + "${WORKDIR}/patches/${PV}-build-plugins.patch" + # creates a lib dir in a build dir to allow correct plugins linking + "${WORKDIR}/patches/${PV}-fake-inst-dir.patch" + "${WORKDIR}/patches/${PV}-xv.patch" ) + +src_prepare() { + base_src_prepare + + local po_files= + local qt_ts_files= + local avidemux_ts_files= + for lingua in ${LINGUAS}; do + if has ${lingua} ${AVIDEMUX_LANGS}; then + if [[ -e ${S}/po/${lingua}.po ]]; then + po_files="${po_files} \${po_subdir}/${lingua}.po" + fi + if [[ -e ${S}/po/qt_${lingua}.ts ]]; then + qt_ts_files="${qt_ts_files} \${ts_subdir}/qt_${lingua}.ts" + fi + if [[ -e ${S}/po/${PN}_${lingua}.ts ]]; then + avidemux_ts_files="${avidemux_ts_files} \${ts_subdir}/${PN}_${lingua}.ts" + fi + fi + done + + sed -i -e "s!FILE(GLOB po_files .*)!SET(po_files ${po_files})!" \ + "${S}/cmake/Po.cmake" || die "sed failed" + sed -i -e "s!FILE(GLOB.*qt.*)!SET(ts_files ${qt_ts_files})!" \ + -e "s!FILE(GLOB.*avidemux.*)!SET(ts_files ${avidemux_ts_files})!" \ + "${S}/cmake/Ts.cmake" || die "sed failed" +} + +src_configure() { + mycmakeargs="${mycmakeargs} + -DAVIDEMUX_SOURCE_DIR='${S}' + -DAVIDEMUX_INSTALL_PREFIX='${S}_build' + -DAVIDEMUX_CORECONFIG_DIR='${S}_build/config'" + + # CMakeLists.txt + use gtk || mycmakeargs="${mycmakeargs} -DGTK=0" + use qt4 || mycmakeargs="${mycmakeargs} -DQT4=0" + + # cmake/admCheckMiscLibs.cmake + use nls || mycmakeargs="${mycmakeargs} -DGETTEXT=0" + use sdl || mycmakeargs="${mycmakeargs} -DSDL=0" + use xv || mycmakeargs="${mycmakeargs} -DXVIDEO=0" + + # cmake/admCheckAudioDeviceLibs.cmake + use alsa || mycmakeargs="${mycmakeargs} -DALSA=0" + use esd || mycmakeargs="${mycmakeargs} -DESD=0" + use jack || mycmakeargs="${mycmakeargs} -DJACK=0" + use oss || mycmakeargs="${mycmakeargs} -DOSS=0" + use pulseaudio || mycmakeargs="${mycmakeargs} -DPULSEAUDIOSIMPLE=0" + + # cmake/admCheckAudioEncoderLibs.cmake + use aften || mycmakeargs="${mycmakeargs} -DAFTEN=0" + use mp3 || mycmakeargs="${mycmakeargs} -DLAME=0" + use aac || mycmakeargs="${mycmakeargs} -DFAAC=0" + use vorbis || mycmakeargs="${mycmakeargs} -DVORBIS=0" + + # plugins/ADM_audioDecoders + use aac || mycmakeargs="${mycmakeargs} -DFAAD=0" + use amrnb || mycmakeargs="${mycmakeargs} -DAMRNB=0" + use dts || mycmakeargs="${mycmakeargs} -DLIBDCA=0" + + # plugins/ADM_videoFilters + use truetype || mycmakeargs="${mycmakeargs} -DFREETYPE2=0 -DFONTCONFIG=0" + + # plugins/ADM_videoEncoder + use xvid || mycmakeargs="${mycmakeargs} -DXVID=0" + use x264 || mycmakeargs="${mycmakeargs} -DX264=0" + + cmake-utils_src_configure +} + +src_compile() { + # first build the application + cmake-utils_src_compile + # and then go on with plugins + emake -C "${CMAKE_BUILD_DIR}/plugins" || die "building plugins failed" +} + +src_install() { + # install the application + cmake-utils_src_install + # install plugins + emake -C "${CMAKE_BUILD_DIR}/plugins" DESTDIR="${D}" install \ + || die "installing plugins failed" + + dodoc AUTHORS || die "dodoc failed" + newicon avidemux_icon.png avidemux.png || die "installing icon failed" + + if use qt4; then + sed -i "s/\(${PN}2_\)gtk/\1qt4/" ${PN}2.desktop || die "sed failed" + domenu ${PN}2.desktop || die "installing desktop file failed" + fi + + if use gtk; then + domenu ${PN}2-gtk.desktop || die "installing desktop file failed" + fi +} |