summaryrefslogtreecommitdiff
path: root/media-libs/libsndfile
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsndfile')
-rw-r--r--media-libs/libsndfile/Manifest1
-rw-r--r--media-libs/libsndfile/libsndfile-9999.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest
index af214132ace1..6d838affc580 100644
--- a/media-libs/libsndfile/Manifest
+++ b/media-libs/libsndfile/Manifest
@@ -8,6 +8,7 @@ DIST libsndfile-1.0.28.tar.gz 1202833 SHA256 1ff33929f042fa333aed1e8923aa628c3ee
EBUILD libsndfile-1.0.26.ebuild 2692 SHA256 ef280ea735df622463f0bc6f903259f17e3787a8e0c6d9d5e374113878fc7b94 SHA512 94cd99345b65b581616bbf44a6218359c9e10ed2378b651616b240e05dbfce60cddd53cbbbdf369b70d54e4f90480e97d6b858836a21f130c82e51f7340e73d9 WHIRLPOOL aa5c4a6f2cfb3d706e9871bde49c7e714e9ebb0ebc6b3711b552767d76aba32fe0b68dece177463a1de7197341e4bb0c9a1afafe11629df0eec199338989d590
EBUILD libsndfile-1.0.27-r1.ebuild 1912 SHA256 4bcaf142b5ffc70de136bd314ac6ad07130d2d00c9db347cacfa60d539795d3f SHA512 67f8f3d757dad12c5a087cc49a54b6b6d93be7d89fad9ef5e9fe7c89fb013d3f11688517574c08e258a50cade576dae82b1ca9b996243c84d97ae85987706f00 WHIRLPOOL 9b59c050d342a660601ae7c7b45c07bac9791a212342c50fdfe98c562e57d6c9ff6b7df3904f9ec97a50e4b4ac682839bcb44e09a2999756fe99dd197eea9ae8
EBUILD libsndfile-1.0.28-r1.ebuild 1664 SHA256 254e40bf34d5a0b00e205af0f08bf5412c5433f994929c8defb1ce791b8385e5 SHA512 49446be5c9f84afa4ffaae7b1dade1140bb98de0e91fc88d0ffe2cd1e782cc56b9f879f00a255b2b109cab77280ad99acb5c12a9b564ce56f0b57acca119e2bd WHIRLPOOL 558187e2fa1f51d507c4c1bd7a650f94ec175d9c638d828c59cf856bda7a55280b23f0d9610fb0b9e183375ff6c4d1559e91ef7effe0af4ae056368f6be8a00e
+EBUILD libsndfile-9999.ebuild 1745 SHA256 df117ff9c07b7de0e81341680362d4b660dacf6d1a2c12602b20d2851d3bbce2 SHA512 37a4087046ba8fe41abd09bc16f485e8ca9ce1938021281ff09a5b2b953ed88f935389d13a9b1f6286bd3d35ebf727b4708cb117c7510ef4067f6fb39758adc7 WHIRLPOOL 3bdcdecff0580e96c9bec4f4a590c407243831fa4c9dc8fbaf03a38eac3f73784db824b49f81c615e6d82554451438ba1f0ed64f5fdcdd30778d2b9766df2a25
MISC ChangeLog 5750 SHA256 9d1d7328d23be213d42365977269e84f81041297c5776063d1864cb0af9a7327 SHA512 a0f8be5c80ab861bcd5defb11ad32c90c64f9679af0476322d979aaa8bd4f088deb985e298e8c5640e6fc75cf68c2a229062c77d558fc6d685b36458146d5a32 WHIRLPOOL 1aff80e5eeb64493716cf32bd5e058db706a501124d3dad23ac0e3ca6e864986dca6a882d41c76f3e0caf561aa37a942c4ce1924d5a07703ae792748ae3f8ef3
MISC ChangeLog-2015 22119 SHA256 fa4675ddab48c3377fd1292e3abfb2ec820857a4a14844748fe2f63352c82370 SHA512 9c8978c4608e8b7c042050e6eda234db8541c246168670b6247c8f9a946967bc34b68cbc8abfe10046aca483f5faa1b7cdd28988a350d6782b730d8e2802dea7 WHIRLPOOL b314308b8409737eca0adfd7e255983ec4db1e3c64850165a56c7f2ca56eccf8a74dd7a7cda30b3346b22af0e2c5d2b9acd8e1bed4272ef45da074494e0e7da0
MISC metadata.xml 259 SHA256 1321ae0a7e2232e5201f0537a1a6a49bd4fa5f03c1224a00e3edfb71d02bd29a SHA512 7315c86cee93f8109e30dd379dde35c51ad60e759a037cc8ee3feeec369434d65fecf785480861e7fc6a17baaf81517083284783b4b35143c911da98846d0360 WHIRLPOOL a2363e099d54512fba9b48dab9ebf3cb1346857aff3fedb1b318c5942093ee1fc6a5492f11faf5713e934dfa0fbbc70eab52e5319b5afc3d0e17ff56caa7c3fa
diff --git a/media-libs/libsndfile/libsndfile-9999.ebuild b/media-libs/libsndfile/libsndfile-9999.ebuild
new file mode 100644
index 000000000000..eb28af81fd55
--- /dev/null
+++ b/media-libs/libsndfile/libsndfile-9999.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+
+inherit python-any-r1 multilib-minimal
+
+DESCRIPTION="A C library for reading and writing files containing sampled sound"
+HOMEPAGE="http://www.mega-nerd.com/libsndfile"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://github.com/erikd/libsndfile.git"
+
+ DEPEND="
+ ${PYTHON_DEPS}
+ sys-devel/autogen"
+else
+ SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="alsa minimal sqlite static-libs test"
+
+RDEPEND="
+ !minimal? (
+ >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}]
+ >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
+ >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
+ )
+ alsa? ( media-libs/alsa-lib )
+ sqlite? ( >=dev-db/sqlite-3.2 )"
+DEPEND="
+ ${DEPEND}
+ ${RDEPEND}
+ virtual/pkgconfig
+ test? ( ${PYTHON_DEPS} )"
+
+pkg_setup() {
+ if use test || [[ ${PV} == *9999 ]]; then
+ python-any-r1_pkg_setup
+ fi
+}
+
+src_prepare() {
+ default
+
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ --disable-octave \
+ $(use_enable static-libs static) \
+ $(use_enable !minimal external-libs) \
+ $(multilib_native_enable full-suite) \
+ $(multilib_native_use_enable alsa) \
+ $(multilib_native_use_enable sqlite) \
+ PYTHON="${EPYTHON}"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ # package provides .pc files
+ find "${D}" -name '*.la' -delete || die
+}