From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB0731384B4 for ; Mon, 23 Nov 2015 23:48:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8E4A021C012; Mon, 23 Nov 2015 23:48:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B46021C012 for ; Mon, 23 Nov 2015 23:48:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACAB334085D for ; Mon, 23 Nov 2015 23:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CDE3A7F for ; Mon, 23 Nov 2015 23:48:30 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1448322506.9c4b7d38cca7de8c15a17adcd077c4825a6bf077.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsndfile/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsndfile/Manifest media-libs/libsndfile/libsndfile-1.0.26.ebuild X-VCS-Directories: media-libs/libsndfile/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 9c4b7d38cca7de8c15a17adcd077c4825a6bf077 X-VCS-Branch: master Date: Mon, 23 Nov 2015 23:48:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f7af3e14-5c7f-4348-9e23-6fc9aab3c751 X-Archives-Hash: 719258ada73ad7da13a6f8e6396572dc commit: 9c4b7d38cca7de8c15a17adcd077c4825a6bf077 Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 23 23:48:14 2015 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 23 23:48:26 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c4b7d38 media-libs/libsndfile: Security bump to version 1.0.26 (bug #566680). Package-Manager: portage-2.2.25 Signed-off-by: Lars Wendler gentoo.org> media-libs/libsndfile/Manifest | 1 + media-libs/libsndfile/libsndfile-1.0.26.ebuild | 97 ++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest index ccde3aa..a45ef2e 100644 --- a/media-libs/libsndfile/Manifest +++ b/media-libs/libsndfile/Manifest @@ -1 +1,2 @@ DIST libsndfile-1.0.25.tar.gz 1060692 SHA256 59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882 SHA512 4ca9780ed0a915aca8a10ef91bf4bf48b05ecb85285c2c3fe7eef1d46d3e0747e61416b6bddbef369bd69adf4b796ff5f61380e0bc998906b170a93341ba6f78 WHIRLPOOL 37ef0a66f11d3f60741fe40bce2b255f44284cf78f7c762542def2aab0eefed1360181bb7f29b9850c11e8672a78bc5a687bc04f2cc349e45dfd24721bea8f29 +DIST libsndfile-1.0.26.tar.gz 1080727 SHA256 cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092 SHA512 49a131482f9735e2f171ab7b59770cafc6b92e177f88bed9d2e6189390abc5aa473081dce3e4ec3c0e32b6f3d8c19901136b3df15b9222c11b578f522e88257e WHIRLPOOL 30ea43dab113a4e0fd5cf65e340f50943dae2a100a8b029473adb3c21f388d05a7e124d6219b25c22dc29efa3ab24a600eec958b435f7a050129e17d809e89fb diff --git a/media-libs/libsndfile/libsndfile-1.0.26.ebuild b/media-libs/libsndfile/libsndfile-1.0.26.ebuild new file mode 100644 index 0000000..d53ee79 --- /dev/null +++ b/media-libs/libsndfile/libsndfile-1.0.26.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_PRUNE_LIBTOOL_FILES=all +PYTHON_COMPAT=( python2_7 pypy ) +inherit autotools-multilib flag-o-matic python-any-r1 + +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 ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r6 + !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( ${PYTHON_DEPS} )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # fix adding largefile flags on amd64 multilib + # https://github.com/erikd/libsndfile/commit/d464da7dba4d5 + sed -i -e 's:AC_SYS_EXTRA_LARGEFILE:AC_SYS_LARGEFILE:' configure.ac || die + sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' {examples,tests}/Makefile.am || die + + local PATCHES=( + "${FILESDIR}"/${PN}-1.0.17-regtests-need-sqlite.patch + "${FILESDIR}"/${PN}-1.0.25-make.patch + ) + + AT_M4DIR=M4 \ + autotools-multilib_src_prepare + epunt_cxx +} + +src_configure() { + my_configure() { + local myeconfargs=( + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + $(use_enable static-libs static) + $(use_enable !minimal external-libs) + --disable-octave + --disable-gcc-pipe + ) + + if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then + myeconfargs+=( + $(use_enable alsa) + $(use_enable sqlite) + ) + else + myeconfargs+=( + --disable-alsa + --disable-sqlite + ) + fi + + autotools-utils_src_configure + + if [ "${ABI}" != "${DEFAULT_ABI}" ] ; then + # Do not build useless stuff. + for i in man doc examples regtest programs ; do + sed -i -e "s/ ${i}//" "${BUILD_DIR}/Makefile" || die + done + fi + } + + multilib_parallel_foreach_abi my_configure +} + +src_install() { + # note: --htmldir support fixed upstream already, + # next version should pass --htmldir to configure instead + autotools-multilib_src_install \ + htmldocdir="${EPREFIX}/usr/share/doc/${PF}/html" +}