summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-03-30 17:14:02 +0000
committerChris White <chriswhite@gentoo.org>2005-03-30 17:14:02 +0000
commitc4690a3be208713409c8ef8de50fd3f779c98d9b (patch)
tree390aa9adbadf3598e5143a86cf5e45ac31962b88 /media-video
parentVersion bumped. (diff)
downloadhistorical-c4690a3be208713409c8ef8de50fd3f779c98d9b.tar.gz
historical-c4690a3be208713409c8ef8de50fd3f779c98d9b.tar.bz2
historical-c4690a3be208713409c8ef8de50fd3f779c98d9b.zip
FINALLY I can commit this thing. Closes bug #65149. Man that took awhile :|
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-video')
-rw-r--r--media-video/gpac/ChangeLog10
-rw-r--r--media-video/gpac/Manifest14
-rw-r--r--media-video/gpac/files/digest-gpac-0.2.12
-rw-r--r--media-video/gpac/gpac-0.2.1.ebuild87
-rw-r--r--media-video/gpac/metadata.xml12
5 files changed, 125 insertions, 0 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
new file mode 100644
index 000000000000..6c716a062e29
--- /dev/null
+++ b/media-video/gpac/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-video/gpac
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.1 2005/03/30 17:14:02 chriswhite Exp $
+
+*gpac-0.2.1 (31 Mar 2005)
+
+ 31 Mar 2005; Chris White <chriswhite@gentoo.org> +metadata.xml,
+ +gpac-0.2.1.ebuild:
+ Initial import into the tree. Closes bug #65149.
+
diff --git a/media-video/gpac/Manifest b/media-video/gpac/Manifest
new file mode 100644
index 000000000000..a1edb839c991
--- /dev/null
+++ b/media-video/gpac/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 6465b0458a6d012a229c6d330fb6e684 gpac-0.2.1.ebuild 2580
+MD5 cb378e7131783653c967c6365ca31a16 metadata.xml 347
+MD5 37b14010e316974f312d9bf8fc1e2aa2 ChangeLog 377
+MD5 9ad278193077b6ebdc824745ba8600c2 files/digest-gpac-0.2.1 143
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCStbZFdQwWVoAgN4RAkwFAKC29U217ls1Fzw5Z4Txld49Um8oOgCggJQB
+E/fbL8xxIT2NNWBT872/yPQ=
+=bjkb
+-----END PGP SIGNATURE-----
diff --git a/media-video/gpac/files/digest-gpac-0.2.1 b/media-video/gpac/files/digest-gpac-0.2.1
new file mode 100644
index 000000000000..bb56d122f3e5
--- /dev/null
+++ b/media-video/gpac/files/digest-gpac-0.2.1
@@ -0,0 +1,2 @@
+MD5 3a3e193e805ab177f44514ca3289b461 gpac-0.2.1.tar.gz 2227080
+MD5 4e3d841b2005d3772c10d6d6e8676723 gpac_extra_libs-0.1.3_linux.tar.gz 7293588
diff --git a/media-video/gpac/gpac-0.2.1.ebuild b/media-video/gpac/gpac-0.2.1.ebuild
new file mode 100644
index 000000000000..4f1a57ebcbab
--- /dev/null
+++ b/media-video/gpac/gpac-0.2.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.2.1.ebuild,v 1.1 2005/03/30 17:14:02 chriswhite Exp $
+
+inherit wxwidgets flag-o-matic
+
+DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C."
+HOMEPAGE="http://gpac.sourceforge.net/"
+LVER=0.1.3
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ amr? ( mirror://sourceforge/${PN}/${PN}_extra_libs-${LVER}_linux.tar.gz )
+ divx4linux? ( mirror://sourceforge/${PN}/${PN}_extra_libs-${LVER}_linux.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="amr debug divx4linux jpeg mad mozilla mpeg oss png sdl truetype xml2 xvid"
+S=${WORKDIR}/${PN}
+
+DEPEND="jpeg? ( media-libs/jpeg )
+ mad? ( media-libs/libmad )
+ mozilla? ( dev-lang/spidermonkey )
+ mpeg? ( media-libs/faad2
+ >=media-video/ffmpeg-0.4.9_pre1 )
+ png? ( media-libs/libpng )
+ truetype? ( >=media-libs/freetype-2.1 )
+ xml2? ( >=dev-libs/libxml2-2.6.0 )
+ xvid? ( >=media-libs/xvid-1.0.1 )
+ sdl? (media-libs/libsdl)"
+
+src_unpack() {
+ unpack ${A}
+ use divx4linux && \
+ mv gpac_extra_libs/opendivx/* gpac/Plugins/OpenDivx/divx
+ # audio codec used in 3GP
+ use amr && \
+ mv gpac_extra_libs/amr_nb gpac/Plugins/amr_dec/AMR_NB
+}
+
+src_compile() {
+ #enable wxwindows entirely as we can't
+ #use it because of package masking
+ sed -i 's:^has_wx="yes:has_wx="no:' configure
+
+ 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"
+
+ # use this to cute down on the warnings noise
+ append-flags -fno-strict-aliasing
+
+ ./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 amr-nb) \
+ $(use_enable debug) \
+ $(use_enable divx4linux opendivx) \
+ $(use_enable mpeg faad) \
+ $(use_enable mpeg ffmpeg) \
+ $(use_enable jpeg) \
+ $(use_enable mad) \
+ $(use_enable mozilla js) \
+ $(use_enable oss oss-audio) \
+ $(use_enable png) \
+ $(use_enable truetype ft) \
+ $(use_enable xvid) ||
+ die "configure died"
+
+ make OPTFLAGS="${CFLAGS}" || die "emake failed."
+}
+
+src_install() {
+ make OPTFLAGS="${CFLAGS}" install || die
+
+ dodoc AUTHORS BUGS Changelog INSTALL README TODO
+ dodoc doc/*.html doc/*.txt doc/libisomedia_license doc/SGGen
+}
diff --git a/media-video/gpac/metadata.xml b/media-video/gpac/metadata.xml
new file mode 100644
index 000000000000..fe264f181905
--- /dev/null
+++ b/media-video/gpac/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>video</herd>
+<maintainer>
+ <email>media-video@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+A set of tools to tailor to an open source version of the MPEG-4 standard.
+</longdescription>
+</pkgmetadata>
+