summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-10-05 12:48:03 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-10-05 12:48:03 +0000
commitf7678ded221ea8d82e5ca07585b0083e747a6788 (patch)
tree7f69b57d76e7da120ca8f44430806e96416d043f /media-video
parentSparc stable, Bug #239858. (diff)
downloadgentoo-2-f7678ded221ea8d82e5ca07585b0083e747a6788.tar.gz
gentoo-2-f7678ded221ea8d82e5ca07585b0083e747a6788.tar.bz2
gentoo-2-f7678ded221ea8d82e5ca07585b0083e747a6788.zip
remove old
(Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/gpac/ChangeLog12
-rw-r--r--media-video/gpac/files/gpac-0.4.2-DESTDIR.patch95
-rw-r--r--media-video/gpac/files/gpac-0.4.2-bsd.patch46
-rw-r--r--media-video/gpac/files/gpac-0.4.2-configure-ogg.patch25
-rw-r--r--media-video/gpac/files/gpac-0.4.2-ffmpeg-errno.patch20
-rw-r--r--media-video/gpac/files/gpac-0.4.2-ffmpeg-snapshots-compat.patch20
-rw-r--r--media-video/gpac/files/gpac-0.4.2-nostrip.patch55
-rw-r--r--media-video/gpac/files/gpac-0.4.2-soname.patch11
-rw-r--r--media-video/gpac/files/gpac-0.4.2-static-defs.patch11
-rw-r--r--media-video/gpac/gpac-0.4.2-r1.ebuild145
-rw-r--r--media-video/gpac/gpac-0.4.4.ebuild138
11 files changed, 11 insertions, 567 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
index b58f11db15b9..9010b88fdb50 100644
--- a/media-video/gpac/ChangeLog
+++ b/media-video/gpac/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for media-video/gpac
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.64 2008/10/04 12:52:37 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.65 2008/10/05 12:48:02 aballier Exp $
+
+ 05 Oct 2008; Alexis Ballier <aballier@gentoo.org>
+ -files/gpac-0.4.2-DESTDIR.patch, -files/gpac-0.4.2-bsd.patch,
+ -files/gpac-0.4.2-configure-ogg.patch,
+ -files/gpac-0.4.2-ffmpeg-errno.patch,
+ -files/gpac-0.4.2-ffmpeg-snapshots-compat.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-r1.ebuild,
+ -gpac-0.4.4.ebuild:
+ remove old
04 Oct 2008; Brent Baude <ranger@gentoo.org> gpac-0.4.4-r1.ebuild:
stable ppc64, bug 237032
diff --git a/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch b/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch
deleted file mode 100644
index 8fdee1d05942..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-DESTDIR.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-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-bsd.patch b/media-video/gpac/files/gpac-0.4.2-bsd.patch
deleted file mode 100644
index e7898318d280..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-bsd.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff -Nur gpac.old/applications/mp4box/Makefile gpac/applications/mp4box/Makefile
---- gpac.old/applications/mp4box/Makefile 2006-12-27 22:59:08.000000000 +0100
-+++ gpac/applications/mp4box/Makefile 2006-12-27 22:59:40.000000000 +0100
-@@ -45,7 +45,7 @@
- all: $(PROG)
-
- $(PROG): $(OBJS)
-- $(CC) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) $(LINKFLAGS)
-+ $(CC) $(LDFLAGS) -pthread -o ../../bin/gcc/$@ $(OBJS) $(LINKFLAGS)
-
-
- %.o: %.c
-diff -Nur gpac.old/applications/mp4client/Makefile gpac/applications/mp4client/Makefile
---- gpac.old/applications/mp4client/Makefile 2006-12-27 22:59:08.000000000 +0100
-+++ gpac/applications/mp4client/Makefile 2006-12-27 23:03:40.000000000 +0100
-@@ -40,7 +40,7 @@
- all: $(PROG)
-
- MP4Client$(EXE): $(OBJS)
-- $(CC) $(LDFLAGS) -o ../../bin/gcc/$@ $(OBJS) -L../../bin/gcc -lgpac -lz
-+ $(CC) $(LDFLAGS) -pthread -o ../../bin/gcc/$@ $(OBJS) -L../../bin/gcc -lgpac -lz
-
- %.o: %.c
- $(CC) $(CFLAGS) $(INSTALL_FLAGS) -c -o $@ $<
-@@ -48,8 +48,8 @@
- clean:
- rm -f $(OBJS) ../../bin/gcc/$(PROG)
-
--install: clean
-- make -override BUILD_INSTALL=yes all
-+install:
-+ $(MAKE) -override BUILD_INSTALL=yes all
- install -c -m 755 ../../bin/gcc/MP4Client "$(DESTDIR)$(prefix)/bin"
-
- uninstall:
-diff -Nur gpac.old/applications/osmo4_wx/Makefile gpac/applications/osmo4_wx/Makefile
---- gpac.old/applications/osmo4_wx/Makefile 2006-12-27 22:59:08.000000000 +0100
-+++ gpac/applications/osmo4_wx/Makefile 2006-12-27 22:59:40.000000000 +0100
-@@ -64,7 +64,7 @@
- echo -n 'APPLOsm4' > $(DESTDIR)$(mac_apps)/Osmo4.app/Contents/PkgInfo
- else
- rm -f wxOsmo4.o
-- make -override BUILD_INSTALL=yes all
-+ $(MAKE) -override BUILD_INSTALL=yes all
- install -c -m 755 ../../bin/gcc/Osmo4 "$(DESTDIR)$(prefix)/bin"
- endif \ No newline at end of file
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
deleted file mode 100644
index df3e4de7c91b..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-configure-ogg.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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-ffmpeg-errno.patch b/media-video/gpac/files/gpac-0.4.2-ffmpeg-errno.patch
deleted file mode 100644
index ec59cec5e881..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-ffmpeg-errno.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: gpac/modules/ffmpeg_in/ffmpeg_demux.c
-===================================================================
---- gpac.orig/modules/ffmpeg_in/ffmpeg_demux.c
-+++ gpac/modules/ffmpeg_in/ffmpeg_demux.c
-@@ -23,6 +23,7 @@
- */
-
- #include "ffmpeg_in.h"
-+#include <errno.h>
-
- /*default buffer is 200 ms per channel*/
- #define FFD_DATA_BUFFER 800
-@@ -285,7 +286,6 @@ static GF_ESD *FFD_GetESDescriptor(FFDem
- case CODEC_ID_MP3:
- esd->decoderConfig->objectTypeIndication = 0x69;
- break;
-- case CODEC_ID_MPEG4AAC:
- case CODEC_ID_AAC:
- if (!dec->extradata_size) goto opaque_audio;
- esd->decoderConfig->objectTypeIndication = 0x40;
diff --git a/media-video/gpac/files/gpac-0.4.2-ffmpeg-snapshots-compat.patch b/media-video/gpac/files/gpac-0.4.2-ffmpeg-snapshots-compat.patch
deleted file mode 100644
index c40790629188..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-ffmpeg-snapshots-compat.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpac/modules/ffmpeg_in/ffmpeg_decode.c.old 2006-10-09 21:33:37.000000000 +0200
-+++ gpac/modules/ffmpeg_in/ffmpeg_decode.c 2006-10-09 21:34:20.000000000 +0200
-@@ -25,6 +25,17 @@
- #include "ffmpeg_in.h"
- #include <gpac/avparse.h>
-
-+
-+#ifndef STRINGIFY
-+# define STRINGIFY(x) STRINGIFY1(x)
-+# define STRINGIFY1(x) #x
-+#endif
-+
-+#ifndef FFMPEG_VERSION
-+#define FFMPEG_VERSION STRINGIFY(LIBAVCODEC_VERSION)
-+#endif
-+
-+
- static AVCodec *ffmpeg_get_codec(u32 codec_4cc)
- {
- char name[5];
diff --git a/media-video/gpac/files/gpac-0.4.2-nostrip.patch b/media-video/gpac/files/gpac-0.4.2-nostrip.patch
deleted file mode 100644
index 33ba61524891..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-nostrip.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-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
deleted file mode 100644
index e5951b33358e..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
deleted file mode 100644
index 06e19fc19519..000000000000
--- a/media-video/gpac/files/gpac-0.4.2-static-defs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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-r1.ebuild b/media-video/gpac/gpac-0.4.2-r1.ebuild
deleted file mode 100644
index 614decb489c9..000000000000
--- a/media-video/gpac/gpac-0.4.2-r1.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2008 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-r1.ebuild,v 1.15 2008/06/29 14:13:08 loki_val Exp $
-
-inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
-
-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
- mirror://gentoo/${P}-patches.tar.bz2
- 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="alpha amd64 ppc ppc64 x86 ~x86-fbsd"
-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-0.4.9_p20080326 )
- 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* )
- 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"
-
-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 "${WORKDIR}/${P}-configure-ogg.patch"
- epatch "${WORKDIR}/${P}-DESTDIR.patch"
- epatch "${WORKDIR}/${P}-static-defs.patch"
- epatch "${WORKDIR}/${P}-nostrip.patch"
- epatch "${WORKDIR}/${P}-soname.patch"
- epatch "${WORKDIR}/${P}-ffmpeg-snapshots-compat.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
- # make sure configure looks for wx-2.6
- if use wxwindows; then
- WX_GTK_VER=2.6
- need-wxwidgets gtk2
- sed -i -e "s:wx-config:${WX_CONFIG}:g" configure
- else
- sed -i -e '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 cut down on the warnings noise
- append-flags -fno-strict-aliasing
-
- # multilib libdir fix
- sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile
- sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure
-
- epatch "${WORKDIR}/${P}-pic.patch"
- epatch "${FILESDIR}/${P}-bsd.patch"
- epatch "${FILESDIR}/${P}-ffmpeg-errno.patch"
-}
-
-src_compile() {
- 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 CC=$(tc-getCC) 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
-}
diff --git a/media-video/gpac/gpac-0.4.4.ebuild b/media-video/gpac/gpac-0.4.4.ebuild
deleted file mode 100644
index fdd1dbf9714c..000000000000
--- a/media-video/gpac/gpac-0.4.4.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.4.ebuild,v 1.14 2008/06/21 14:11:20 aballier Exp $
-
-inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
-
-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"
-PATCHLEVEL="5"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
- mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
- 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="alpha ~amd64 ~ppc ppc64 sparc ~x86 ~x86-fbsd"
-IUSE="aac alsa amr debug ffmpeg ipv6 jpeg jpeg2k javascript mad ogg opengl oss png sdl ssl theora truetype unicode vorbis wxwindows xml xvid"
-
-S="${WORKDIR}/${PN}"
-
-RDEPEND="aac? ( >=media-libs/faad2-2.0 )
- alsa? ( media-libs/alsa-lib )
- ffmpeg? ( media-video/ffmpeg )
- jpeg? ( media-libs/jpeg )
- javascript? ( >=dev-lang/spidermonkey-1.5 )
- mad? ( >=media-libs/libmad-0.15.1b )
- opengl? ( virtual/opengl virtual/glut )
- ogg? ( >=media-libs/libogg-1.1 )
- png? ( >=media-libs/libpng-1.2.5 )
- vorbis? ( >=media-libs/libvorbis-1.1 )
- theora? ( media-libs/libtheora )
- truetype? ( >=media-libs/freetype-2.1.4 )
- wxwindows? ( =x11-libs/wxGTK-2.6* )
- xml? ( >=dev-libs/libxml2-2.6.0 )
- xvid? ( >=media-libs/xvid-1.0.1 )
- sdl? ( media-libs/libsdl )
- jpeg2k? ( media-libs/openjpeg )
- x11-libs/libXt
- x11-libs/libX11
- x11-libs/libXext"
-
-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_SUFFIX="patch" epatch "${WORKDIR}/patches"
-
- 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
- # make sure configure looks for wx-2.6
- if use wxwindows; then
- WX_GTK_VER=2.6
- use unicode && need-wxwidgets unicode || need-wxwidgets ansi
- sed -i -e "s:wx-config:${WX_CONFIG}:g" configure
- else
- sed -i -e 's:^has_wx="yes:has_wx="no:' configure
- fi
-
- use sdl || sed -i 's:^has_sdl=yes:has_sdl=no:' configure
- use alsa || sed -i 's:^has_alsa=yes:has_alsa=no:' configure
-
- # make sure mozilla won't be used
- sed -i -e 's/osmozilla//g' applications/Makefile
-
- # use this to cut down on the warnings noise
- append-flags -fno-strict-aliasing
-
- # multilib libdir fix
- sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile
- sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure
-}
-
-src_compile() {
- 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 \
- --enable-pic \
- $(use_enable amr) \
- $(use_enable debug) \
- $(use_enable opengl) \
- $(use_enable oss oss-audio) \
- $(use_enable ssl) \
- $(use_enable ipv6) \
- $(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) \
- $(my_use jpeg2k openjpeg) \
- ${myconf} || die "configure died"
-
- emake -j1 CXX=$(tc-getCXX) CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die "emake failed."
-}
-
-src_install() {
- emake CXX=$(tc-getCXX) CC=$(tc-getCC) STRIP="true" INSTFLAGS="" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install || die
- emake CXX=$(tc-getCXX) CC=$(tc-getCC) STRIP="true" INSTFLAGS="" OPTFLAGS="${CFLAGS}" DESTDIR="${D}" install-lib || die
- dodoc AUTHORS BUGS Changelog README TODO
- dodoc doc/*.txt
- dohtml doc/*.html
-}