From: Lars Wendler Date: Tue, 4 Apr 2017 08:58:29 +0000 (+0200) Subject: media-libs/libsndfile: Bump to version 1.0.28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=48ddef79dfdd935e556b749c08546dae3e7ea3f8;p=gentoo.git media-libs/libsndfile: Bump to version 1.0.28 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest index 011edfab7cb4..240b9c0d6180 100644 --- a/media-libs/libsndfile/Manifest +++ b/media-libs/libsndfile/Manifest @@ -1,2 +1,3 @@ DIST libsndfile-1.0.26.tar.gz 1080727 SHA256 cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092 SHA512 49a131482f9735e2f171ab7b59770cafc6b92e177f88bed9d2e6189390abc5aa473081dce3e4ec3c0e32b6f3d8c19901136b3df15b9222c11b578f522e88257e WHIRLPOOL 30ea43dab113a4e0fd5cf65e340f50943dae2a100a8b029473adb3c21f388d05a7e124d6219b25c22dc29efa3ab24a600eec958b435f7a050129e17d809e89fb DIST libsndfile-1.0.27.tar.gz 1192337 SHA256 a391952f27f4a92ceb2b4c06493ac107896ed6c76be9a613a4731f076d30fac0 SHA512 8272e3219d64be01034d3f7f7565bf20075c04533469a963ad055f00767e9c2987463fb982894ddc1023d5d6c2338f55f8c3e6d2e36635484dde577a0d2ac770 WHIRLPOOL 66f4a88a8215149ed05d5596587628cb887056b5ea555cacbaff59f1011224f1108564d96c07565e35a904f9c47a184ae368f3188790238cb620ed15ee6a1e9c +DIST libsndfile-1.0.28.tar.gz 1202833 SHA256 1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9 SHA512 890731a6b8173f714155ce05eaf6d991b31632c8ab207fbae860968861a107552df26fcf85602df2e7f65502c7256c1b41735e1122485a3a07ddb580aa83b57f WHIRLPOOL 261951f56ef120b2119935e3960e5523dcd845e9c127409c6d1a20e7e3a59f53e7cfe4c974005e206c56c8fc20cd287cfb554ef2ae3e9540487c9008dba5d8d2 diff --git a/media-libs/libsndfile/libsndfile-1.0.28.ebuild b/media-libs/libsndfile/libsndfile-1.0.28.ebuild new file mode 100644 index 000000000000..7c89653b1719 --- /dev/null +++ b/media-libs/libsndfile/libsndfile-1.0.28.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit autotools python-any-r1 multilib-minimal + +MY_P=${P/_pre/pre} + +DESCRIPTION="A C library for reading and writing files containing sampled sound" +HOMEPAGE="http://www.mega-nerd.com/libsndfile" +if [[ ${MY_P} == ${P} ]]; then + SRC_URI="http://www.mega-nerd.com/libsndfile/files/${P}.tar.gz" +else + SRC_URI="http://www.mega-nerd.com/tmp/${MY_P}b.tar.gz" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +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" +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="${RDEPEND} + virtual/pkgconfig + test? ( ${PYTHON_DEPS} )" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-octave \ + --disable-gcc-pipe \ + $(use_enable static-libs static) \ + $(use_enable !minimal external-libs) \ + $(multilib_native_use_enable alsa) \ + $(multilib_native_use_enable sqlite) + + if ! multilib_is_native_abi; then + # Do not build useless stuff + local i + for i in man doc examples regtest programs; do + sed -i -e "s/ ${i}//" Makefile || die + done + fi +} + +multilib_src_install_all() { + einstalldocs + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +}