diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 08:43:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-02 08:43:15 +0000 |
commit | 0b294e251355dfdf3a69a163b41e462251dc6df6 (patch) | |
tree | 5cfbbc5329b3c0716d7fc12603d5d56688e5e183 /media-libs/quicktime4linux | |
parent | add fam support - bug #29879 (diff) | |
download | historical-0b294e251355dfdf3a69a163b41e462251dc6df6.tar.gz historical-0b294e251355dfdf3a69a163b41e462251dc6df6.tar.bz2 historical-0b294e251355dfdf3a69a163b41e462251dc6df6.zip |
use external libraries #25574
Diffstat (limited to 'media-libs/quicktime4linux')
4 files changed, 127 insertions, 1 deletions
diff --git a/media-libs/quicktime4linux/ChangeLog b/media-libs/quicktime4linux/ChangeLog index 507d3821dd92..4f4a64ce1b0a 100644 --- a/media-libs/quicktime4linux/ChangeLog +++ b/media-libs/quicktime4linux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/quicktime4linux # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/quicktime4linux/ChangeLog,v 1.16 2003/09/03 03:39:53 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/quicktime4linux/ChangeLog,v 1.17 2003/10/02 08:43:15 vapier Exp $ + +*quicktime4linux-2.0.0-r1 (02 Oct 2003) + + 02 Oct 2003; Mike Frysinger <vapier@gentoo.org> : + Use external libraries for the most part #25574. *quicktime4linux-2.0.0 (02 Sep 2003) diff --git a/media-libs/quicktime4linux/files/2.0.0-external-libs.patch b/media-libs/quicktime4linux/files/2.0.0-external-libs.patch new file mode 100644 index 000000000000..b77e3523e4dd --- /dev/null +++ b/media-libs/quicktime4linux/files/2.0.0-external-libs.patch @@ -0,0 +1,72 @@ +diff -ur work/quicktime4linux-2.0.0/Makefile work.new/quicktime4linux-2.0.0/Makefile +--- work/quicktime4linux-2.0.0/Makefile 2003-08-09 18:11:59.000000000 -0400 ++++ work.new/quicktime4linux-2.0.0/Makefile 2003-10-02 04:36:06.296870072 -0400 +@@ -9,11 +9,7 @@ + endif + + +-ifeq ($(origin CFLAGS), environment) + HAVE_CFLAGS := y +-else +-HAVE_CFLAGS := n +-endif + + #ENCORE_DIR := encore2/src + #DECORE_DIR := decore2/src +@@ -21,7 +17,8 @@ + DECORE_DIR := decore50 + ENCORE_INCLUDE := $(ENCORE_DIR)/encore.h + DECORE_INCLUDE := $(DECORE_DIR)/decore.h +-MPEG3_DIR := $(shell expr ../libmpeg3* ) ++MPEG3_DIR := /usr/include/libmpeg3 ++LAME_DIR := /usr/include/lame + OBJS := + + +@@ -54,11 +51,11 @@ + + + +-include Makefile.jpeg +-include Makefile.vorbis +-include Makefile.ffmpeg +-include Makefile.lame +-include Makefile.dv ++#include Makefile.jpeg ++#include Makefile.vorbis ++#include Makefile.ffmpeg ++#include Makefile.lame ++#include Makefile.dv + include Makefile.encore50 + + +@@ -67,12 +64,13 @@ + + + #CFLAGS += -g ++CFLAGS = $(MYCFLAGS) + CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 + CFLAGS += -DHAVE_FIREWIRE + CFLAGS += -I. \ +- -I$(JPEG_DIR) \ ++ -I/usr/include/ffmpeg \ + -I$(MPEG3_DIR) \ +- -I$(LAME_DIR)/include \ ++ -I$(LAME_DIR) \ + $(shell glib-config --cflags) + + +@@ -227,7 +225,9 @@ + $(OBJDIR)/$(ENCORE_DIR)/mbtransquant/intel_mmx + + +-LIBS := $(OUTPUT) $(MPEG3_DIR)/$(OBJDIR)/libmpeg3.a -lpng -lz -lpthread -lglib -ldl -lm ++LIBS := $(OUTPUT) \ ++ -logg -lmpeg3 -lmp3lame -ldv -ljpeg -lvorbis -lvorbisenc -lavcodec \ ++ -lpng -lz -lpthread -lglib -ldl -lm + + + $(shell if ! test -d $(OBJDIR) \; then mkdir -p $(DIRS) \; fi ) +Only in work.new/quicktime4linux-2.0.0: Makefile.orig +Only in work/quicktime4linux-2.0.0: i686 +Only in work/quicktime4linux-2.0.0: jpeg diff --git a/media-libs/quicktime4linux/files/digest-quicktime4linux-2.0.0-r1 b/media-libs/quicktime4linux/files/digest-quicktime4linux-2.0.0-r1 new file mode 100644 index 000000000000..27970acdf25b --- /dev/null +++ b/media-libs/quicktime4linux/files/digest-quicktime4linux-2.0.0-r1 @@ -0,0 +1 @@ +MD5 14f32cf887f50f8d1dc9dbbc72a1c206 quicktime4linux-2.0.0-src.tar.bz2 3832766 diff --git a/media-libs/quicktime4linux/quicktime4linux-2.0.0-r1.ebuild b/media-libs/quicktime4linux/quicktime4linux-2.0.0-r1.ebuild new file mode 100644 index 000000000000..467bbf5a0a62 --- /dev/null +++ b/media-libs/quicktime4linux/quicktime4linux-2.0.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/quicktime4linux/quicktime4linux-2.0.0-r1.ebuild,v 1.1 2003/10/02 08:43:15 vapier Exp $ + +inherit flag-o-matic + +DESCRIPTION="quicktime library for linux" +HOMEPAGE="http://heroinewarrior.com/quicktime.php3" +SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" + +DEPEND="media-libs/jpeg + media-libs/libpng + >=media-libs/libmpeg3-1.5.1 + >=media-libs/libdv-0.99 + >=media-video/ffmpeg-0.4.6 + >=media-sound/lame-3.93.1 + >=media-libs/libogg-1.0 + >=media-libs/libvorbis-1.0 + media-libs/divx4linux + !virtual/quicktime" +PROVIDE="virtual/quicktime" + +src_unpack() { + unpack ${A} + cd ${S} + rm -rf decore2 encore2 ffmpeg-0.4.6 jpeg jpeg-mmx-0.1.4 \ + lame-3.93.1 libdv-0.99 libogg-1.0 libvorbis-1.0 + ln -s /usr/include jpeg + epatch ${FILESDIR}/${PV}-external-libs.patch +} + +src_compile() { + make MYCFLAGS="${CFLAGS}" || die + make util MYCFLAGS="${CFLAGS}" || die +} + +src_install() { + dolib.so `uname -m`/libquicktime.so + dolib.a `uname -m`/libquicktime.a + insinto /usr/include/quicktime + doins *.h + dodoc README + dohtml -r docs +} |