diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/audiofile/Manifest | 4 | ||||
-rw-r--r-- | media-libs/audiofile/audiofile-0.3.6-r1.ebuild | 40 | ||||
-rw-r--r-- | media-libs/audiofile/files/audiofile-0.3.6-system-gtest.patch | 106 | ||||
-rw-r--r-- | media-libs/audiofile/metadata.xml | 6 |
4 files changed, 156 insertions, 0 deletions
diff --git a/media-libs/audiofile/Manifest b/media-libs/audiofile/Manifest new file mode 100644 index 0000000..92ea292 --- /dev/null +++ b/media-libs/audiofile/Manifest @@ -0,0 +1,4 @@ +AUX audiofile-0.3.6-system-gtest.patch 4040 SHA256 655935e1f29060d4a2e99fa0d3771d9ec47d09f19668112d16c477b54a02112e SHA512 e58f033f075e3f6c34e25793353c122e05960ca2ff8aefaca936c7bd683989545d6839ad231136a870a9fc9a515623a056a149128fba7239bb9998c3ea320172 WHIRLPOOL 78722ba435cde819b7c16349da306e53d0f496c9a9f535f74849162e8c8d5dc37b5ff4d4a71620e904971a46916fd8500989ab02a6834f73dc6344311974c6d9 +DIST audiofile-0.3.6.tar.xz 530760 SHA256 ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8cb59782 SHA512 f3b58210a4ef3ac8e08a368a78e0f4b8345456d084bdebfd20d1631fa75e562aa58d31863a502b6ff18178327aa5b87403566bd34566fa52bdfc8e01de400bcb WHIRLPOOL 4e750d9071e2ebfaef033647655fea7ecd2bad3751b74c4e16bd702099f01d731e57d0473379faac8ff1f66c4e5ffeadbf41551e829294fa09fe201354270221 +EBUILD audiofile-0.3.6-r1.ebuild 1261 SHA256 7be7f99e6d884d36f5466058799688306d5b034f0eeaa69a1d1ce93be64847bc SHA512 5344e35709bd33808c30703124e83069e1c2bd9a6f401d8ce4afbcdc9026531b99cdb36257245838d3a2c2aa56d3caf169c4ba21e632a8efa02c17bd3a834db6 WHIRLPOOL dc8873bb3f30199e241bd227c42dc262eec5800d05e2aabff71f107a7dab25b0dde31be7a91463a3d5232b18f4f667487d3e34bfdd026cd5b284a4c3acee5764 +MISC metadata.xml 177 SHA256 dfb196addaf8aa212436c53c3d47cda0d10c2850c59fa2dcb7554dfa10190af2 SHA512 98444e8060758d0318b9e2b3473ff334e0bd9123d62a70eef1951096b76e22262a977c5dfb7efd01415c08fd4d141bdf73a536b3661b6333c4fe770560d83ddd WHIRLPOOL 61f5a9fdb88bbeb5aed394332e86827c756df08d943de2ea14debe60c31c718a64921255eb3df7535e5230a198be0126a62120a7098d067b952e80fe2ae76b36 diff --git a/media-libs/audiofile/audiofile-0.3.6-r1.ebuild b/media-libs/audiofile/audiofile-0.3.6-r1.ebuild new file mode 100644 index 0000000..689a82f --- /dev/null +++ b/media-libs/audiofile/audiofile-0.3.6-r1.ebuild @@ -0,0 +1,40 @@ +# 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-r1.ebuild,v 1.1 2013/05/02 12:50:30 mgorny Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-multilib gnome.org + +DESCRIPTION="An elegant API for accessing audio files" +HOMEPAGE="http://www.68k.org/~michael/audiofile/" + +LICENSE="GPL-2 LGPL-2.1" +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[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +DOCS=( ACKNOWLEDGEMENTS AUTHORS ChangeLog NEWS NOTES README TODO ) + +PATCHES=( "${FILESDIR}"/${P}-system-gtest.patch ) + +src_configure() { + local myeconfargs=( + --enable-largefile + --disable-werror + --disable-examples + $(use_enable flac) + ) + autotools-multilib_src_configure +} + +src_test() { + autotools-multilib_src_test -C test +} 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 0000000..31e77e1 --- /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 + diff --git a/media-libs/audiofile/metadata.xml b/media-libs/audiofile/metadata.xml new file mode 100644 index 0000000..b016c18 --- /dev/null +++ b/media-libs/audiofile/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<herd>sound</herd> +</pkgmetadata> |