# 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX gpac-0.4.0-downloader.patch 508 RMD160 0c59dcc820dd4855c92458464fb20ded6b37eb22 SHA1 64ebd112159d4ad872421e6a9df1e85d3305397e SHA256 125115249fa40432e014a6fbf443c579b411cb20c010bd671a22d4f82b3126e7
-MD5 1c649e710e682d92d42ffa69d945c8f1 files/gpac-0.4.0-downloader.patch 508
-RMD160 0c59dcc820dd4855c92458464fb20ded6b37eb22 files/gpac-0.4.0-downloader.patch 508
-SHA256 125115249fa40432e014a6fbf443c579b411cb20c010bd671a22d4f82b3126e7 files/gpac-0.4.0-downloader.patch 508
-AUX gpac-0.4.1_pre20060122-DESTDIR.patch 4588 RMD160 ebb99f7f8a79140fde0e934cc980ecb59a4e31d3 SHA1 e84e75a8cb6f19205ce9fc9f635d0350736edb49 SHA256 6dcae7a2c52559a7d62071b0ae91edcdd6a5ba3048a053b5cfdfbd25794a6e3a
-MD5 6d62dc94d006a431cfe3d976565dbba2 files/gpac-0.4.1_pre20060122-DESTDIR.patch 4588
-RMD160 ebb99f7f8a79140fde0e934cc980ecb59a4e31d3 files/gpac-0.4.1_pre20060122-DESTDIR.patch 4588
-SHA256 6dcae7a2c52559a7d62071b0ae91edcdd6a5ba3048a053b5cfdfbd25794a6e3a files/gpac-0.4.1_pre20060122-DESTDIR.patch 4588
-AUX gpac-0.4.1_pre20060122-configure-ogg.patch 976 RMD160 6d89bac9687976a402530a44332f98524b6ccfce SHA1 f6aa32c887094c662752543c32f832dc1bcad4b2 SHA256 93b988c336d0f9e2d06ea93863108206afe528aec6361d80f527ba9521079cfe
-MD5 e8838b10433f7a102853052c71313252 files/gpac-0.4.1_pre20060122-configure-ogg.patch 976
-RMD160 6d89bac9687976a402530a44332f98524b6ccfce files/gpac-0.4.1_pre20060122-configure-ogg.patch 976
-SHA256 93b988c336d0f9e2d06ea93863108206afe528aec6361d80f527ba9521079cfe files/gpac-0.4.1_pre20060122-configure-ogg.patch 976
AUX gpac-0.4.2-DESTDIR.patch 4467 RMD160 f84464703edc26fb70136e8cdf4343aae586f6b8 SHA1 32c8a9c31f5f58bb4bdcd94982fb357ea8fbf5f4 SHA256 036d2f787583ee7ed5998c0cf78cb2117365e1a00cabb743f08e0e8863ce7d40
MD5 0527bbd9606bb7c2fefa5a973838283c files/gpac-0.4.2-DESTDIR.patch 4467
RMD160 f84464703edc26fb70136e8cdf4343aae586f6b8 files/gpac-0.4.2-DESTDIR.patch 4467
SHA256 516562d7bf3b99e90fcda306ea0e7dbcd2259ef519d2012c8c1f3ad7f6d67a5f files/gpac-0.4.2-static-defs.patch 349
DIST 26104-610.zip 292640 RMD160 84b2642709ca072c30658a71a6d8bec50fceb2fe SHA1 7ee6dcb29e2a28f905befd87857ce07a7062fa5b SHA256 8dc9453f9b93202247b4800a1d946ae6eaa3b9d0c48237ae8848144feb88399e
DIST 26204-600.zip 255764 RMD160 d85a1879e60deeaa9b371646a1d43dd07ae07777 SHA1 fe0746e0456abe9285a54f0c3fd8e20598ee0408 SHA256 01513a7ae5d26ff16a37fba5deec2994a1992829180b4a15d9c646c51eb8fcdb
-DIST gpac-0.4.0.tar.gz 2836606 RMD160 9b8159d26028a2f620bd1b30817b187079b54ddf SHA1 e62f32a879c725c5bb7ec7ec2489732b71b1efeb SHA256 540f236252c4b58bcc3b286cf4168341416deeb58ad1cad2e30f7ecd70c8ae50
-DIST gpac-0.4.1_pre20060122.tar.bz2 2455736 RMD160 9bf7f5e26255edf843b5ad02e86ecd8e1740a4b4 SHA1 e0b10233c5b5a782828289e017da35c72e8d436b SHA256 ff543380a2408b28df00d91611a0004ca88540af01f23a4bdc4f87eba64b531a
DIST gpac-0.4.2-patches.tar.bz2 3899 RMD160 42f9de741f27ca2a942728640582978a497e8721 SHA1 d29abbb5d1aa563e95e45647b5b265bdbbe21a9b SHA256 d0316a55dfc6077437645b8b11a6b0f77ff9d896efd31c8b6fae4d827e7e0e84
DIST gpac-0.4.2.tar.gz 3916608 RMD160 17d2691651b633497ae96ec71912cfafa864c90a SHA1 800db66f33849886888b24414fb580eaa034a134 SHA256 0e300b02824f12767e5fa0c70b138b6a17375c3d6000aea2568464a9bb1cd956
-EBUILD gpac-0.4.0.ebuild 2931 RMD160 a237b118413386818905ef21d116754ed657563c SHA1 750ce5075cfe720e6b9f961b1d09cc53f8bb7a5e SHA256 f7c97c86d5b57720ce7ee30a48a93da0381f8a730aaea0b442381a4a8dc72d48
-MD5 ad1180ed7a633d4d70ce898b9b03d94b gpac-0.4.0.ebuild 2931
-RMD160 a237b118413386818905ef21d116754ed657563c gpac-0.4.0.ebuild 2931
-SHA256 f7c97c86d5b57720ce7ee30a48a93da0381f8a730aaea0b442381a4a8dc72d48 gpac-0.4.0.ebuild 2931
-EBUILD gpac-0.4.1_pre20060122-r1.ebuild 3292 RMD160 7b704acb87ed8602ac01927a93e02e6dbfd89a9e SHA1 144f3df281a6bf7a614c82053a39ca5851c8e70a SHA256 fd6052f12edcd510f26f87129300c78afbff651f0be70400c45d4b26b4a7a5f8
-MD5 7e511f344385a10841e59c795f419641 gpac-0.4.1_pre20060122-r1.ebuild 3292
-RMD160 7b704acb87ed8602ac01927a93e02e6dbfd89a9e gpac-0.4.1_pre20060122-r1.ebuild 3292
-SHA256 fd6052f12edcd510f26f87129300c78afbff651f0be70400c45d4b26b4a7a5f8 gpac-0.4.1_pre20060122-r1.ebuild 3292
-EBUILD gpac-0.4.1_pre20060122.ebuild 3816 RMD160 e7691173882105478404d29fa5752589123c0153 SHA1 2adf620156d8f3a325fc99a358779e5086c74c5d SHA256 5d106a90a5a1b1aab606a4719a7a0c7f14c8728bc24fce78ef14f6e6330f946a
-MD5 bfdee026e0b9fd53544b5f148f8acfdd gpac-0.4.1_pre20060122.ebuild 3816
-RMD160 e7691173882105478404d29fa5752589123c0153 gpac-0.4.1_pre20060122.ebuild 3816
-SHA256 5d106a90a5a1b1aab606a4719a7a0c7f14c8728bc24fce78ef14f6e6330f946a gpac-0.4.1_pre20060122.ebuild 3816
EBUILD gpac-0.4.2-r1.ebuild 3948 RMD160 066e1ef5623d2e3c36697acb4e35d1c5a12db867 SHA1 21a257638c8fd9dd0c02d2549635f24febccf257 SHA256 9dcf37435945b28536a7a6b208f274527f430c5d13213f070aa1fa593b1b086f
MD5 c47fefa9ad1203e1eef7428c3e3d322a gpac-0.4.2-r1.ebuild 3948
RMD160 066e1ef5623d2e3c36697acb4e35d1c5a12db867 gpac-0.4.2-r1.ebuild 3948
MD5 7ae88a1cc4647a4e9aa5266afb9b1e05 gpac-0.4.2.ebuild 3906
RMD160 1537ad051caabd9b833890dfa29a1c82ade5e40c gpac-0.4.2.ebuild 3906
SHA256 bb962564ec34871c9028f55bbdad4ee420f91837eded3341050ad136eed7ed7e gpac-0.4.2.ebuild 3906
-MISC ChangeLog 5529 RMD160 0a00f3b25aa0c25202de1e15a3b9fc49dffa58e5 SHA1 4dc3d5f7c8869547369678bd247b0d9805b98186 SHA256 a887bfdbc7973118921a0e614f7203a3420c8ae9fd93c48b39a2224646d48ddb
-MD5 8905237e8ed15a46bb4f802579084328 ChangeLog 5529
-RMD160 0a00f3b25aa0c25202de1e15a3b9fc49dffa58e5 ChangeLog 5529
-SHA256 a887bfdbc7973118921a0e614f7203a3420c8ae9fd93c48b39a2224646d48ddb ChangeLog 5529
+MISC ChangeLog 5836 RMD160 7853d44fca837bb5fb513e025a961819a784067b SHA1 a664dd776e0f17eace9405e8a25a8072802e2ac9 SHA256 ff17908ec115fa7066d4a39ba9355122031d9bbc4474a3f62211d17089d9f2e7
+MD5 7ae7325836ff585acdc3c7a83201bb44 ChangeLog 5836
+RMD160 7853d44fca837bb5fb513e025a961819a784067b ChangeLog 5836
+SHA256 ff17908ec115fa7066d4a39ba9355122031d9bbc4474a3f62211d17089d9f2e7 ChangeLog 5836
MISC metadata.xml 347 RMD160 41aa55c1c1abb3244d641ac280b0ff134fd20720 SHA1 08f88c0a9437bad24a2c6655e8e370870145c833 SHA256 702b878c0a6c23d19442ee367c51725d5f7c0a61e0c7b2a57a2708f4622ba8fc
MD5 cb378e7131783653c967c6365ca31a16 metadata.xml 347
RMD160 41aa55c1c1abb3244d641ac280b0ff134fd20720 metadata.xml 347
SHA256 702b878c0a6c23d19442ee367c51725d5f7c0a61e0c7b2a57a2708f4622ba8fc metadata.xml 347
-MD5 3a884039103bac6d260f095582b981bc files/digest-gpac-0.4.0 675
-RMD160 215998c0d7b68af0db467c4968ae3abfbae96a4c files/digest-gpac-0.4.0 675
-SHA256 76aa1ce24f293c5cdd1af77707cff498e14202e964f12d0cb6623af67c32eade files/digest-gpac-0.4.0 675
-MD5 a6321fea8c2ef2433efe7c5d6ee26732 files/digest-gpac-0.4.1_pre20060122 274
-RMD160 3b6d935f0e8606854638144a70c63d0d2cafef4e files/digest-gpac-0.4.1_pre20060122 274
-SHA256 e372e8b2d3d7f27b263be4d38163966a7922e8c9143c1f72f7b906ea5ea9b437 files/digest-gpac-0.4.1_pre20060122 274
-MD5 a6321fea8c2ef2433efe7c5d6ee26732 files/digest-gpac-0.4.1_pre20060122-r1 274
-RMD160 3b6d935f0e8606854638144a70c63d0d2cafef4e files/digest-gpac-0.4.1_pre20060122-r1 274
-SHA256 e372e8b2d3d7f27b263be4d38163966a7922e8c9143c1f72f7b906ea5ea9b437 files/digest-gpac-0.4.1_pre20060122-r1 274
MD5 9bae7ac4aa56b98885916f13ed918c84 files/digest-gpac-0.4.2 675
RMD160 7b216e4177b74f287bc1eb06bf7503293cf8c56b files/digest-gpac-0.4.2 675
SHA256 0ada340d415657a975207e0bfca075dc0abc7c38d2ab04d01adcfd843a3d21ce files/digest-gpac-0.4.2 675
RMD160 1c9ad78dc0dba2b8cdbd9a05cfdf515a721d85ad files/digest-gpac-0.4.2-r1 928
SHA256 397999a1e7316e095eabeb09481b0c7ef90c0917bdba649ad4e3040a093b76ce files/digest-gpac-0.4.2-r1 928
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
-iD8DBQFFyj8qfNMcoUhJ7GwRAsFDAJ0VuBPxMmFP8XWVnC31zAqVLXWbTwCfaVp9
-uhEeKRQ9+GaPoKDDtzBxD8k=
-=BTMa
+iD8DBQFF015WvFcC4BYPU0oRAuHfAJ9w7rVJjKFi8/nHltp/O7xO/Hw5FgCgh2pB
+aYI5oSVlti3TDo6UzXpoK/Q=
+=Pprz
-----END PGP SIGNATURE-----
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
-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
+++ /dev/null
---- 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;
+++ /dev/null
-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:
+++ /dev/null
-*** 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
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}
+++ /dev/null
-# 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
-}