summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-07-21 19:05:19 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-07-21 19:05:19 +0000
commit9fc8b63f10f811d575cefb699365acba736040b3 (patch)
tree1a15c7660561c63a100bbb42970ea6502e492aee /media-video/avidemux/avidemux-0.9-r1.ebuild
parentNew verson, and fixed distcc-config (temp for rewrite and in 2.7.1 and 2.9) t... (diff)
downloadhistorical-9fc8b63f10f811d575cefb699365acba736040b3.tar.gz
historical-9fc8b63f10f811d575cefb699365acba736040b3.tar.bz2
historical-9fc8b63f10f811d575cefb699365acba736040b3.zip
Fixing libxml2 issue.
Diffstat (limited to 'media-video/avidemux/avidemux-0.9-r1.ebuild')
-rw-r--r--media-video/avidemux/avidemux-0.9-r1.ebuild76
1 files changed, 76 insertions, 0 deletions
diff --git a/media-video/avidemux/avidemux-0.9-r1.ebuild b/media-video/avidemux/avidemux-0.9-r1.ebuild
new file mode 100644
index 000000000000..9d9d25773373
--- /dev/null
+++ b/media-video/avidemux/avidemux-0.9-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/avidemux/avidemux-0.9-r1.ebuild,v 1.1 2003/07/21 19:05:05 mholzer Exp $
+
+inherit eutils
+
+DESCRIPTION="Great Video editing/encoding tool"
+HOMEPAGE="http://fixounet.free.fr/avidemux/"
+SRC_URI="http://fixounet.free.fr/avidemux/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+IUSE="debug nls oggvorbis arts truetype alsa"
+
+DEPEND="virtual/x11
+ =x11-libs/gtk+-1.2*
+ >=media-sound/mad-0.14.2b*
+ >=media-libs/a52dec-0.7.4
+ >=media-sound/lame-3.93*
+ >=media-video/mjpegtools-1.6*
+ >=dev-libs/libxml2-2.5.6
+ >=media-libs/xvid-0.9*
+ =media-libs/divx4linux-20020418*
+ nls? ( >=sys-devel/gettext-0.11.2 )
+ oggvorbis? ( >=media-libs/libogg-1.0
+ >=media-libs/libvorbis-1.0 )
+ arts? ( >=kde-base/arts-1.1.1 )
+ truetype? ( >=media-libs/freetype-2.1.2 )
+ alsa? ( >=media-libs/alsa-lib-0.9.1 )"
+
+
+S=${WORKDIR}/${P}
+
+src_compile() {
+
+ cd ${S}
+
+ #Fixing libxml2 issue
+ if has_version '>=dev-libs/libxml2-2.5.7'
+ then
+ einfo "libxml2 >= 2.5.7 found"
+ epatch ${FILESDIR}/avidemux-0.9-libxml2.5.7.patch
+ else
+ einfo "Old libxml2 found"
+ fi
+
+ # Fixes a possible automake error due to clock skew
+ touch -r *
+ export WANT_AUTOCONF_2_5=1
+ autoconf
+
+ local myconf
+ myconf="--with-gnu-ld --disable-warnings"
+
+ # --enable-profile creates profiling infos default=no
+ # --enable-pch enables precompiled header support
+ # (currently only KCC) default=no
+ # --enable-final build size optimized apps
+ # (experimental - needs lots of memory)
+ # --disable-closure don't delay template instantiation
+
+ use debug && myconf="${myconf} --enable-debug=full"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ econf ${myconf} || die "configure failed"
+
+ make || die "make failed"
+}
+
+
+src_install() {
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS COPYING ChangeLog History INSTALL README TODO
+}