diff options
author | Samuli Suominen <drac@gentoo.org> | 2007-11-30 20:46:24 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2007-11-30 20:46:24 +0000 |
commit | 6348653e9fba867d176898055231960b663ea0a4 (patch) | |
tree | abe590acc96b1c4198715c86f9e74e4b4c27350f /media-video/avidemux | |
parent | amd64 stable, bug 200350 (diff) | |
download | gentoo-2-6348653e9fba867d176898055231960b663ea0a4.tar.gz gentoo-2-6348653e9fba867d176898055231960b663ea0a4.tar.bz2 gentoo-2-6348653e9fba867d176898055231960b663ea0a4.zip |
Version bump, ebuild from /dev/null but thanks to yngwin for original ebuild at berkano overlay and Ingmar from #genkdesvn for helping with cmake utils.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'media-video/avidemux')
-rw-r--r-- | media-video/avidemux/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/avidemux/avidemux-2.4_pre3.ebuild | 106 | ||||
-rw-r--r-- | media-video/avidemux/files/avidemux-2.4_pre3-libdca.patch | 24 | ||||
-rw-r--r-- | media-video/avidemux/files/digest-avidemux-2.4_pre3 | 3 |
4 files changed, 141 insertions, 1 deletions
diff --git a/media-video/avidemux/ChangeLog b/media-video/avidemux/ChangeLog index 10911fc98c13..f4001256f70d 100644 --- a/media-video/avidemux/ChangeLog +++ b/media-video/avidemux/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/avidemux # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.116 2007/11/27 11:57:23 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/ChangeLog,v 1.117 2007/11/30 20:46:24 drac Exp $ + +*avidemux-2.4_pre3 (30 Nov 2007) + + 30 Nov 2007; Samuli Suominen <drac@gentoo.org> + +files/avidemux-2.4_pre3-libdca.patch, +avidemux-2.4_pre3.ebuild: + Version bump, ebuild from /dev/null but thanks to yngwin for original ebuild + at berkano overlay and Ingmar from #genkdesvn for helping with cmake utils. 27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> avidemux-2.3.0.ebuild: Fixed quoting. diff --git a/media-video/avidemux/avidemux-2.4_pre3.ebuild b/media-video/avidemux/avidemux-2.4_pre3.ebuild new file mode 100644 index 000000000000..6a72dbcf5767 --- /dev/null +++ b/media-video/avidemux/avidemux-2.4_pre3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-2.4_pre3.ebuild,v 1.1 2007/11/30 20:46:24 drac Exp $ + +inherit cmake-utils eutils + +MY_P=${PN}_${PV/pre/preview} + +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" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="aac aften alsa amrnb arts dts encode esd fontconfig jack libsamplerate +x264 xv xvid vorbis truetype gtk qt4" + +RDEPEND="dev-libs/libxml2 + media-libs/libpng + media-libs/libsdl + >=dev-libs/glib-2 + alsa? ( media-libs/alsa-lib ) + fontconfig? ( media-libs/fontconfig ) + xv? ( x11-libs/libXv ) + esd? ( media-sound/esound ) + jack? ( media-sound/jack-audio-connection-kit ) + aften? ( media-libs/aften ) + libsamplerate? ( media-libs/libsamplerate ) + xvid? ( media-libs/xvid ) + amrnb? ( media-libs/amrnb ) + dts? ( media-libs/libdca ) + x264? ( media-libs/x264-svn ) + aac? ( media-libs/faac media-libs/faad2 ) + vorbis? ( media-libs/libvorbis ) + arts? ( kde-base/arts ) + truetype? ( media-libs/freetype ) + gtk? ( >=x11-libs/gtk+-2 + x11-libs/libX11 ) + qt4? ( >=x11-libs/qt-4 + x11-libs/libX11 ) + encode? ( + aac? ( media-libs/faac ) + media-sound/lame )" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/pkgconfig + dev-util/cmake" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-libdca.patch +} + +src_compile() { + # Commented options are breaking the build. -drac + + local mycmakeargs + + # ConfigureChecks.cmake + use alsa || mycmakeargs="${mycmakeargs} -DNO_ALSA=1" + #use oss || mycmakeargs="${mycmakeargs} -DNO_OSS=1" + #use nls || mycmakeargs="${mycmakeargs} -DNO_NLS=1" + #use sdl || mycmakeargs="${mycmakeargs} -DNO_SDL=1" + + # ConfigureChecks.cmake -> ADM_CHECK_HL -> cmake/adm_checkHeaderLib.cmake + use fontconfig || mycmakeargs="${mycmakeargs} -DNO_FontConfig=1" + use xv || mycmakeargs="${mycmakeargs} -DNO_Xvideo=1" + use esd || mycmakeargs="${mycmakeargs} -DNO_Esd=1" + use jack || mycmakeargs="${mycmakeargs} -DNO_Jack=1" + use aften || mycmakeargs="${mycmakeargs} -DNO_Aften=1" + use libsamplerate || mycmakeargs="${mycmakeargs} -DNO_libsamplerate=1" + use encode || mycmakeargs="${mycmakeargs} -DNO_Lame=1 -DNO_FAAC=1" + use xvid || mycmakeargs="${mycmakeargs} -DNO_Xvid=1" + use amrnb || mycmakeargs="${mycmakeargs} -DNO_AMRNB=1" + use dts || mycmakeargs="${mycmakeargs} -DNO_libdca=1" + use x264 || mycmakeargs="${mycmakeargs} -DNO_x264=1" + use aac || mycmakeargs="${mycmakeargs} -DNO_FAAD=1 -DNO_NeAAC=1" + use vorbis || mycmakeargs="${mycmakeargs} -DNO_Vorbis=1" + #use png || mycmakeargs="${mycmakeargs} -DNO_libPNG=1" + + # ConfigureChecks.cmake -> cmake/FindArts.cmake + use arts || mycmakeargs="${mycmakeargs} -DNO_ARTS=1" + + # CMakeLists.txt + use truetype || mycmakeargs="${mycmakeargs} -DNO_FREETYPE=1" + use gtk || mycmakeargs="${mycmakeargs} -DNO_GTK=1" + use qt4 || mycmakeargs="${mycmakeargs} -DNO_QT4=1" + + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS + + doicon avidemux_icon.png + + use gtk && make_desktop_entry avidemux2_gtk "Avidemux GTK" \ + avidemux_icon "AudioVideo;GTK;" + use qt4 && make_desktop_entry avidemux2_qt4 "Avidemux QT" \ + avidemux_icon "AudioVideo;Qt;" +} diff --git a/media-video/avidemux/files/avidemux-2.4_pre3-libdca.patch b/media-video/avidemux/files/avidemux-2.4_pre3-libdca.patch new file mode 100644 index 000000000000..98767e93c83b --- /dev/null +++ b/media-video/avidemux/files/avidemux-2.4_pre3-libdca.patch @@ -0,0 +1,24 @@ +diff -ur avidemux_2.4_preview3.orig/ConfigureChecks.cmake avidemux_2.4_preview3/ConfigureChecks.cmake +--- avidemux_2.4_preview3.orig/ConfigureChecks.cmake 2007-11-10 15:44:58.000000000 +0200 ++++ avidemux_2.4_preview3/ConfigureChecks.cmake 2007-11-30 22:28:27.000000000 +0200 +@@ -405,7 +405,7 @@ + IF (USE_LATE_BINDING)
+ CHECK_INCLUDE_FILES(dts.h USE_LIBDCA)
+ ELSE (USE_LATE_BINDING)
+- ADM_CHECK_HL(libdca dts.h dts dts_init USE_LIBDCA)
++ ADM_CHECK_HL(libdca dts.h dca dca_init USE_LIBDCA)
+ ENDIF (USE_LATE_BINDING)
+
+ SET(CMAKE_REQUIRED_LIBRARIES)
+diff -ur avidemux_2.4_preview3.orig/avidemux/CMakeLists.txt avidemux_2.4_preview3/avidemux/CMakeLists.txt +--- avidemux_2.4_preview3.orig/avidemux/CMakeLists.txt 2007-11-09 18:34:00.000000000 +0200 ++++ avidemux_2.4_preview3/avidemux/CMakeLists.txt 2007-11-30 22:17:20.000000000 +0200 +@@ -326,7 +326,7 @@ +
+ #libdts
+ if(USE_LIBDCA AND NOT USE_LATE_BINDING)
+- add_libs_all_targets(dts)
++ add_libs_all_targets(dca)
+ endif(USE_LIBDCA AND NOT USE_LATE_BINDING)
+
+ # Lame
diff --git a/media-video/avidemux/files/digest-avidemux-2.4_pre3 b/media-video/avidemux/files/digest-avidemux-2.4_pre3 new file mode 100644 index 000000000000..47241747a3a6 --- /dev/null +++ b/media-video/avidemux/files/digest-avidemux-2.4_pre3 @@ -0,0 +1,3 @@ +MD5 f7a073abfe1c93a3d1d5a324c0a21b93 avidemux_2.4_preview3.tar.gz 5715054 +RMD160 034386aabeec3530bc38b3d0e3e31f324d923fb5 avidemux_2.4_preview3.tar.gz 5715054 +SHA256 9f96a266dbb3dc8ca44545f1778616e436f879053904c9f751a271ae7b95d09f avidemux_2.4_preview3.tar.gz 5715054 |