diff options
author | Chris White <chriswhite@gentoo.org> | 2005-03-30 17:14:02 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-03-30 17:14:02 +0000 |
commit | 45b66c3bc653d1686892c08469dbf67509682a7f (patch) | |
tree | 2d98160606f77ca535347b89549ae9e1acc3bdcd /media-video/gpac | |
parent | Added amr local USE flag for new package gpac. (diff) | |
download | gentoo-2-45b66c3bc653d1686892c08469dbf67509682a7f.tar.gz gentoo-2-45b66c3bc653d1686892c08469dbf67509682a7f.tar.bz2 gentoo-2-45b66c3bc653d1686892c08469dbf67509682a7f.zip |
FINALLY I can commit this thing. Closes bug #65149. Man that took awhile :|
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video/gpac')
-rw-r--r-- | media-video/gpac/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/gpac/Manifest | 2 | ||||
-rw-r--r-- | media-video/gpac/files/digest-gpac-0.2.1 | 2 | ||||
-rw-r--r-- | media-video/gpac/gpac-0.2.1.ebuild | 87 | ||||
-rw-r--r-- | media-video/gpac/metadata.xml | 12 |
5 files changed, 113 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..d7fd0a2501b8 --- /dev/null +++ b/media-video/gpac/Manifest @@ -0,0 +1,2 @@ +MD5 280256706d5850f1a79a1121431aa46a gpac-0.2.1.ebuild 2132 +MD5 9ad278193077b6ebdc824745ba8600c2 files/digest-gpac-0.2.1 143 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> + |