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/libmp4v2/libmp4v2-1.5.0.1.ebuild | |
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/libmp4v2/libmp4v2-1.5.0.1.ebuild')
-rw-r--r-- | media-libs/libmp4v2/libmp4v2-1.5.0.1.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
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/" +} |