diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-14 13:52:32 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-04-14 13:52:32 +0000 |
commit | 8e03761d2b73ee984426866db324c5e88734aee5 (patch) | |
tree | f7dc91d38dfa490b57688d8fd03d021304d5052e /media-libs/libsamplerate | |
parent | Fix turkish translation; bug #217469 (diff) | |
download | gentoo-2-8e03761d2b73ee984426866db324c5e88734aee5.tar.gz gentoo-2-8e03761d2b73ee984426866db324c5e88734aee5.tar.bz2 gentoo-2-8e03761d2b73ee984426866db324c5e88734aee5.zip |
Version bump, and fix building with autoconf 2.62, see bug #217318.
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'media-libs/libsamplerate')
3 files changed, 94 insertions, 1 deletions
diff --git a/media-libs/libsamplerate/ChangeLog b/media-libs/libsamplerate/ChangeLog index 4da0824bb38d..b60e6a439f16 100644 --- a/media-libs/libsamplerate/ChangeLog +++ b/media-libs/libsamplerate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libsamplerate # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/ChangeLog,v 1.50 2008/02/22 13:22:44 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/ChangeLog,v 1.51 2008/04/14 13:52:31 flameeyes Exp $ + +*libsamplerate-0.1.3 (14 Apr 2008) + + 14 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> + +files/libsamplerate-0.1.3-dontbuild-tests-examples.patch, + +libsamplerate-0.1.3.ebuild: + Version bump, and fix building with autoconf 2.62, see bug #217318. 22 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> +files/libsamplerate-0.1.2-dontbuild-tests-examples.patch, diff --git a/media-libs/libsamplerate/files/libsamplerate-0.1.3-dontbuild-tests-examples.patch b/media-libs/libsamplerate/files/libsamplerate-0.1.3-dontbuild-tests-examples.patch new file mode 100644 index 000000000000..23cf5897a59e --- /dev/null +++ b/media-libs/libsamplerate/files/libsamplerate-0.1.3-dontbuild-tests-examples.patch @@ -0,0 +1,32 @@ +Index: libsamplerate-0.1.3/examples/Makefile.am +=================================================================== +--- libsamplerate-0.1.3.orig/examples/Makefile.am ++++ libsamplerate-0.1.3/examples/Makefile.am +@@ -3,7 +3,7 @@ + + bin_PROGRAMS = sndfile-resample + +-noinst_PROGRAMS = varispeed-play timewarp-file ++EXTRA_PROGRAMS = varispeed-play timewarp-file + + SAMPLERATEDIR =../src + INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@ +Index: libsamplerate-0.1.3/tests/Makefile.am +=================================================================== +--- libsamplerate-0.1.3.orig/tests/Makefile.am ++++ libsamplerate-0.1.3/tests/Makefile.am +@@ -1,4 +1,4 @@ +-noinst_PROGRAMS = misc_test termination_test simple_test callback_test \ ++EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \ + reset_test multi_channel_test snr_bw_test \ + float_short_test varispeed_test callback_hang_test \ + src-evaluate throughput_test +@@ -55,7 +55,7 @@ throughput_test_LDADD = $(SAMPLRATEDIR) + + #=============================================================================== + +-check: $(noinst_PROGRAMS) ++check: $(EXTRA_PROGRAMS) + date + uname -a + ./misc_test diff --git a/media-libs/libsamplerate/libsamplerate-0.1.3.ebuild b/media-libs/libsamplerate/libsamplerate-0.1.3.ebuild new file mode 100644 index 000000000000..e8649aececbc --- /dev/null +++ b/media-libs/libsamplerate/libsamplerate-0.1.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsamplerate/libsamplerate-0.1.3.ebuild,v 1.1 2008/04/14 13:52:31 flameeyes Exp $ + +WANT_AUTOMAKE=1.7 + +inherit eutils autotools + +DESCRIPTION="Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio" +HOMEPAGE="http://www.mega-nerd.com/SRC/" +SRC_URI="http://www.mega-nerd.com/SRC/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="sndfile fftw" + +RDEPEND="fftw? ( >=sci-libs/fftw-3.0.1 ) + sndfile? ( >=media-libs/libsndfile-1.0.2 )" +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.14.0" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.1.2-automagic.patch" + epatch "${FILESDIR}/${P}-dontbuild-tests-examples.patch" + + # Fix for autoconf 2.62 + sed -i -e '/AC_MSG_WARN(\[\[/d' \ + "${S}/acinclude.m4" + + eautoreconf +} + +src_compile() { + local myconf + + use fftw || myconf="${myconf} --disable-fftw" + + econf \ + ${myconf} \ + $(use_enable sndfile) \ + --disable-dependency-tracking \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README + dohtml doc/*.html doc/*.css doc/*.png +} |