From: "Aric Belsito" <lluixhi@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: media-sound/sox/
Date: Tue, 6 Dec 2016 21:01:21 +0000 (UTC) [thread overview]
Message-ID: <1481056060.7f6b7c2976aee469cc7e3ba0b9d75df6817b153f.lluixhi@gentoo> (raw)
commit: 7f6b7c2976aee469cc7e3ba0b9d75df6817b153f
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Tue Dec 6 20:27:40 2016 +0000
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Tue Dec 6 20:27:40 2016 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=7f6b7c29
media-sound/sox: Add current version
This is a hack from voidlinux, though it still appears to work.
media-sound/sox/Manifest | 3 ++
media-sound/sox/metadata.xml | 17 +++++++++
media-sound/sox/sox-14.4.2.ebuild | 78 +++++++++++++++++++++++++++++++++++++++
3 files changed, 98 insertions(+)
diff --git a/media-sound/sox/Manifest b/media-sound/sox/Manifest
new file mode 100644
index 0000000..8b0086c
--- /dev/null
+++ b/media-sound/sox/Manifest
@@ -0,0 +1,3 @@
+DIST sox-14.4.2.tar.gz 1134299 SHA256 b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3bb55f6c SHA512 b5c6203f4f5577503a034fe5b3d6a033ee97fe4d171c533933e2b036118a43a14f97c9668433229708609ccf9ee16abdeca3fc7501aa0aafe06baacbba537eca WHIRLPOOL dbed6c60eb96cf946168666d39d3310c669e22136a982dc3547125a30214916e8ab99542dee124d5dc570d32dda8921ff003e6bfe9fd6292d82df2344b9d5fdb
+EBUILD sox-14.4.2.ebuild 2238 SHA256 8f21d8797b63eaf820f824d2018d6c2e277b85a837f40983d4b7b72791ce8181 SHA512 52afa8e89fb06a7a01060c2ff3cdefd9c7d5fff60114fd4550cb349227a332dacac0ea2950a3f7483b2ec7aff258858ae5a134680d2d7910a5be591fd16381a7 WHIRLPOOL de52063255c9def248c21ef9de56df6f77fcc4dca0f92025517c5e45bf604701f85083e973c4684bbf92252c31866296020c1352063b45d392751492f457e9ae
+MISC metadata.xml 640 SHA256 e7158b621ed98fd47ede8aaf4e737bbfd85f231c66467e5aca0c1b60c9995a91 SHA512 0c7363b16df0333f4496a8e2ecb8c267cd1b23b1d946964fd2ff096a98313384f4f9d94e30791464076fe318d6bf7e5f1d4ef6f6a41a020ef1c197988c811862 WHIRLPOOL 1a3a84612528b96ef1e9093ee8de833f78f94d8208334cdc76caf9da5b7b47246eb1cce0885fc06bf209f7144d6c27063c331195762c460480e6b4e8bc3dcc9e
diff --git a/media-sound/sox/metadata.xml b/media-sound/sox/metadata.xml
new file mode 100644
index 0000000..75d285d
--- /dev/null
+++ b/media-sound/sox/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <use>
+ <flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
+ <flag name="id3tag">Enables ID3 tagging with id3tag library</flag>
+ <flag name="opus">Enables reading Ogg Opus files.</flag>
+ <flag name="twolame">Enables twolame support (MPEG Audio Layer 2 encoder)</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">sox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/sox/sox-14.4.2.ebuild b/media-sound/sox/sox-14.4.2.ebuild
new file mode 100644
index 0000000..1853f30
--- /dev/null
+++ b/media-sound/sox/sox-14.4.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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 ~x86-freebsd ~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() {
+ sed -i -e 's:CFLAGS="-g":CFLAGS="$CFLAGS -g":' configure.ac || die #386027
+ sed -i '/error FIX NEEDED HERE/d' src/formats.c || die
+
+ 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:=.*:='':" {} +
+}
next reply other threads:[~2016-12-06 21:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-06 21:01 Aric Belsito [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-03 0:15 [gentoo-commits] proj/musl:master commit in: media-sound/sox/ Aric Belsito
2022-07-18 18:22 John Helmert III
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=1481056060.7f6b7c2976aee469cc7e3ba0b9d75df6817b153f.lluixhi@gentoo \
--to=lluixhi@gmail.com \
--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