From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F052138334 for ; Mon, 11 Jun 2018 00:04:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4A2EE08D9; Mon, 11 Jun 2018 00:04:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49C92E08D9 for ; Mon, 11 Jun 2018 00:04:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36446335C91 for ; Mon, 11 Jun 2018 00:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E29D29E for ; Mon, 11 Jun 2018 00:04:49 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1528675459.1ce8b82d78677ca41b6e7be548f45d9397765986.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sox/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/sox/sox-14.4.2-r1.ebuild X-VCS-Directories: media-sound/sox/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1ce8b82d78677ca41b6e7be548f45d9397765986 X-VCS-Branch: master Date: Mon, 11 Jun 2018 00:04:49 +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: bd89bd49-8714-421c-8ab3-57978434bd88 X-Archives-Hash: ffbde82bda8d89a8ba4f1cf4ac4f9a40 commit: 1ce8b82d78677ca41b6e7be548f45d9397765986 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jun 10 22:53:32 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jun 11 00:04:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce8b82d media-sound/sox: EAPI-6 bump Package-Manager: Portage-2.3.40, Repoman-2.3.9 media-sound/sox/sox-14.4.2-r1.ebuild | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/media-sound/sox/sox-14.4.2-r1.ebuild b/media-sound/sox/sox-14.4.2-r1.ebuild new file mode 100644 index 00000000000..083f3c74e4c --- /dev/null +++ b/media-sound/sox/sox-14.4.2-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="The swiss army knife of sound processing programs" +HOMEPAGE="http://sox.sourceforge.net" +SRC_URI="mirror://sourceforge/sox/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="alsa amr ao debug encode flac id3tag ladspa mad ogg openmp oss opus png pulseaudio sndfile static-libs twolame wavpack" + +RDEPEND=" + dev-libs/libltdl:0= + >=media-sound/gsm-1.0.12-r1 + alsa? ( media-libs/alsa-lib ) + amr? ( media-libs/opencore-amr ) + ao? ( media-libs/libao ) + encode? ( >=media-sound/lame-3.98.4 ) + flac? ( >=media-libs/flac-1.1.3 ) + id3tag? ( media-libs/libid3tag ) + ladspa? ( media-libs/ladspa-sdk ) + mad? ( media-libs/libmad ) + ogg? ( media-libs/libvorbis media-libs/libogg ) + opus? ( media-libs/opus media-libs/opusfile ) + png? ( media-libs/libpng:0= sys-libs/zlib ) + pulseaudio? ( media-sound/pulseaudio ) + sndfile? ( >=media-libs/libsndfile-1.0.11 ) + twolame? ( media-sound/twolame ) + wavpack? ( media-sound/wavpack )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + default + sed -i -e 's:CFLAGS="-g":CFLAGS="$CFLAGS -g":' configure.ac || die #386027 + eautoreconf +} + +src_configure() { + econf \ + $(use_with alsa) \ + $(use_with amr amrnb) \ + $(use_with amr amrwb) \ + $(use_with ao) \ + $(use_enable debug) \ + $(use_with encode lame) \ + $(use_with flac) \ + $(use_with id3tag) \ + $(use_with ladspa) \ + $(use_with mad) \ + $(use_enable openmp) \ + $(use_with ogg oggvorbis) \ + $(use_with oss) \ + $(use_with opus) \ + $(use_with png) \ + $(use_with pulseaudio) \ + $(use_with sndfile) \ + $(use_enable static-libs static) \ + $(use_with twolame) \ + $(use_with wavpack) \ + --with-distro="Gentoo" +} + +src_install() { + default + # libltdl is used for loading plugins, keeping libtool files with empty + # dependency_libs what otherwise would be -exec rm -f {} + + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +}