diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-25 19:11:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-25 19:11:42 +0000 |
commit | 1f4790a412902bbd9244294baf8f3a82b5ff861b (patch) | |
tree | 168e44ea288c67123c05e22372b2d2d3c45f6586 /media-libs | |
parent | Add patch for compatibility with autoconf 2.59d, fixes bug #137953. Thanks to... (diff) | |
download | gentoo-2-1f4790a412902bbd9244294baf8f3a82b5ff861b.tar.gz gentoo-2-1f4790a412902bbd9244294baf8f3a82b5ff861b.tar.bz2 gentoo-2-1f4790a412902bbd9244294baf8f3a82b5ff861b.zip |
Bump libmp4v2 to a version that is able to load sound m4a files.
(Portage version: 2.1.1_pre1-r2)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libmp4v2/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/libmp4v2/files/digest-libmp4v2-1.5.0.1 | 3 | ||||
-rw-r--r-- | media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild | 76 |
3 files changed, 86 insertions, 1 deletions
diff --git a/media-libs/libmp4v2/ChangeLog b/media-libs/libmp4v2/ChangeLog index 3b3ca8a62c9d..4c9692a1a3a0 100644 --- a/media-libs/libmp4v2/ChangeLog +++ b/media-libs/libmp4v2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/libmp4v2 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/ChangeLog,v 1.22 2006/06/11 10:26:18 gmsoft Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/ChangeLog,v 1.23 2006/06/25 19:11:42 flameeyes Exp $ + +*libmp4v2-1.5.0.1 (25 Jun 2006) + + 25 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> + +libmp4v2-1.5.0.1.ebuild: + Bump libmp4v2 to a version that is able to load sound m4a files. 11 Jun 2006; Guy Martin <gmsoft@gentoo.org> libmp4v2-1.4.1.ebuild: Stable on hppa. diff --git a/media-libs/libmp4v2/files/digest-libmp4v2-1.5.0.1 b/media-libs/libmp4v2/files/digest-libmp4v2-1.5.0.1 new file mode 100644 index 000000000000..c15cf36b860f --- /dev/null +++ b/media-libs/libmp4v2/files/digest-libmp4v2-1.5.0.1 @@ -0,0 +1,3 @@ +MD5 f53b06c62e914ab724bda9d9af041e08 mpeg4ip-1.5.0.1.tar.gz 4826180 +RMD160 fee5c21c17a470e6de349e07d233a1eb46b2064a mpeg4ip-1.5.0.1.tar.gz 4826180 +SHA256 23535dd818898ec75ffa0df22d9f27189e77361ce8a500d58328073ee247bcb6 mpeg4ip-1.5.0.1.tar.gz 4826180 diff --git a/media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild b/media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild new file mode 100644 index 000000000000..95baeb7785c3 --- /dev/null +++ b/media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild,v 1.1 2006/06/25 19:11:42 flameeyes Exp $ + +inherit libtool + +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="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" + +DEPEND="" +RDEPEND="!<media-video/mpeg4ip-1.4.1 + !<media-libs/faad2-2.0-r9" + +S="${WORKDIR}/mpeg4ip-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + + elibtoolize +} + +src_compile() { + touch bootstrapped + econf \ + --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 \ + || die "econf 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/" +} |