summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Crête <tester@gentoo.org>2005-12-20 05:11:35 +0000
committerOlivier Crête <tester@gentoo.org>2005-12-20 05:11:35 +0000
commitec2d32afc0288f3efaed6fb9e99c58de069800ef (patch)
treec14a208c78b695eb433e1bac43815befdea3eabc /media-libs/libmp4v2
parentgnuchess gcc4 fix (diff)
downloadgentoo-2-ec2d32afc0288f3efaed6fb9e99c58de069800ef.tar.gz
gentoo-2-ec2d32afc0288f3efaed6fb9e99c58de069800ef.tar.bz2
gentoo-2-ec2d32afc0288f3efaed6fb9e99c58de069800ef.zip
Adding separate libmp4v2 (separated from media-video/mpeg4ip)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-libs/libmp4v2')
-rw-r--r--media-libs/libmp4v2/ChangeLog7
-rw-r--r--media-libs/libmp4v2/Manifest4
-rw-r--r--media-libs/libmp4v2/files/digest-libmp4v2-1.4.11
-rw-r--r--media-libs/libmp4v2/libmp4v2-1.4.1.ebuild78
-rw-r--r--media-libs/libmp4v2/metadata.xml8
5 files changed, 98 insertions, 0 deletions
diff --git a/media-libs/libmp4v2/ChangeLog b/media-libs/libmp4v2/ChangeLog
new file mode 100644
index 000000000000..094d7318326c
--- /dev/null
+++ b/media-libs/libmp4v2/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/ChangeLog,v 1.1 2005/12/20 05:11:35 tester Exp $
+
+ 20 Dec 2005; Olivier Crête <tester@gentoo.org> ChangeLog:
+ Separated libmp4v2 from mpeg4ip
+
diff --git a/media-libs/libmp4v2/Manifest b/media-libs/libmp4v2/Manifest
new file mode 100644
index 000000000000..dd3cc34fc40f
--- /dev/null
+++ b/media-libs/libmp4v2/Manifest
@@ -0,0 +1,4 @@
+MD5 3e22c883db32384466af4a4db61aca02 metadata.xml 222
+MD5 abdf48d8a51befc0de78fbecf6ae7286 libmp4v2-1.4.1.ebuild 1756
+MD5 b0b9dbc96f6cf49e85ddf48d123c911d ChangeLog 222
+MD5 f66eabf6e140aef8962a75cf06d15df0 files/digest-libmp4v2-1.4.1 66
diff --git a/media-libs/libmp4v2/files/digest-libmp4v2-1.4.1 b/media-libs/libmp4v2/files/digest-libmp4v2-1.4.1
new file mode 100644
index 000000000000..bb02c4581bae
--- /dev/null
+++ b/media-libs/libmp4v2/files/digest-libmp4v2-1.4.1
@@ -0,0 +1 @@
+MD5 68968c23c7e9d23cac11f15f3bcf7ede mpeg4ip-1.4.1.tar.gz 4791075
diff --git a/media-libs/libmp4v2/libmp4v2-1.4.1.ebuild b/media-libs/libmp4v2/libmp4v2-1.4.1.ebuild
new file mode 100644
index 000000000000..ccc23dba2584
--- /dev/null
+++ b/media-libs/libmp4v2/libmp4v2-1.4.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/libmp4v2-1.4.1.ebuild,v 1.1 2005/12/20 05:11:35 tester Exp $
+
+DESCRIPTION="libmp4v2 extracted from mpeg4ip"
+HOMEPAGE="http://www.mpeg4ip.net/"
+SRC_URI="mirror://sourceforge/mpeg4ip/mpeg4ip-${PV}.tar.gz"
+LICENSE="MPL-1.1"
+SLOT="0"
+IUSE=""
+
+KEYWORDS="~x86 ~amd64"
+
+DEPEND=""
+RDEPEND="!<media-video/mpeg4ip-1.4.1
+ !<media-libs/faad2-2.0-r8"
+
+S=${WORKDIR}/mpeg4ip-${PV}
+
+src_compile() {
+
+ cd ${S}
+
+ ./bootstrap --prefix=/usr \
+ --host=${CHOST} \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --datadir=/usr/share \
+ --sysconfdir=/etc \
+ --libdir=/usr/$(get_libdir) \
+ --localstatedir=/var/lib \
+ --disable-warns-as-err \
+ --disable-server \
+ --disable-player \
+ --disable-mp4live \
+ --disable-id3tags \
+ --disable-xvid \
+ --disable-a52dec \
+ --disable-mad \
+ --disable-mpeg2dec \
+ --disable-srtp \
+ --disable-mp3lame \
+ --disable-faac \
+ --disable-ffmpeg \
+ --disable-x264 \
+ --with-pic \
+ ${EXTRA_ECONF} || die "configure failed"
+
+ cd ${S}/lib/mp4v2
+
+ sed -i -e 's:SUBDIRS = . test util:SUBDIRS = .:' Makefile \
+ || die "sed failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+
+ cd ${S}/lib/mp4v2
+
+ make DESTDIR=${D} install || die
+
+ dodoc README INTERNALS API_CHANGES TODO
+
+ sed -i -e 's:"mpeg4ip.h":<libmp4v2/mpeg4ip.h>:' \
+ ${D}/usr/include/mp4.h || die "sed failed"
+
+ dodir /usr/include/libmp4v2
+
+ cp ${S}/include/mpeg4ip.h ${D}/usr/include/libmp4v2/
+ sed -i -e 's:mpeg4ip_config.h:libmp4v2/mpeg4ip_config.h:' \
+ -e 's:"mpeg4ip_version.h":<libmp4v2/mpeg4ip_version.h>:' \
+ ${D}/usr/include/libmp4v2/mpeg4ip.h || die "sed failed"
+
+ cp ${S}/include/mpeg4ip_version.h ${D}/usr/include/libmp4v2/
+ cp ${S}/mpeg4ip_config.h ${D}/usr/include/libmp4v2/
+
+}
diff --git a/media-libs/libmp4v2/metadata.xml b/media-libs/libmp4v2/metadata.xml
new file mode 100644
index 000000000000..5279ad9bfdda
--- /dev/null
+++ b/media-libs/libmp4v2/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>tester@gentoo.org</email>
+</maintainer>
+</pkgmetadata>