diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-02-14 19:09:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-02-14 19:09:03 +0000 |
commit | ad7fac8a94677ff1392d8377dda8260b5f3b0321 (patch) | |
tree | de0287988b2f467051f86dded98e22cd65daf620 /media-video/gpac | |
parent | Use java eclasses. (diff) | |
download | gentoo-2-ad7fac8a94677ff1392d8377dda8260b5f3b0321.tar.gz gentoo-2-ad7fac8a94677ff1392d8377dda8260b5f3b0321.tar.bz2 gentoo-2-ad7fac8a94677ff1392d8377dda8260b5f3b0321.zip |
cleanup old versions
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-video/gpac')
-rw-r--r-- | media-video/gpac/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.4.0 | 9 | ||||
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.4.1_pre20060122 | 3 | ||||
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.4.1_pre20060122-r1 | 3 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.0-downloader.patch | 19 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.1_pre20060122-DESTDIR.patch | 96 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.1_pre20060122-configure-ogg.patch | 29 | ||||
-rw-r--r-- | media-video/gpac/gpac-0.4.0.ebuild | 103 | ||||
-rw-r--r-- | media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild | 126 | ||||
-rw-r--r-- | media-video/gpac/gpac-0.4.1_pre20060122.ebuild | 150 |
10 files changed, 8 insertions, 539 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog index 481e05c1e773..daafe2f485e3 100644 --- a/media-video/gpac/ChangeLog +++ b/media-video/gpac/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/gpac # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.37 2007/02/07 21:06:10 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.38 2007/02/14 19:09:03 aballier Exp $ + + 14 Feb 2007; Alexis Ballier <aballier@gentoo.org> + -files/gpac-0.4.0-downloader.patch, + -files/gpac-0.4.1_pre20060122-DESTDIR.patch, + -files/gpac-0.4.1_pre20060122-configure-ogg.patch, -gpac-0.4.0.ebuild, + -gpac-0.4.1_pre20060122.ebuild, -gpac-0.4.1_pre20060122-r1.ebuild: + Cleanup old versions 07 Feb 2007; Matti Bickel <mabi@gentoo.org> gpac-0.4.2-r1.ebuild: ppc stable (bug #157894) diff --git a/media-video/gpac/files/digest-gpac-0.4.0 b/media-video/gpac/files/digest-gpac-0.4.0 deleted file mode 100644 index 4e5cfac93c04..000000000000 --- a/media-video/gpac/files/digest-gpac-0.4.0 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 cfd9012bff83afdf5ad069b86d3063b6 26104-610.zip 292640 -RMD160 84b2642709ca072c30658a71a6d8bec50fceb2fe 26104-610.zip 292640 -SHA256 8dc9453f9b93202247b4800a1d946ae6eaa3b9d0c48237ae8848144feb88399e 26104-610.zip 292640 -MD5 e78e35eabe09eea50198f1a27b81eb60 26204-600.zip 255764 -RMD160 d85a1879e60deeaa9b371646a1d43dd07ae07777 26204-600.zip 255764 -SHA256 01513a7ae5d26ff16a37fba5deec2994a1992829180b4a15d9c646c51eb8fcdb 26204-600.zip 255764 -MD5 a8b4b3206cabda946850240f1e7aea93 gpac-0.4.0.tar.gz 2836606 -RMD160 9b8159d26028a2f620bd1b30817b187079b54ddf gpac-0.4.0.tar.gz 2836606 -SHA256 540f236252c4b58bcc3b286cf4168341416deeb58ad1cad2e30f7ecd70c8ae50 gpac-0.4.0.tar.gz 2836606 diff --git a/media-video/gpac/files/digest-gpac-0.4.1_pre20060122 b/media-video/gpac/files/digest-gpac-0.4.1_pre20060122 deleted file mode 100644 index fc220572b526..000000000000 --- a/media-video/gpac/files/digest-gpac-0.4.1_pre20060122 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 db0f93078d76b4b2d9c7c80dc050a218 gpac-0.4.1_pre20060122.tar.bz2 2455736 -RMD160 9bf7f5e26255edf843b5ad02e86ecd8e1740a4b4 gpac-0.4.1_pre20060122.tar.bz2 2455736 -SHA256 ff543380a2408b28df00d91611a0004ca88540af01f23a4bdc4f87eba64b531a gpac-0.4.1_pre20060122.tar.bz2 2455736 diff --git a/media-video/gpac/files/digest-gpac-0.4.1_pre20060122-r1 b/media-video/gpac/files/digest-gpac-0.4.1_pre20060122-r1 deleted file mode 100644 index fc220572b526..000000000000 --- a/media-video/gpac/files/digest-gpac-0.4.1_pre20060122-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 db0f93078d76b4b2d9c7c80dc050a218 gpac-0.4.1_pre20060122.tar.bz2 2455736 -RMD160 9bf7f5e26255edf843b5ad02e86ecd8e1740a4b4 gpac-0.4.1_pre20060122.tar.bz2 2455736 -SHA256 ff543380a2408b28df00d91611a0004ca88540af01f23a4bdc4f87eba64b531a gpac-0.4.1_pre20060122.tar.bz2 2455736 diff --git a/media-video/gpac/files/gpac-0.4.0-downloader.patch b/media-video/gpac/files/gpac-0.4.0-downloader.patch deleted file mode 100644 index 8acf3596c31a..000000000000 --- a/media-video/gpac/files/gpac-0.4.0-downloader.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- src/utils/downloader.c.old 2005-07-28 19:57:30.000000000 +0200 -+++ src/utils/downloader.c 2005-11-21 17:09:08.000000000 +0100 -@@ -118,6 +118,8 @@ - - }; - -+static void gf_dm_connect(GF_DownloadSession *sess); -+ - #ifdef GPAC_HAS_SSL - - static void init_prng (void) -@@ -400,7 +402,6 @@ - #define GF_WAIT_REPLY_SLEEP 20 - static u32 gf_dm_session_thread(void *par) - { -- static void gf_dm_connect(GF_DownloadSession *sess); - GF_DownloadSession *sess = par; - - sess->flags &= ~GF_DOWNLOAD_SESSION_THREAD_DEAD; diff --git a/media-video/gpac/files/gpac-0.4.1_pre20060122-DESTDIR.patch b/media-video/gpac/files/gpac-0.4.1_pre20060122-DESTDIR.patch deleted file mode 100644 index 6259ac22c9f7..000000000000 --- a/media-video/gpac/files/gpac-0.4.1_pre20060122-DESTDIR.patch +++ /dev/null @@ -1,96 +0,0 @@ -diff -ur gpac.orig/Makefile gpac/Makefile ---- gpac.orig/Makefile 2006-07-13 16:17:01.000000000 -0400 -+++ gpac/Makefile 2006-07-13 16:17:07.000000000 -0400 -@@ -53,14 +53,14 @@ - ( tar zcvf ~/$(FILE).tar.gz ../gpac --exclude CVS --exclude bin --exclude lib --exclude Obj --exclude temp --exclude amr_nb --exclude amr_nb_ft --exclude amr_wb_ft --exclude *.mak --exclude *.o --exclude *.~*) - - install: -- install -d "$(prefix)/bin" -- install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(prefix)/bin" -- install $(INSTFLAGS) -m 755 bin/gcc/MP42Avi "$(prefix)/bin" -+ install -d "$(DESTDIR)$(prefix)/bin" -+ install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(DESTDIR)$(prefix)/bin" -+ install $(INSTFLAGS) -m 755 bin/gcc/MP42Avi "$(DESTDIR)$(prefix)/bin" - $(MAKE) -C applications install -- install -d "$(moddir)" -- install bin/gcc/*.$(DYN_LIB_SUFFIX) "$(moddir)" -- rm -f $(moddir)/libgpac.$(DYN_LIB_SUFFIX) -- rm -f $(moddir)/nposmozilla.$(DYN_LIB_SUFFIX) -+ install -d "$(DESTDIR)$(moddir)" -+ install bin/gcc/*.$(DYN_LIB_SUFFIX) "$(DESTDIR)$(moddir)" -+ rm -f $(DESTDIR)$(moddir)/libgpac.$(DYN_LIB_SUFFIX) -+ rm -f $(DESTDIR)$(moddir)/nposmozilla.$(DYN_LIB_SUFFIX) - ifeq ($(CONFIG_WIN32),yes) - install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/lib - else -@@ -71,16 +71,15 @@ - install -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) - ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) - else -- install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX) -- ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) $(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX) -- ldconfig || true -+ install $(INSTFLAGS) -m 755 bin/gcc/libgpac.$(DYN_LIB_SUFFIX) "$(DESTDIR)$(prefix)/lib/libgpac-$(VERSION).$(DYN_LIB_SUFFIX)" -+ ln -sf libgpac-$(VERSION).$(DYN_LIB_SUFFIX) "$(DESTDIR)$(prefix)/lib/libgpac.$(DYN_LIB_SUFFIX)" - endif - endif -- install -d "$(mandir)/man1" -- install -m 644 doc/man/mp4box.1 $(mandir)/man1/ -- install -m 644 doc/man/mp42avi.1 $(mandir)/man1/ -- install -m 644 doc/man/mp4client.1 $(mandir)/man1/ -- install -m 644 doc/man/gpac.1 $(mandir)/man1/ -+ install -d "$(DESTDIR)$(mandir)/man1" -+ install -m 644 doc/man/mp4box.1 $(DESTDIR)$(mandir)/man1/ -+ install -m 644 doc/man/mp42avi.1 $(DESTDIR)$(mandir)/man1/ -+ install -m 644 doc/man/mp4client.1 $(DESTDIR)$(mandir)/man1/ -+ install -m 644 doc/man/gpac.1 $(DESTDIR)$(mandir)/man1/ - - uninstall: - $(MAKE) -C applications uninstall -@@ -95,14 +94,14 @@ - rm -rf $(mandir)/man1/gpac.1 - - install-lib: -- mkdir -p "$(prefix)/include/gpac" -- install -m 644 $(SRC_PATH)/include/gpac/*.h "$(prefix)/include/gpac" -- mkdir -p "$(prefix)/include/gpac/internal" -- install -m 644 $(SRC_PATH)/include/gpac/internal/*.h "$(prefix)/include/gpac/internal" -- mkdir -p "$(prefix)/include/gpac/modules" -- install -m 644 $(SRC_PATH)/include/gpac/modules/*.h "$(prefix)/include/gpac/modules" -- mkdir -p "$(prefix)/lib" -- install -m 644 "./bin/gcc/libgpac_static.a" "$(prefix)/lib" -+ mkdir -p "$(DESTDIR)$(prefix)/include/gpac" -+ install -m 644 $(SRC_PATH)/include/gpac/*.h "$(DESTDIR)$(prefix)/include/gpac" -+ mkdir -p "$(DESTDIR)$(prefix)/include/gpac/internal" -+ install -m 644 $(SRC_PATH)/include/gpac/internal/*.h "$(DESTDIR)$(prefix)/include/gpac/internal" -+ mkdir -p "$(DESTDIR)$(prefix)/include/gpac/modules" -+ install -m 644 $(SRC_PATH)/include/gpac/modules/*.h "$(DESTDIR)$(prefix)/include/gpac/modules" -+ mkdir -p "$(DESTDIR)$(prefix)/lib" -+ install -m 644 "./bin/gcc/libgpac_static.a" "$(DESTDIR)$(prefix)/lib" - - uninstall-lib: - rm -rf "$(prefix)/include/gpac/internal" -diff -ur gpac.orig/applications/mp4client/Makefile gpac/applications/mp4client/Makefile ---- gpac.orig/applications/mp4client/Makefile 2006-07-13 16:17:01.000000000 -0400 -+++ gpac/applications/mp4client/Makefile 2006-07-13 16:17:07.000000000 -0400 -@@ -41,7 +41,7 @@ - - install: clean - make -override BUILD_INSTALL=yes all -- install -c -s -m 755 ../../bin/gcc/MP4Client "$(prefix)/bin" -+ install -c -s -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin" - - uninstall: - rm -rf $(prefix)/bin/MP4Client -diff -ur gpac.orig/applications/osmo4_wx/Makefile gpac/applications/osmo4_wx/Makefile ---- gpac.orig/applications/osmo4_wx/Makefile 2006-07-13 16:17:01.000000000 -0400 -+++ gpac/applications/osmo4_wx/Makefile 2006-07-13 16:17:07.000000000 -0400 -@@ -56,7 +56,7 @@ - else - rm -f wxOsmo4.o - make -override BUILD_INSTALL=yes all -- install -c -s -m 755 ../../bin/gcc/Osmo4 "$(prefix)/bin" -+ install -c -s -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" - endif - - uninstall: diff --git a/media-video/gpac/files/gpac-0.4.1_pre20060122-configure-ogg.patch b/media-video/gpac/files/gpac-0.4.1_pre20060122-configure-ogg.patch deleted file mode 100644 index a1ec2e8eadc3..000000000000 --- a/media-video/gpac/files/gpac-0.4.1_pre20060122-configure-ogg.patch +++ /dev/null @@ -1,29 +0,0 @@ -*** configure.old Wed Oct 12 18:10:27 2005 ---- configure Wed Oct 12 18:19:58 2005 -*************** -*** 135,140 **** ---- 135,143 ---- - echo " --use-mad=OPT force MAD OPT=[no,local]" - echo " --use-xvid=OPT force XVID OPT=[no,local]" - echo " --use-ffmpeg=OPT force FFMPEG OPT=[no,local]" -+ echo " --use-ogg=OPT force OGG OPT=[no,system,local]" -+ echo " --use-vorbis=OPT force vorbis OPT=[no,system,local]" -+ echo " --use-theora=OPT force theora OPT=[no,system,local]" - echo "" - echo "NOTE: The object files are build at the place where configure is launched" - exit 1 -*************** -*** 689,694 **** ---- 692,703 ---- - ;; - --use-ffmpeg=*) has_ffmpeg==${opt#--use-ffmpeg=} - ;; -+ --use-ogg=*) has_ogg=${opt#--use-ogg=} -+ ;; -+ --use-vorbis=*) has_vorbis=${opt#--use-vorbis=} -+ ;; -+ --use-theora=*) has_theora=${opt#--use-theora=} -+ ;; - --use-png=*) has_png==${opt#--use-png=} - ;; - esac diff --git a/media-video/gpac/gpac-0.4.0.ebuild b/media-video/gpac/gpac-0.4.0.ebuild deleted file mode 100644 index 1f3f64a2498a..000000000000 --- a/media-video/gpac/gpac-0.4.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.0.ebuild,v 1.5 2006/07/05 07:54:24 mr_bones_ Exp $ - -inherit wxwidgets flag-o-matic eutils - -DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C." -HOMEPAGE="http://gpac.sourceforge.net/" -NBV="610" -WBV="600" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz - amr? ( http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-${NBV}.zip - http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-${WBV}.zip )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="amr debug jpeg mad ffmpeg javascript aac ogg vorbis oss png sdl theora -truetype wxwindows xml xvid mozilla" -S=${WORKDIR}/${PN} - -RDEPEND="jpeg? ( media-libs/jpeg ) - mad? ( media-libs/libmad ) - mozilla? ( dev-lang/spidermonkey ) - aac? ( media-libs/faad2 ) - ffmpeg? ( >=media-video/ffmpeg-0.4.9_pre1 ) - vorbis? ( media-libs/libvorbis ) - theora? ( media-libs/libtheora ) - png? ( media-libs/libpng ) - truetype? ( >=media-libs/freetype-2.1 ) - sdl? ( media-libs/libsdl ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.0.1 ) - wxwindows? ( >=x11-libs/wxGTK-2.5.2 )" - -DEPEND="${RDEPEND} - amr? ( app-arch/unzip ) - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-downloader.patch - - # disable wxwindows entirely as we can't - # use it because of package masking - if use wxwindows; then - WX_GTK_VER="2.6" - need-wxwidgets gtk2 - sed -i "s:wx-config:${WX_CONFIG}:g" configure - fi - - use !sdl && sed -i -e 's:^has_sdl=yes:has_sdl=no:' configure - - # make configure to pick theora, if presented - use theora && sed -i -e 's:-ltheora 2:`pkg-config --libs theora` 2:' configure - - if use amr; then - cd Plugins/amr_float_dec - unzip -jaq ${WORKDIR}/26104-${NBV}_ANSI_C_source_code.zip -d AMR_NB_FT - unzip -jaq ${WORKDIR}/26204-${WBV}_ANSI-C_source_code.zip -d AMR_WB_FT - fi -} - -src_compile() { - # avoid miscompilation - append-flags -fno-strict-aliasing - - /bin/sh ./configure \ - --prefix=${D}/usr \ - --host=${CHOST} \ - --mandir=${D}/usr/share/man \ - --infodir=${D}/usr/share/info \ - --datadir=${D}/usr/share \ - --sysconfdir=${D}/etc \ - --localstatedir=${D}/var/lib \ - $(use_enable amr) \ - $(use_enable debug) \ - $(use_enable aac faad) \ - $(use_enable ffmpeg ) \ - $(use_enable jpeg) \ - $(use_enable mad) \ - $(use_enable javascript js) \ - $(use_enable oss oss-audio) \ - $(use_enable png) \ - $(use_enable truetype ft) \ - $(use_enable xml svg) \ - $(use_enable xvid) || - die "configure failed" - - make OPTFLAGS="${CFLAGS}" || die "emake failed." -} - -src_install() { - make DISTDIR="${D}" install || die - - dodoc AUTHORS BUGS Changelog INSTALL README TODO - dodoc doc/*.html doc/*.txt doc/libisomedia_license doc/SGGen - dolib.a bin/gcc/libm4systems_static.a - insinto /usr/include/gpac - doins include/gpac/*.h -} diff --git a/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild b/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild deleted file mode 100644 index cbb2120fc9c1..000000000000 --- a/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.1_pre20060122-r1.ebuild,v 1.4 2006/09/22 00:13:36 beandog Exp $ - -inherit eutils wxwidgets flag-o-matic multilib - -DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C." -HOMEPAGE="http://gpac.sourceforge.net/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -IUSE="aac amr debug ffmpeg jpeg javascript mad ogg opengl oss png sdl ssl theora truetype vorbis wxwindows xml xvid" - -S="${WORKDIR}/${PN}" - -RDEPEND="aac? ( media-libs/faad2 ) - ffmpeg? ( media-video/ffmpeg ) - jpeg? ( media-libs/jpeg ) - javascript? ( dev-lang/spidermonkey ) - mad? ( media-libs/libmad ) - opengl? ( virtual/opengl ) - ogg? ( media-libs/libogg ) - png? ( media-libs/libpng ) - vorbis? ( media-libs/libvorbis ) - theora? ( media-libs/libtheora ) - truetype? ( >=media-libs/freetype-2.1 ) - wxwindows? ( >=x11-libs/wxGTK-2.6.0 ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.0.1 ) - sdl? ( media-libs/libsdl ) - || ( ( - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXext - ) virtual/x11 )" - -DEPEND="${RDEPEND}" - -my_use() { - local flag="$1" pflag="${2:-$1}" - if use ${flag}; then - echo "--use-${pflag}=system" - else - echo "--use-${pflag}=no" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch "${FILESDIR}/${P}-configure-ogg.patch" - epatch "${FILESDIR}/${P}-DESTDIR.patch" - chmod +x configure -} - -src_compile() { - # make sure configure looks for wx-2.6 - if use wxwindows; then - sed -i -e 's/wx-config/wx-config-2.6/' configure - else - sed -i 's:^has_wx="yes:has_wx="no:' configure - fi - - use !sdl && sed -i 's:^has_sdl=yes:has_sdl=no:' configure - - # fix hardcoded paths in source - sed -i -e \ - "s:\([^f]\)\ M4_PLUGIN_PATH:\1 \"/usr/$(get_libdir)\":" \ - applications/mp4client/main.c \ - applications/osmo4_wx/wxOsmo4.cpp \ - || die "path fixation failed" - - # make sure mozilla won't be used - sed -i -e 's/osmozilla//g' applications/Makefile - - # use this to cute down on the warnings noise - append-flags -fno-strict-aliasing - - # amd64 compile - [ "${ARCH}" = "amd64" ] && append-flags -fPIC - - # multilib libdir fix - sed -i 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile - sed -i 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure - - if use ogg; then - myconf="${myconf} --use-ogg=system" - if use vorbis; then - myconf="${myconf} --use-vorbis=system" - fi - if use theora; then - myconf="${myconf} --use-theora=system" - fi - else - myconf="${myconf} --use-ogg=no" - fi - - econf \ - --enable-svg \ - $(use_enable amr) \ - $(use_enable debug) \ - $(use_enable opengl) \ - $(use_enable oss oss-audio) \ - $(use_enable ssl) \ - $(my_use ffmpeg) \ - $(my_use aac faad) \ - $(my_use jpeg) \ - $(my_use mad) \ - $(my_use javascript js) \ - $(my_use png) \ - $(my_use truetype ft) \ - $(my_use xvid) \ - ${myconf} || die "configure died" - - make OPTFLAGS="${CFLAGS}" || die "emake failed." -} - -src_install() { - make OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install || die - make OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install-lib || die - dodoc AUTHORS BUGS Changelog README TODO - dodoc doc/*.html doc/*.txt doc/libisomedia_license doc/SGGen -} diff --git a/media-video/gpac/gpac-0.4.1_pre20060122.ebuild b/media-video/gpac/gpac-0.4.1_pre20060122.ebuild deleted file mode 100644 index cdfc155571d6..000000000000 --- a/media-video/gpac/gpac-0.4.1_pre20060122.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.1_pre20060122.ebuild,v 1.12 2006/08/08 04:31:29 beandog Exp $ - -inherit eutils wxwidgets flag-o-matic multilib - -DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C." -HOMEPAGE="http://gpac.sourceforge.net/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="aac amr debug ffmpeg jpeg mad mozilla ogg opengl oss png sdl ssl theora truetype vorbis wxwindows xml xvid" - -S="${WORKDIR}/${PN}" - -RDEPEND="aac? ( media-libs/faad2 ) - ffmpeg? ( media-video/ffmpeg ) - jpeg? ( media-libs/jpeg ) - mad? ( media-libs/libmad ) - mozilla? ( dev-lang/spidermonkey ) - opengl? ( virtual/opengl ) - ogg? ( media-libs/libogg ) - png? ( media-libs/libpng ) - vorbis? ( media-libs/libvorbis ) - theora? ( media-libs/libtheora ) - truetype? ( >=media-libs/freetype-2.1 ) - wxwindows? ( >=x11-libs/wxGTK-2.6.0 ) - xml? ( >=dev-libs/libxml2-2.6.0 ) - xvid? ( >=media-libs/xvid-1.0.1 ) - sdl? ( media-libs/libsdl ) - || ( ( - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXext - ) virtual/x11 )" - -DEPEND="${RDEPEND}" - -pkg_setup() { - if use ffmpeg; then - myconf="${myconf} --use-ffmpeg=system" - else - myconf="${myconf} --use-ffmpeg=no" - fi - if use aac; then - myconf="${myconf} --use-faad=system" - else - myconf="${myconf} --use-faad=no" - fi - if use jpeg; then - myconf="${myconf} --use-jpeg=system" - else - myconf="${myconf} --use-jpeg=no" - fi - if use mad; then - myconf="${myconf} --use-mad=system" - else - myconf="${myconf} --use-mad=no" - fi - if use mozilla; then - myconf="${myconf} --use-js=system" - else - myconf="${myconf} --use-js=no" - fi - if use png; then - myconf="${myconf} --use-png=system" - else - myconf="${myconf} --use-png=no" - fi - if use truetype; then - myconf="${myconf} --use-ft=system" - else - myconf="${myconf} --use-ft=no" - fi - if use xvid; then - myconf="${myconf} --use-xvid=system" - else - myconf="${myconf} --use-xvid=no" - fi - if use ogg; then - myconf="${myconf} --use-ogg=system" - if use vorbis; then - myconf="${myconf} --use-vorbis=system" - fi - if use theora; then - myconf="${myconf} --use-theora=system" - fi - else - myconf="${myconf} --use-ogg=no" - fi - -} - -src_compile() { - cd ${S} - chmod +x configure - epatch ${FILESDIR}/gpac-${PV}-configure-ogg.patch || die "configure patch failed" - # make sure configure looks for wx-2.6 - if use wxwindows; then - sed -i -e 's/wx-config/wx-config-2.6/' configure - else - sed -i 's:^has_wx="yes:has_wx="no:' configure - fi - - use !sdl && sed -i 's:^has_sdl=yes:has_sdl=no:' configure - - # fix hardcoded paths in source - sed -i -e \ - "s:\([^f]\)\ M4_PLUGIN_PATH:\1 \"/usr/$(get_libdir)\":" \ - applications/mp4client/main.c \ - applications/osmo4_wx/wxOsmo4.cpp \ - || die "path fixation failed" - - # make sure mozilla won't be used - if ! use mozilla; then - sed -i -e 's/osmozilla//g' applications/Makefile - fi - # use this to cute down on the warnings noise - append-flags -fno-strict-aliasing - # amd64 compile - [ "${ARCH}" = "amd64" ] && append-flags -fPIC - - ./configure \ - --prefix=${D}/usr \ - --host=${CHOST} \ - --mandir=${D}/usr/share/man \ - --infodir=${D}/usr/share/info \ - --datadir=${D}/usr/share \ - --sysconfdir=${D}/etc \ - --localstatedir=${D}/var/lib \ - --enable-svg \ - $(use_enable amr) \ - $(use_enable debug) \ - $(use_enable opengl) \ - $(use_enable oss oss-audio) \ - $(use_enable ssl) \ - ${myconf} \ - die "configure died" - - make OPTFLAGS="${CFLAGS}" || die "emake failed." -} - -src_install() { - make OPTFLAGS="${CFLAGS}" install || die - make OPTLFAGS="${CFLAGS}" install-lib || die - dodoc AUTHORS BUGS Changelog README TODO - dodoc doc/*.html doc/*.txt doc/libisomedia_license doc/SGGen -} |