summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-12 18:44:38 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-12 18:44:38 +0000
commit4bc0c2690a612e831c1e9ff5a33994134447acae (patch)
tree22794e087c4770e610c8ac4be64a9bc64b2670d4 /media-libs/libquicktime/libquicktime-0.9.4.ebuild
parentPatch to build with gcc-3.4 #65453. Start using econf, emake, einstall (diff)
downloadgentoo-2-4bc0c2690a612e831c1e9ff5a33994134447acae.tar.gz
gentoo-2-4bc0c2690a612e831c1e9ff5a33994134447acae.tar.bz2
gentoo-2-4bc0c2690a612e831c1e9ff5a33994134447acae.zip
version bump, fixes #82059. added patch fixes #59107, old versions failed to obey CFLAGS
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-libs/libquicktime/libquicktime-0.9.4.ebuild')
-rw-r--r--media-libs/libquicktime/libquicktime-0.9.4.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/libquicktime/libquicktime-0.9.4.ebuild b/media-libs/libquicktime/libquicktime-0.9.4.ebuild
new file mode 100644
index 000000000000..37902a19fe23
--- /dev/null
+++ b/media-libs/libquicktime/libquicktime-0.9.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-0.9.4.ebuild,v 1.1 2005/03/12 18:44:38 luckyduck Exp $
+
+inherit libtool eutils
+
+DESCRIPTION="A library based on quicktime4linux with extensions"
+HOMEPAGE="http://libquicktime.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64 ~ppc64"
+
+IUSE="gtk jpeg mmx oggvorbis png dv ieee1394"
+
+DEPEND=">=sys-apps/sed-4.0.5
+ dv? ( media-libs/libdv )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )
+ oggvorbis? ( media-libs/libvorbis )
+ ieee1394? (
+ sys-libs/libavc1394
+ sys-libs/libraw1394
+ )
+ !virtual/quicktime"
+PROVIDE="virtual/quicktime"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-cflags.patch
+
+ sed -i "s:\(have_libavcodec=\)true:\1false:g" configure.ac
+}
+
+src_compile() {
+ ebegin "Regenerating configure script..."
+ autoconf
+ eend
+ elibtoolize
+
+ local myconf
+
+ econf \
+ `use_enable mmx` \
+ `use_enable gtk` \
+ `use_enable ieee1394 firewire` \
+ ${myconf} \
+ || die "./configure failed"
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+}