public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsndfile/
Date: Mon,  4 Jul 2016 08:49:30 +0000 (UTC)	[thread overview]
Message-ID: <1467622159.dac1517a825128db6cc9096e3d3cfb5b79f29160.aballier@gentoo> (raw)

commit:     dac1517a825128db6cc9096e3d3cfb5b79f29160
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  4 08:49:19 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Jul  4 08:49:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dac1517a

media-libs/libsndfile: bump to 1.0.27

Package-Manager: portage-2.3.0

 media-libs/libsndfile/Manifest                 |  1 +
 media-libs/libsndfile/libsndfile-1.0.27.ebuild | 96 ++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/media-libs/libsndfile/Manifest b/media-libs/libsndfile/Manifest
index af317e7..011edfa 100644
--- a/media-libs/libsndfile/Manifest
+++ b/media-libs/libsndfile/Manifest
@@ -1 +1,2 @@
 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

diff --git a/media-libs/libsndfile/libsndfile-1.0.27.ebuild b/media-libs/libsndfile/libsndfile-1.0.27.ebuild
new file mode 100644
index 0000000..9f602a5
--- /dev/null
+++ b/media-libs/libsndfile/libsndfile-1.0.27.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2016 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
+}
+
+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"
+}


             reply	other threads:[~2016-07-04  8:49 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-04  8:49 Alexis Ballier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10  9:31 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsndfile/ Andreas Sturmlechner
2024-10-07  2:52 Sam James
2024-01-06  9:06 Sam James
2024-01-06  9:06 Sam James
2024-01-06  9:06 Sam James
2024-01-06  9:06 Sam James
2024-01-06  9:06 Sam James
2024-01-05  9:53 Sam James
2023-11-20 14:29 Sam James
2023-09-24 20:15 Miroslav Šulc
2023-09-13 13:41 Sam James
2023-09-13 13:41 Sam James
2023-09-13 13:37 Sam James
2023-09-13 13:37 Sam James
2023-09-13 13:37 Sam James
2023-09-13 13:37 Sam James
2023-08-13 17:07 David Seifert
2023-08-13  9:35 David Seifert
2023-08-13  9:35 David Seifert
2023-02-17  8:13 Miroslav Šulc
2023-02-16 17:13 Michał Górny
2023-02-16  5:09 Sam James
2023-02-16  5:09 Sam James
2023-02-15  1:40 Sam James
2023-02-14 21:43 Sam James
2023-02-14 21:43 Sam James
2023-02-14 21:43 Sam James
2023-02-14 21:43 Sam James
2022-12-26  8:11 Miroslav Šulc
2022-05-19  5:08 WANG Xuerui
2022-05-04 18:52 Miroslav Šulc
2022-05-04  4:01 Sam James
2022-04-24  1:18 Sam James
2022-04-02 12:04 Arthur Zamarin
2022-04-01 11:38 Arthur Zamarin
2022-04-01  6:53 Arthur Zamarin
2022-04-01  5:15 Arthur Zamarin
2022-03-30 20:09 Jakov Smolić
2022-03-30 11:09 Jakov Smolić
2022-03-27 13:30 David Seifert
2022-03-27 13:30 David Seifert
2022-03-27 12:56 David Seifert
2022-03-27 12:56 David Seifert
2022-01-10 12:41 James Le Cuirot
2021-10-27 17:54 Arthur Zamarin
2021-07-13 11:21 Marek Szuba
2021-04-06 10:42 Miroslav Šulc
2021-03-08 10:28 Sam James
2021-03-08 10:28 Sam James
2021-03-08 10:27 Sam James
2021-03-08 10:26 Sam James
2021-03-08 10:25 Sam James
2021-03-08  5:32 Sam James
2021-03-07 23:06 Sam James
2021-01-24 12:52 David Seifert
2021-01-24 12:52 David Seifert
2021-01-06 14:27 Fabian Groffen
2020-11-12  7:48 Miroslav Šulc
2020-11-12  0:35 Thomas Deutschmann
2020-11-04 10:42 Sergei Trofimovich
2020-11-04  8:16 Sergei Trofimovich
2020-11-04  7:58 Sergei Trofimovich
2020-11-04  0:58 Sam James
2020-11-03 22:47 Sergei Trofimovich
2020-11-03 12:52 Sam James
2020-11-02 10:27 Sam James
2020-08-31  9:10 Alexis Ballier
2020-08-23  8:15 Sergei Trofimovich
2020-08-23  8:15 Sergei Trofimovich
2020-04-28 19:23 Mart Raudsepp
2020-04-28 18:11 Sergei Trofimovich
2020-04-27 17:08 Sergei Trofimovich
2020-04-25 10:49 Mikle Kolyada
2020-04-23 10:41 Agostino Sarubbo
2020-04-23 10:09 Agostino Sarubbo
2020-04-17 15:56 Andreas Sturmlechner
2019-10-26 23:11 Thomas Deutschmann
2019-03-20 19:06 Mikle Kolyada
2019-02-09 12:46 David Seifert
2018-11-08 22:59 Sergei Trofimovich
2018-11-04 22:51 Andreas Sturmlechner
2018-10-29  5:39 Markus Meier
2018-10-13  6:56 Tobias Klausmann
2018-10-06 22:08 Sergei Trofimovich
2018-10-06 16:48 Matt Turner
2018-10-05  4:10 Thomas Deutschmann
2018-10-04 22:36 Sergei Trofimovich
2018-10-04  8:32 Mikle Kolyada
2018-10-03 18:52 Andreas Sturmlechner
2018-10-03 18:52 Andreas Sturmlechner
2018-10-02 10:58 Tobias Klausmann
2018-09-24 18:17 Markus Meier
2018-09-22 11:31 Sergei Trofimovich
2018-09-22 11:14 Sergei Trofimovich
2018-09-22 11:10 Sergei Trofimovich
2018-09-19 19:51 Sergei Trofimovich
2018-09-19 17:35 Thomas Deutschmann
2018-09-19 11:54 Mikle Kolyada
2018-09-18 17:18 Matt Turner
2018-09-18 17:18 Matt Turner
2018-09-18 16:24 Andreas Sturmlechner
2018-04-09  0:06 Aaron Bauman
2018-03-15 15:23 Mikle Kolyada
2017-10-14 19:23 David Seifert
2017-06-05 16:31 David Seifert
2017-05-19 22:29 Sergei Trofimovich
2017-05-15 20:16 Michael Weber
2017-05-12 17:56 Tobias Klausmann
2017-05-10 15:44 Agostino Sarubbo
2017-05-10 13:55 Jeroen Roovers
2017-05-10  9:32 Agostino Sarubbo
2017-05-09 18:58 David Seifert
2017-04-14 16:28 Michał Górny
2017-04-04  8:58 Lars Wendler
2016-11-22 19:35 David Seifert
2016-07-04  8:56 Alexis Ballier
2016-07-04  8:56 Alexis Ballier
2016-01-26  8:51 Justin Lecher
2015-12-27  9:56 Mikle Kolyada
2015-12-09 11:14 Agostino Sarubbo
2015-12-05 12:46 Markus Meier
2015-11-30  6:03 Jeroen Roovers
2015-11-25  8:54 Agostino Sarubbo
2015-11-24 14:24 Jeroen Roovers
2015-11-23 23:48 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467622159.dac1517a825128db6cc9096e3d3cfb5b79f29160.aballier@gentoo \
    --to=aballier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox