diff options
author | Tim Harder <radhermit@gentoo.org> | 2013-03-07 18:37:37 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2013-03-07 18:37:37 +0000 |
commit | cf7d2867d30fac77b904794a716738b3b5db423d (patch) | |
tree | 9fc002a3f6612f97c0c70a4b369069781a8c524c /media-libs/audiofile | |
parent | Stable for ia64, wrt bug #460698 (diff) | |
download | gentoo-2-cf7d2867d30fac77b904794a716738b3b5db423d.tar.gz gentoo-2-cf7d2867d30fac77b904794a716738b3b5db423d.tar.bz2 gentoo-2-cf7d2867d30fac77b904794a716738b3b5db423d.zip |
Version bump, add flac use flag.
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-libs/audiofile')
-rw-r--r-- | media-libs/audiofile/ChangeLog | 8 | ||||
-rw-r--r-- | media-libs/audiofile/audiofile-0.3.6.ebuild | 45 | ||||
-rw-r--r-- | media-libs/audiofile/files/audiofile-0.3.6-system-gtest.patch | 106 |
3 files changed, 158 insertions, 1 deletions
diff --git a/media-libs/audiofile/ChangeLog b/media-libs/audiofile/ChangeLog index c0ea50691def..eabb2a99b5d8 100644 --- a/media-libs/audiofile/ChangeLog +++ b/media-libs/audiofile/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/audiofile # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.123 2013/02/24 20:23:53 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/ChangeLog,v 1.124 2013/03/07 18:37:37 radhermit Exp $ + +*audiofile-0.3.6 (07 Mar 2013) + + 07 Mar 2013; Tim Harder <radhermit@gentoo.org> +audiofile-0.3.6.ebuild, + +files/audiofile-0.3.6-system-gtest.patch: + Version bump, add flac use flag. 24 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> audiofile-0.3.5.ebuild: Set missing empty RDEPEND. diff --git a/media-libs/audiofile/audiofile-0.3.6.ebuild b/media-libs/audiofile/audiofile-0.3.6.ebuild new file mode 100644 index 000000000000..4ab1c42e4250 --- /dev/null +++ b/media-libs/audiofile/audiofile-0.3.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/audiofile/audiofile-0.3.6.ebuild,v 1.1 2013/03/07 18:37:37 radhermit Exp $ + +EAPI=5 + +inherit autotools eutils gnome.org + +DESCRIPTION="An elegant API for accessing audio files" +HOMEPAGE="http://www.68k.org/~michael/audiofile/" + +LICENSE="GPL-2 LGPL-2" +SLOT="0/1" # subslot = soname major version +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="flac static-libs test" + +RDEPEND="flac? ( >=media-libs/flac-1.2.1 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-cpp/gtest )" + +DOCS=( ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-system-gtest.patch + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --enable-largefile \ + --disable-werror \ + --disable-examples \ + $(use_enable flac) +} + +src_test() { + emake -C test check +} + +src_install() { + default + prune_libtool_files +} diff --git a/media-libs/audiofile/files/audiofile-0.3.6-system-gtest.patch b/media-libs/audiofile/files/audiofile-0.3.6-system-gtest.patch new file mode 100644 index 000000000000..31e77e11271d --- /dev/null +++ b/media-libs/audiofile/files/audiofile-0.3.6-system-gtest.patch @@ -0,0 +1,106 @@ +--- audiofile-0.3.6/test/Makefile.am ++++ audiofile-0.3.6/test/Makefile.am +@@ -59,79 +59,77 @@ + + DEPENDENCIES = $(LIBAUDIOFILE) + +-LIBGTEST = ../gtest/libgtest.la +- + ADPCM_SOURCES = ADPCM.cpp TestUtilities.cpp TestUtilities.h +-ADPCM_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++ADPCM_LDADD = -lgtest $(LIBAUDIOFILE) + + AES_SOURCES = AES.cpp TestUtilities.cpp TestUtilities.h +-AES_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++AES_LDADD = -lgtest $(LIBAUDIOFILE) + + ALAC_SOURCES = ALAC.cpp Lossless.h TestUtilities.cpp TestUtilities.h +-ALAC_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++ALAC_LDADD = -lgtest $(LIBAUDIOFILE) + + ChannelMatrix_SOURCES = ChannelMatrix.cpp TestUtilities.cpp TestUtilities.h +-ChannelMatrix_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++ChannelMatrix_LDADD = -lgtest $(LIBAUDIOFILE) + + Error_SOURCES = Error.cpp TestUtilities.cpp TestUtilities.h +-Error_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Error_LDADD = -lgtest $(LIBAUDIOFILE) + + FLAC_SOURCES = FLAC.cpp Lossless.h TestUtilities.cpp TestUtilities.h +-FLAC_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++FLAC_LDADD = -lgtest $(LIBAUDIOFILE) + + FloatToInt_SOURCES = FloatToInt.cpp TestUtilities.cpp TestUtilities.h +-FloatToInt_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++FloatToInt_LDADD = -lgtest $(LIBAUDIOFILE) + + Instrument_SOURCES = Instrument.cpp TestUtilities.cpp TestUtilities.h +-Instrument_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Instrument_LDADD = -lgtest $(LIBAUDIOFILE) + + IntToFloat_SOURCES = IntToFloat.cpp TestUtilities.cpp TestUtilities.h +-IntToFloat_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++IntToFloat_LDADD = -lgtest $(LIBAUDIOFILE) + + InvalidCompressionFormat_SOURCES = InvalidCompressionFormat.cpp TestUtilities.cpp TestUtilities.h +-InvalidCompressionFormat_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++InvalidCompressionFormat_LDADD = -lgtest $(LIBAUDIOFILE) + + InvalidSampleFormat_SOURCES = InvalidSampleFormat.cpp TestUtilities.cpp TestUtilities.h +-InvalidSampleFormat_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++InvalidSampleFormat_LDADD = -lgtest $(LIBAUDIOFILE) + + Large_SOURCES = Large.cpp TestUtilities.cpp TestUtilities.h +-Large_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Large_LDADD = -lgtest $(LIBAUDIOFILE) + + Loop_SOURCES = Loop.cpp TestUtilities.cpp TestUtilities.h +-Loop_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Loop_LDADD = -lgtest $(LIBAUDIOFILE) + + Marker_SOURCES = Marker.cpp TestUtilities.cpp TestUtilities.h +-Marker_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Marker_LDADD = -lgtest $(LIBAUDIOFILE) + + Miscellaneous_SOURCES = Miscellaneous.cpp TestUtilities.cpp TestUtilities.h +-Miscellaneous_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Miscellaneous_LDADD = -lgtest $(LIBAUDIOFILE) + + NeXT_SOURCES = NeXT.cpp TestUtilities.cpp TestUtilities.h +-NeXT_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++NeXT_LDADD = -lgtest $(LIBAUDIOFILE) + + PCMData_SOURCES = PCMData.cpp TestUtilities.cpp TestUtilities.h +-PCMData_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++PCMData_LDADD = -lgtest $(LIBAUDIOFILE) + + PCMMapping_SOURCES = PCMMapping.cpp TestUtilities.cpp TestUtilities.h +-PCMMapping_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++PCMMapping_LDADD = -lgtest $(LIBAUDIOFILE) + + Pipe_SOURCES = Pipe.cpp TestUtilities.cpp TestUtilities.h +-Pipe_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Pipe_LDADD = -lgtest $(LIBAUDIOFILE) + + Query_SOURCES = Query.cpp TestUtilities.cpp TestUtilities.h +-Query_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Query_LDADD = -lgtest $(LIBAUDIOFILE) + + SampleFormat_SOURCES = SampleFormat.cpp TestUtilities.cpp TestUtilities.h +-SampleFormat_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++SampleFormat_LDADD = -lgtest $(LIBAUDIOFILE) + + Seek_SOURCES = Seek.cpp TestUtilities.cpp TestUtilities.h +-Seek_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Seek_LDADD = -lgtest $(LIBAUDIOFILE) + + Sign_SOURCES = Sign.cpp TestUtilities.cpp TestUtilities.h +-Sign_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++Sign_LDADD = -lgtest $(LIBAUDIOFILE) + + VirtualFile_SOURCES = VirtualFile.cpp TestUtilities.cpp TestUtilities.h +-VirtualFile_LDADD = $(LIBGTEST) $(LIBAUDIOFILE) ++VirtualFile_LDADD = -lgtest $(LIBAUDIOFILE) + + floatto24_SOURCES = floatto24.c TestUtilities.cpp TestUtilities.h + |