diff options
author | John J. Ellis <jje@gentoo.org> | 2003-09-26 07:21:27 +0000 |
---|---|---|
committer | John J. Ellis <jje@gentoo.org> | 2003-09-26 07:21:27 +0000 |
commit | 65ace8c8df3b24e0660b6f96433c766d8fd050e5 (patch) | |
tree | 780cc966508fb5e3d3d2066fd776d99c3c653e76 /media-sound/sox | |
parent | Improved USE flag usage. Closes #29375. (diff) | |
download | historical-65ace8c8df3b24e0660b6f96433c766d8fd050e5.tar.gz historical-65ace8c8df3b24e0660b6f96433c766d8fd050e5.tar.bz2 historical-65ace8c8df3b24e0660b6f96433c766d8fd050e5.zip |
Improved USE flag usage. Closes #29375.
Diffstat (limited to 'media-sound/sox')
-rw-r--r-- | media-sound/sox/Manifest | 4 | ||||
-rw-r--r-- | media-sound/sox/files/digest-sox-12.17.4-r1 | 1 | ||||
-rw-r--r-- | media-sound/sox/sox-12.17.4-r1.ebuild | 47 |
3 files changed, 50 insertions, 2 deletions
diff --git a/media-sound/sox/Manifest b/media-sound/sox/Manifest index a56182d7722d..79d0a3f42c47 100644 --- a/media-sound/sox/Manifest +++ b/media-sound/sox/Manifest @@ -1,8 +1,8 @@ -MD5 04032031699c9e4c293234c0b4068270 ChangeLog 1435 +MD5 4f97c398665e5811e5eb58eb0ee6746a ChangeLog 1589 MD5 80ef2c4549c13713211a0f991daefdc6 sox-12.17.3-r1.ebuild 905 MD5 70dff6a0bc707c5e0117e3f1459a332e sox-12.17.3-r3.ebuild 1058 MD5 de5d53ed1c77fbf1c28c88b08e8ae0af sox-12.17.4.ebuild 931 -MD5 f79047836e1469f68e81919a4818f1fd sox-12.17.4-r1.ebuild 1188 +MD5 0cb1d562b3b5891a3c8f73e371d81c6c sox-12.17.4-r1.ebuild 1280 MD5 a27f4560530e1dcd5ee4ff1bc4a6f921 files/digest-sox-12.17.3-r1 63 MD5 a27f4560530e1dcd5ee4ff1bc4a6f921 files/digest-sox-12.17.3-r3 63 MD5 64aef0b430e70836aae794f8e91ea8dc files/digest-sox-12.17.4 63 diff --git a/media-sound/sox/files/digest-sox-12.17.4-r1 b/media-sound/sox/files/digest-sox-12.17.4-r1 new file mode 100644 index 000000000000..3d925bc031be --- /dev/null +++ b/media-sound/sox/files/digest-sox-12.17.4-r1 @@ -0,0 +1 @@ +MD5 39bdb64e06a8c456057e87eff7d0b339 sox-12.17.4.tar.gz 417497 diff --git a/media-sound/sox/sox-12.17.4-r1.ebuild b/media-sound/sox/sox-12.17.4-r1.ebuild new file mode 100644 index 000000000000..19190a59920e --- /dev/null +++ b/media-sound/sox/sox-12.17.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sox/sox-12.17.4-r1.ebuild,v 1.1 2003/09/26 07:21:17 jje Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="The swiss army knife of sound processing programs" +HOMEPAGE="http://sox.sourceforge.net" +SRC_URI="mirror://sourceforge/sox/${P}.tar.gz" + +IUSE="alsa oss oggvorbis mad encode" +KEYWORDS="~x86" +SLOT="0" +LICENSE="LGPL-2.1" + +DEPEND="virtual/glibc + oggvorbis? media-libs/libvorbis + mad? media-sound/mad" + +src_compile () { + # 12.17.4 has mp3 encoding/decoding if you have madlibs and lame + # using alsa by default + local myconf + + use oggvorbis || myconf="${myconf} --disable-ogg-vorbis" + use mad || myconf="${myconf} --disable-mad" + use encode || myconf="${myconf} --disable-lame" + use alsa || myconf="${myconf} --disable-alsa-dsp" + use oss || myconf="${myconf} --disable-oss-dsp" + + econf ${myconf} --enable-fast-ulaw --enable-fast-alaw || die + emake || die +} + +src_install () { + into /usr + dobin sox play soxeffect soxmix + doman sox.1 play.1 soxexam.1 + dodoc Changelog Copyright README TODO *.txt +} + +pkg_postinst () { + # the rec binary doesnt exist anymore + if([ ! -e /usr/bin/rec ]) then + ln -s /usr/bin/play /usr/bin/rec + fi +} + |