diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-08-01 17:12:56 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-08-01 17:12:56 +0000 |
commit | 03ae4d85299c86c48f194b5470b10098806ba002 (patch) | |
tree | 1096bd559ea6a06bde5f2d1c3ef7e3c07efe83d9 /media-video/gpac | |
parent | Version bump, bug #142375. (diff) | |
download | historical-03ae4d85299c86c48f194b5470b10098806ba002.tar.gz historical-03ae4d85299c86c48f194b5470b10098806ba002.tar.bz2 historical-03ae4d85299c86c48f194b5470b10098806ba002.zip |
Version bump. Add patch to stop the makefile from stripping binaries (bug #137639). Add patch so library has a SONAME field.
Package-Manager: portage-2.1.1_pre2-r8
Diffstat (limited to 'media-video/gpac')
-rw-r--r-- | media-video/gpac/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/gpac/Manifest | 36 | ||||
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.4.2 | 5 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-DESTDIR.patch | 95 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-configure-ogg.patch | 25 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-nostrip.patch | 55 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-soname.patch | 11 | ||||
-rw-r--r-- | media-video/gpac/files/gpac-0.4.2-static-defs.patch | 11 | ||||
-rw-r--r-- | media-video/gpac/gpac-0.4.2.ebuild | 143 |
9 files changed, 387 insertions, 5 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog index ec20b7b2b880..f81f0a0daee7 100644 --- a/media-video/gpac/ChangeLog +++ b/media-video/gpac/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-video/gpac # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.22 2006/08/01 14:18:01 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.23 2006/08/01 17:12:56 chutzpah Exp $ + +*gpac-0.4.2 (01 Aug 2006) + + 01 Aug 2006; Patrick McLean <chutzpah@gentoo.org> + +files/gpac-0.4.2-DESTDIR.patch, +files/gpac-0.4.2-configure-ogg.patch, + +files/gpac-0.4.2-nostrip.patch, +files/gpac-0.4.2-soname.patch, + +files/gpac-0.4.2-static-defs.patch, +gpac-0.4.2.ebuild: + Version bump. Add patch to stop the makefile from stripping binaries (bug + #137639). Add patch so library has a SONAME field. 01 Aug 2006; Patrick McLean <chutzpah@gentoo.org> gpac-0.4.1_pre20060122-r1.ebuild: diff --git a/media-video/gpac/Manifest b/media-video/gpac/Manifest index 1b86f0717c08..4116e5506b22 100644 --- a/media-video/gpac/Manifest +++ b/media-video/gpac/Manifest @@ -10,11 +10,32 @@ AUX gpac-0.4.1_pre20060122-configure-ogg.patch 976 RMD160 6d89bac9687976a402530a 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 036d2f787583ee7ed5998c0cf78cb2117365e1a00cabb743f08e0e8863ce7d40 files/gpac-0.4.2-DESTDIR.patch 4467 +AUX gpac-0.4.2-configure-ogg.patch 917 RMD160 075b0adac5e3b309219bbe70dd54e2c91e149895 SHA1 6f50df996f06444f5cb90904747643e777505837 SHA256 03527ecaef5de7435bf840804447f9c323361e85db5be406c0690eb090eb3794 +MD5 79f273f198d200bc7f453e48c75f5055 files/gpac-0.4.2-configure-ogg.patch 917 +RMD160 075b0adac5e3b309219bbe70dd54e2c91e149895 files/gpac-0.4.2-configure-ogg.patch 917 +SHA256 03527ecaef5de7435bf840804447f9c323361e85db5be406c0690eb090eb3794 files/gpac-0.4.2-configure-ogg.patch 917 +AUX gpac-0.4.2-nostrip.patch 2080 RMD160 9c1a83363837a7bf3e09d4665c0c7cd4a05d9a27 SHA1 e0680ea05b97fda41a59b3c4f5c7c8a24e39c94b SHA256 004119af40c0e5c6948c1a743464c2e7b07451052784bdd3821ce2886f5feffb +MD5 cf5386f74e7db3339ac5f0e8c2fe8d00 files/gpac-0.4.2-nostrip.patch 2080 +RMD160 9c1a83363837a7bf3e09d4665c0c7cd4a05d9a27 files/gpac-0.4.2-nostrip.patch 2080 +SHA256 004119af40c0e5c6948c1a743464c2e7b07451052784bdd3821ce2886f5feffb files/gpac-0.4.2-nostrip.patch 2080 +AUX gpac-0.4.2-soname.patch 543 RMD160 1a71d676bb880aa28c71e20785cc29a04e8213a8 SHA1 16141d981c72a65b48565019052de604226e6b84 SHA256 df4d65200ecf04cce1ee137da63534ef2e5f785220279a6f471b339d1ca78fed +MD5 8e4eab9d51502dd8d77cf6d0996bd448 files/gpac-0.4.2-soname.patch 543 +RMD160 1a71d676bb880aa28c71e20785cc29a04e8213a8 files/gpac-0.4.2-soname.patch 543 +SHA256 df4d65200ecf04cce1ee137da63534ef2e5f785220279a6f471b339d1ca78fed files/gpac-0.4.2-soname.patch 543 +AUX gpac-0.4.2-static-defs.patch 349 RMD160 bd5056c8b80d0f7d8facba4f523e42ebb6f5a4e1 SHA1 f13dfb65c63078cae54229393cf1b774d9b56a58 SHA256 516562d7bf3b99e90fcda306ea0e7dbcd2259ef519d2012c8c1f3ad7f6d67a5f +MD5 01b1e5c2cb52e472225190ec440f922f files/gpac-0.4.2-static-defs.patch 349 +RMD160 bd5056c8b80d0f7d8facba4f523e42ebb6f5a4e1 files/gpac-0.4.2-static-defs.patch 349 +SHA256 516562d7bf3b99e90fcda306ea0e7dbcd2259ef519d2012c8c1f3ad7f6d67a5f files/gpac-0.4.2-static-defs.patch 349 DIST 26104-610.zip 292640 DIST 26204-600.zip 255764 DIST gpac-0.2.1.tar.gz 2227080 DIST gpac-0.4.0.tar.gz 2836606 DIST gpac-0.4.1_pre20060122.tar.bz2 2455736 RMD160 9bf7f5e26255edf843b5ad02e86ecd8e1740a4b4 SHA1 e0b10233c5b5a782828289e017da35c72e8d436b SHA256 ff543380a2408b28df00d91611a0004ca88540af01f23a4bdc4f87eba64b531a +DIST gpac-0.4.2.tar.gz 3916608 RMD160 17d2691651b633497ae96ec71912cfafa864c90a SHA1 800db66f33849886888b24414fb580eaa034a134 SHA256 0e300b02824f12767e5fa0c70b138b6a17375c3d6000aea2568464a9bb1cd956 DIST gpac_extra_libs-0.1.3_linux.tar.gz 7293588 EBUILD gpac-0.2.1.ebuild 2365 RMD160 b803d1191362b4567f4fe4aa9f638386dec30834 SHA1 8c7288dd47c0c76bdda7a8f957037d1dc56bae4f SHA256 d70184ffe58c0b1b5de54fafd61eca1e47783ab1ed2b2aaf067aa611346c2b12 MD5 c9b13c3d97f859170d1104a38e2fc951 gpac-0.2.1.ebuild 2365 @@ -32,10 +53,14 @@ EBUILD gpac-0.4.1_pre20060122.ebuild 3811 RMD160 bd0248f363244dbd662a9bcf4c2f0a5 MD5 d0c6bc1e7ba9cb8708c7f23c63fab42a gpac-0.4.1_pre20060122.ebuild 3811 RMD160 bd0248f363244dbd662a9bcf4c2f0a53d96b3ba6 gpac-0.4.1_pre20060122.ebuild 3811 SHA256 223c7f4caea69a5db5d625f6d17819032de6bfa455143caaf37fb820eb493445 gpac-0.4.1_pre20060122.ebuild 3811 -MISC ChangeLog 3255 RMD160 0ddd0068b3a7f6a588864a8e030be85ca8a54004 SHA1 1093942546f7510477e7a019f7e13463bb25e90f SHA256 11f0299ee283b58e2f32ec99e1e885880d876ed9a147e6f5147dcafa34e2a344 -MD5 a7456f551e8081d9c3350d83b2b3f54a ChangeLog 3255 -RMD160 0ddd0068b3a7f6a588864a8e030be85ca8a54004 ChangeLog 3255 -SHA256 11f0299ee283b58e2f32ec99e1e885880d876ed9a147e6f5147dcafa34e2a344 ChangeLog 3255 +EBUILD gpac-0.4.2.ebuild 3829 RMD160 04f38772ae23317c733efc379421806a4610b3e8 SHA1 24878c9c9733a30a9bfcbb0bbe87ee0ccbd5e68c SHA256 fe723b8b28e3185d3900f696190ff3dd12ae72a5fe1177d719ee71b66aa7fa3d +MD5 5b6933a19f8107d4f3d8a4e4680886c8 gpac-0.4.2.ebuild 3829 +RMD160 04f38772ae23317c733efc379421806a4610b3e8 gpac-0.4.2.ebuild 3829 +SHA256 fe723b8b28e3185d3900f696190ff3dd12ae72a5fe1177d719ee71b66aa7fa3d gpac-0.4.2.ebuild 3829 +MISC ChangeLog 3664 RMD160 e875a9def54dd0ad209f9bc57ad27623cec3a2d9 SHA1 133f004bf45e85a5e16cfbd43889f7ad22da41f2 SHA256 b6f82520232b95ea049c4475e78bba44a737dc33faf279fcc1ef9890cb2be9c9 +MD5 db47963e33d5d880b393211d74ab6490 ChangeLog 3664 +RMD160 e875a9def54dd0ad209f9bc57ad27623cec3a2d9 ChangeLog 3664 +SHA256 b6f82520232b95ea049c4475e78bba44a737dc33faf279fcc1ef9890cb2be9c9 ChangeLog 3664 MISC metadata.xml 347 RMD160 41aa55c1c1abb3244d641ac280b0ff134fd20720 SHA1 08f88c0a9437bad24a2c6655e8e370870145c833 SHA256 702b878c0a6c23d19442ee367c51725d5f7c0a61e0c7b2a57a2708f4622ba8fc MD5 cb378e7131783653c967c6365ca31a16 metadata.xml 347 RMD160 41aa55c1c1abb3244d641ac280b0ff134fd20720 metadata.xml 347 @@ -52,3 +77,6 @@ SHA256 e372e8b2d3d7f27b263be4d38163966a7922e8c9143c1f72f7b906ea5ea9b437 files/di 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 03f34f8d2fe5ea0b0c2049f9c3b5bd4a files/digest-gpac-0.4.2 351 +RMD160 dfe73a9d3d5afc211eecbaa445611671ef4ae3c0 files/digest-gpac-0.4.2 351 +SHA256 9ff044e864a115e93636c8c333208419090e4fcdcd4be774e440527d2cf43408 files/digest-gpac-0.4.2 351 diff --git a/media-video/gpac/files/digest-gpac-0.4.2 b/media-video/gpac/files/digest-gpac-0.4.2 new file mode 100644 index 000000000000..87d70c23fc03 --- /dev/null +++ b/media-video/gpac/files/digest-gpac-0.4.2 @@ -0,0 +1,5 @@ +MD5 cfd9012bff83afdf5ad069b86d3063b6 26104-610.zip 292640 +MD5 e78e35eabe09eea50198f1a27b81eb60 26204-600.zip 255764 +MD5 834910b42ef007410fcc49a5acd4656b gpac-0.4.2.tar.gz 3916608 +RMD160 17d2691651b633497ae96ec71912cfafa864c90a gpac-0.4.2.tar.gz 3916608 +SHA256 0e300b02824f12767e5fa0c70b138b6a17375c3d6000aea2568464a9bb1cd956 gpac-0.4.2.tar.gz 3916608 diff --git a/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch b/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch new file mode 100644 index 000000000000..8fdee1d05942 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch @@ -0,0 +1,95 @@ +diff -ur gpac.orig/Makefile gpac/Makefile +--- gpac.orig/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/Makefile 2006-08-01 11:39:19.000000000 -0400 +@@ -53,13 +53,13 @@ + ( 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 -d "$(DESTDIR)$(prefix)/bin" ++ install $(INSTFLAGS) -m 755 bin/gcc/MP4Box "$(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 +@@ -70,15 +70,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) ++ 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) + ldconfig || true + endif + endif +- install -d "$(mandir)/man1" +- install -m 644 doc/man/mp4box.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/mp4client.1 $(DESTDIR)$(mandir)/man1/ ++ install -m 644 doc/man/gpac.1 $(DESTDIR)$(mandir)/man1/ + + uninstall: + $(MAKE) -C applications uninstall +@@ -91,14 +91,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" +Only in gpac: Makefile.orig +diff -ur gpac.orig/applications/mp4client/Makefile gpac/applications/mp4client/Makefile +--- gpac.orig/applications/mp4client/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/applications/mp4client/Makefile 2006-08-01 11:36:16.000000000 -0400 +@@ -50,7 +50,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 +Only in gpac/applications/mp4client: Makefile.orig +diff -ur gpac.orig/applications/osmo4_wx/Makefile gpac/applications/osmo4_wx/Makefile +--- gpac.orig/applications/osmo4_wx/Makefile 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/applications/osmo4_wx/Makefile 2006-08-01 11:36:16.000000000 -0400 +@@ -65,7 +65,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: +Only in gpac/applications/osmo4_wx: Makefile.orig diff --git a/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch b/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch new file mode 100644 index 000000000000..df3e4de7c91b --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch @@ -0,0 +1,25 @@ +--- configure.orig 2006-07-12 13:25:26.000000000 -0400 ++++ configure 2006-08-01 11:32:47.000000000 -0400 +@@ -143,6 +143,9 @@ + 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 +@@ -786,6 +789,12 @@ + ;; + --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/files/gpac-0.4.2-nostrip.patch b/media-video/gpac/files/gpac-0.4.2-nostrip.patch new file mode 100644 index 000000000000..33ba61524891 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-nostrip.patch @@ -0,0 +1,55 @@ +diff -ur gpac.orig/Makefile gpac/Makefile +--- gpac.orig/Makefile 2006-08-01 12:45:53.000000000 -0400 ++++ gpac/Makefile 2006-08-01 12:50:27.000000000 -0400 +@@ -5,10 +5,7 @@ + + vpath %.c $(SRC_PATH) + +-INSTFLAGS=-s +-ifeq ($(DEBUGBUILD),yes) + INSTFLAGS= +-endif + + all: lib apps mods + +@@ -63,9 +60,6 @@ + ifeq ($(CONFIG_WIN32),yes) + install $(INSTFLAGS) -m 755 bin/gcc/libgpac.dll $(prefix)/lib + else +-ifeq ($(DEBUGBUILD),no) +- $(STRIP) bin/gcc/libgpac.$(DYN_LIB_SUFFIX) +-endif + ifeq ($(CONFIG_DARWIN),yes) + 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) +diff -ur gpac.orig/applications/mp4client/Makefile gpac/applications/mp4client/Makefile +--- gpac.orig/applications/mp4client/Makefile 2006-08-01 12:45:53.000000000 -0400 ++++ gpac/applications/mp4client/Makefile 2006-08-01 12:44:17.000000000 -0400 +@@ -50,7 +50,7 @@ + + install: clean + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin" ++ install -c -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-08-01 12:45:53.000000000 -0400 ++++ gpac/applications/osmo4_wx/Makefile 2006-08-01 12:44:17.000000000 -0400 +@@ -59,13 +59,13 @@ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/Resources/English.lproj/InfoPlist.strings + cp ./Darwin.Osmo.icns \ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/Resources/Osmo.icns +- install -c -s -m 755 ../../bin/gcc/Osmo4 \ ++ install -c -m 755 ../../bin/gcc/Osmo4 \ + $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/MacOS + echo -n 'APPLOsm4' > $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/PkgInfo + else + rm -f wxOsmo4.o + make -override BUILD_INSTALL=yes all +- install -c -s -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" ++ install -c -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin" + endif + + uninstall: diff --git a/media-video/gpac/files/gpac-0.4.2-soname.patch b/media-video/gpac/files/gpac-0.4.2-soname.patch new file mode 100644 index 000000000000..e5951b33358e --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-soname.patch @@ -0,0 +1,11 @@ +--- gpac.orig/src/Makefile 2006-07-11 11:53:44.000000000 -0400 ++++ gpac/src/Makefile 2006-08-01 12:58:38.000000000 -0400 +@@ -197,7 +197,7 @@ + $(LIB): $(LIBGPAC_UTILS) $(LIBGPAC_IETF) $(LIBGPAC_BIFS) $(LIBGPAC_ODF) $(LIBGPAC_LASER) isomedia scenegraph mcrypt mediatools sceneman term render + ar cr ../bin/gcc/libgpac_static.a $(OBJS) + ranlib ../bin/gcc/libgpac_static.a +- $(CC) $(SHFLAGS) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS) ++ $(CC) $(SHFLAGS) -Wl,-soname,$(LIB) $(LDFLAGS) -o ../bin/gcc/$@ $(OBJS) $(EXTRALIBS) + + dep: depend + diff --git a/media-video/gpac/files/gpac-0.4.2-static-defs.patch b/media-video/gpac/files/gpac-0.4.2-static-defs.patch new file mode 100644 index 000000000000..06e19fc19519 --- /dev/null +++ b/media-video/gpac/files/gpac-0.4.2-static-defs.patch @@ -0,0 +1,11 @@ +--- gpac.orig/modules/svg_loader/svg_parser.c 2006-08-01 11:35:35.000000000 -0400 ++++ gpac/modules/svg_loader/svg_parser.c 2006-08-01 11:52:13.000000000 -0400 +@@ -365,7 +365,7 @@ + return ID; + } + +-static u32 svg_get_node_id(SVGParser *parser, xmlChar *nodename) ++u32 svg_get_node_id(SVGParser *parser, xmlChar *nodename) + { + GF_Node *n; + u32 ID; diff --git a/media-video/gpac/gpac-0.4.2.ebuild b/media-video/gpac/gpac-0.4.2.ebuild new file mode 100644 index 000000000000..4f232c9ce732 --- /dev/null +++ b/media-video/gpac/gpac-0.4.2.ebuild @@ -0,0 +1,143 @@ +# 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.2.ebuild,v 1.1 2006/08/01 17:12:56 chutzpah Exp $ + +inherit 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/" +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="~amd64 ~ppc ~ppc64 ~x86" +IUSE="aac amr debug ffmpeg ft 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" + epatch "${FILESDIR}/${P}-static-defs.patch" + epatch "${FILESDIR}/${P}-nostrip.patch" + epatch "${FILESDIR}/${P}-soname.patch" + sed -ie '/ldconfig / d' "${S}/Makefile" + + if use amr; then + cd modules/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 + + cd "${S}" + + 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 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 +} |