summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-01-04 09:36:29 +0000
committerTim Harder <radhermit@gentoo.org>2012-01-04 09:36:29 +0000
commitd4fb218f1eb6ab0d1cdbb68fee37e1f21f14437c (patch)
tree543ae25ab658cd4925c7149de74368cda4fcdb99 /media-sound
parentmedia-sound/mp3splt: 2.4.1 (diff)
downloadhistorical-d4fb218f1eb6ab0d1cdbb68fee37e1f21f14437c.tar.gz
historical-d4fb218f1eb6ab0d1cdbb68fee37e1f21f14437c.tar.bz2
historical-d4fb218f1eb6ab0d1cdbb68fee37e1f21f14437c.zip
Version bump. Drop esound support.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/snd/ChangeLog9
-rw-r--r--media-sound/snd/Manifest18
-rw-r--r--media-sound/snd/snd-12.7.ebuild121
3 files changed, 138 insertions, 10 deletions
diff --git a/media-sound/snd/ChangeLog b/media-sound/snd/ChangeLog
index adcce54fae55..0c75c312f27c 100644
--- a/media-sound/snd/ChangeLog
+++ b/media-sound/snd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/snd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.58 2011/11/11 07:00:38 radhermit Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.59 2012/01/04 09:36:29 radhermit Exp $
+
+*snd-12.7 (04 Jan 2012)
+
+ 04 Jan 2012; Tim Harder <radhermit@gentoo.org> +snd-12.7.ebuild:
+ Version bump. Drop esound support.
*snd-12.6 (11 Nov 2011)
diff --git a/media-sound/snd/Manifest b/media-sound/snd/Manifest
index 9c8c6ba3b72e..5fc50a1d6ef1 100644
--- a/media-sound/snd/Manifest
+++ b/media-sound/snd/Manifest
@@ -4,20 +4,22 @@ Hash: SHA512
AUX snd-12.6-as-needed.patch 1177 RMD160 85bca872e5467c1eb069711862425ba5d9aec7ea SHA1 bc4ef3136be5ab4726325f9330a8e8d5c9162ee0 SHA256 0d49e78e13d301975fd7052706da21f478830353926ef600decff44fbc3b15ab
DIST snd-12.5.tar.gz 15458830 RMD160 4957c61a6a116b907f3d6a11d0c63482eafe30d9 SHA1 69d38942f433f768ae18de8a96b3ab02b4389966 SHA256 ce6055a9277445fc9132b303f473e49b1771f8072f148db4eef44505518913d5
DIST snd-12.6.tar.gz 15475491 RMD160 f0e893d15b01e8827713638e89bf706b6a5a5980 SHA1 b2a103d059a5d1453356f5db6152f303ebca6147 SHA256 ea273c1d717e8c8b6140d9294678567f91c5216e283789989158d7fd8a1b9c91
+DIST snd-12.7.tar.gz 15545295 RMD160 c34f8f18d39c358d7ff37d8f1a85067c46a1821b SHA1 a24b3fbbc429f89275c463ebbddf7636d238236c SHA256 7da276c4ad9163d77f92847a5d535cda8a5b28bb153bb5ba1bcac29be41aefb8
DIST snd-9.11.tar.gz 13455864 RMD160 9c4137114f9056efaba66aed6e7140f4f4e6e671 SHA1 950c6336bae0e2ccf5eae62b037572bc7ddabcf7 SHA256 364fa4ee39d9909e7cffc400aff5723712bfa19960ecb2271d83bf2fe1909165
EBUILD snd-12.5.ebuild 2776 RMD160 380a1dd95277c70955f366ac62c0d6613b33435b SHA1 f49b23850fbd793f5f35789b2ce35459c69ca4e8 SHA256 3520e2222557b9595285e78da3f4104d6e0c32231ddd9a7a08fd53440163b126
EBUILD snd-12.6.ebuild 2822 RMD160 9e76a6da4e6139274b2f149a722ebc098f03d03c SHA1 95da5b1d17cb48092a0d0a6be2fdc60e01d5b557 SHA256 c3355e46f6aabfe5a693d89a703b620bfcd9b68e22dc3183c65eeae119b7dc62
+EBUILD snd-12.7.ebuild 2777 RMD160 48e9e7ec0aea58a3835031c3c944eb056cb6b07a SHA1 6c5d0e3548b2424eecda816db3cdee638770c24b SHA256 a3e87aed7abcb7e8baa11a93d279c12e70869862c149c9f3390546ee0c5f9722
EBUILD snd-9.11.ebuild 2835 RMD160 2011c4983b64f19d786189d94ea9a3d647be0e8d SHA1 bbec539101f38ec0df4a147e3901499ab70be590 SHA256 f01f1a8b54f0844b4ed2b81d0ef6bae8ac96366e38dba79e433ece3d201b5031
-MISC ChangeLog 7234 RMD160 54334f6216ad920a90f920ceb8a92eb71fe9cc8a SHA1 f05c8c693ab602900adb462f5d4b277860b360b6 SHA256 79e139091192c564e51e4bd9ee993ea336b5d8663dc0b528cffe47a166733603
+MISC ChangeLog 7364 RMD160 e1b0ede2f915e62767b78ee12a114712b5d1d89a SHA1 25c5cde3fbc909532c0036755d83c7740eba2982 SHA256 643fa92663f4a11bfbfeab3708be4ba625512e0d2ffa308ab46a540e23a30420
MISC metadata.xml 345 RMD160 35aceb8586b9131dcc28142f84ea25be1718ca53 SHA1 8e393cbe8f3b11aee18395c8c0118299389d0f8a SHA256 3741b79dc78313e9e04fdf9ee684d4f0671eabf197d0fef67b4403d430ec70f1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJOvMgkAAoJEEqz6FtPBkyjdY4IALjx4pKGzxt8pLCTEjSEvlBd
-LW96vRkmx5p379bspscCohci33MCOq0m9vaBYTeyBA/zK9Lrv5nxOnDv27svBRg3
-higRluo7btwVV48p2XneSa1PH7t/xG2Hna33UmCa0uh+f24WI8mVA1Jl50UPsF6/
-8CkVqsiJJplBbVW+0FiGzZ2tVfhccXb7ZibiHQN61WOg/rezwtCDtiZ/U8hynI0A
-alm7riJRcRV0MGOafUv7F30AyyhoSmOxiymEaQT4isHUKxQ+Zk7pi2jCwnUIuhTk
-h8p76t10Az8mDl2WoMyyCuiMN+ynIamaJRhdL9Fp6hobCFxtzw1D9c/pphFqtlo=
-=3Iqx
+iQEcBAEBCgAGBQJPBB2jAAoJEEqz6FtPBkyjyRkIAI2iBC8xN9WeF5sbp6OxxMN9
+7HRXD1OhYcfJaS0dz+DbuT6g/yyMOcGJm2fMlTwFOqlts6ys7vEaT/AHHCXtUTH9
+eUOXqxWtynY13B3VxnNQos2RAbg/361kLP6ype68qKciHAQFfB5vbNNXVx3rj2cM
+/fgt5JAZHoAGJy/+iYsjn3Zq1BydL/DHLpjMEAhkuJN6mkkjLwlBrfGM7DZdf/BB
+VMUBiElCK7SpGQRLvnPrwW1XTp47nJWop1JlmPNCKxEUOlAeIHyCpMBTG49Krb2Q
+7awYpIk6ZBpcQxCb17c6x5IOuWByLR+LG/pBX63Sb6XxgESu3KwF2skMd0PMxGw=
+=vrLe
-----END PGP SIGNATURE-----
diff --git a/media-sound/snd/snd-12.7.ebuild b/media-sound/snd/snd-12.7.ebuild
new file mode 100644
index 000000000000..2d1d4a9d4b9f
--- /dev/null
+++ b/media-sound/snd/snd-12.7.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-12.7.ebuild,v 1.1 2012/01/04 09:36:29 radhermit Exp $
+
+EAPI="4"
+
+inherit multilib flag-o-matic autotools
+
+DESCRIPTION="Snd is a sound editor"
+HOMEPAGE="http://ccrma.stanford.edu/software/snd/"
+SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
+IUSE="alsa doc fam fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7"
+
+RDEPEND="media-libs/audiofile
+ alsa? ( media-libs/alsa-lib )
+ fam? ( virtual/fam )
+ fftw? ( sci-libs/fftw )
+ gmp? ( dev-libs/gmp
+ dev-libs/mpc
+ dev-libs/mpfr )
+ gsl? ( sci-libs/gsl )
+ gtk? ( x11-libs/gtk+:3
+ x11-libs/pango
+ x11-libs/cairo
+ opengl? ( x11-libs/gtkglext ) )
+ jack? ( media-sound/jack-audio-connection-kit )
+ ladspa? ( media-libs/ladspa-sdk )
+ motif? ( >=x11-libs/openmotif-2.3:0 )
+ opengl? ( virtual/opengl )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ readline? ( sys-libs/readline )
+ ruby? ( dev-lang/ruby )"
+
+REQUIRED_USE="^^ (
+ ( !ruby !s7 )
+ ( ruby !s7 )
+ ( !ruby s7 )
+ )"
+
+pkg_setup() {
+ if ! use gtk && ! use motif ; then
+ ewarn "Warning: no graphic toolkit selected (gtk or motif)."
+ ewarn "Upstream suggests to enable one of the toolkits (or both)"
+ ewarn "or only the command line utilities will be helpful."
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-12.6-as-needed.patch
+ sed -i -e "s:-O2 ::" configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ # Workaround executable sections QA warning (bug #348754)
+ append-ldflags -Wl,-z,noexecstack
+
+ local myconf
+ if use opengl ; then
+ myconf+=" --with-just-gl"
+ else
+ myconf+=" --without-gl"
+ fi
+
+ if ! use ruby && ! use s7 ; then
+ myconf+=" --without-extension-language"
+ fi
+
+ econf \
+ $(use_with alsa) \
+ $(use_with fam) \
+ $(use_with fftw) \
+ $(use_with gmp) \
+ $(use_with gsl) \
+ $(use_with gtk) \
+ $(use_with jack) \
+ $(use_with ladspa) \
+ $(use_with motif) \
+ $(use_with oss) \
+ $(use_with portaudio) \
+ $(use_with pulseaudio) \
+ $(use_enable readline) \
+ $(use_with ruby) \
+ $(use_with s7) \
+ --with-float-samples \
+ ${myconf}
+
+}
+
+src_compile() {
+ emake snd
+
+ # Do not compile ruby extensions for command line programs since they fail
+ sed -i -e "s:HAVE_RUBY 1:HAVE_RUBY 0:" mus-config.h
+
+ for i in sndinfo audinfo sndplay ; do
+ emake ${i}
+ done
+}
+
+src_install () {
+ dobin snd sndplay sndinfo audinfo
+
+ if use ruby ; then
+ insinto /usr/share/snd
+ doins *.rb
+ fi
+
+ if use s7 ; then
+ insinto /usr/share/snd
+ doins *.scm
+ fi
+
+ dodoc README.Snd HISTORY.Snd NEWS
+ use doc && dohtml -r *.html pix/*.png tutorial
+}