From: Diego Elio Pettenò Date: Wed, 15 Nov 2006 21:36:10 +0000 (+0000) Subject: Also build command line utilities, warn if no toolkit is choosen, add missing depende... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d43cfd924d145f5784f201148224deb179ff1a44;p=gentoo.git Also build command line utilities, warn if no toolkit is choosen, add missing dependency over gtkglext. Thanks to Alessio Cassiba in bug #112695. Package-Manager: portage-2.1.2_rc1-r7 --- diff --git a/media-sound/snd/ChangeLog b/media-sound/snd/ChangeLog index 49e01cf0011c..ad4a9bef3dcf 100644 --- a/media-sound/snd/ChangeLog +++ b/media-sound/snd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/snd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.25 2006/01/27 22:10:38 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.26 2006/11/15 21:36:10 flameeyes Exp $ + +*snd-7.15-r1 (15 Nov 2006) + + 15 Nov 2006; Diego Pettenò +snd-7.15-r1.ebuild: + Also build command line utilities, warn if no toolkit is choosen, add + missing dependency over gtkglext. Thanks to Alessio Cassiba in bug #112695. 27 Jan 2006; Andrej Kacian snd-7.15.ebuild: Removed modular X dependencies, as they're all provided by other depend diff --git a/media-sound/snd/Manifest b/media-sound/snd/Manifest index bcfec4cfedc6..8bac2af75e2c 100644 --- a/media-sound/snd/Manifest +++ b/media-sound/snd/Manifest @@ -1,16 +1,41 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 ee6adf8e7558737b8056cce9fbbbbc8c ChangeLog 3132 -MD5 64e6271ddc8b655bf67b620f325dc01d files/digest-snd-7.10 61 -MD5 fd589e474be593bb2e56ca029a6ca4f3 files/digest-snd-7.15 61 -MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252 +DIST snd-7.10.tar.gz 5949277 +DIST snd-7.15.tar.gz 6546108 RMD160 c28a2a1c19ca404b47061644d42700bc6bdf6396 SHA1 17d092df3e85c2eed7b17d1c8ebcadfc8db6f272 SHA256 97b3156746b310e74a4cb61bccd9f806e3525e7ea092c322a5e63e406c0d6600 +EBUILD snd-7.10.ebuild 1677 RMD160 e91680973ecb8c3adc3f8b43a7e3a4fd0cb8b8aa SHA1 29389040a20fad20217c39aae732a919607b4a0d SHA256 3eacfb91c35e914fef6b2ca4c75df7798b8720badfb3ccf3b42a94611a82b1ff MD5 0f65d306cdb9269f20d386413bd1e992 snd-7.10.ebuild 1677 +RMD160 e91680973ecb8c3adc3f8b43a7e3a4fd0cb8b8aa snd-7.10.ebuild 1677 +SHA256 3eacfb91c35e914fef6b2ca4c75df7798b8720badfb3ccf3b42a94611a82b1ff snd-7.10.ebuild 1677 +EBUILD snd-7.15-r1.ebuild 2091 RMD160 1cd849b836834be05b8ca151a6f5f3a5fae64915 SHA1 72ea7b0f45b9aa45eb1e3f154a6afe8465594fcb SHA256 963f3502a170b253a2e401c8ae2d052aaaf0d12f778e4a7c97bc2d2917c43718 +MD5 022bf15fb1d3f9cab0b5f653ff2b60bf snd-7.15-r1.ebuild 2091 +RMD160 1cd849b836834be05b8ca151a6f5f3a5fae64915 snd-7.15-r1.ebuild 2091 +SHA256 963f3502a170b253a2e401c8ae2d052aaaf0d12f778e4a7c97bc2d2917c43718 snd-7.15-r1.ebuild 2091 +EBUILD snd-7.15.ebuild 1652 RMD160 bc5409a05aadb8b0a98340c0aa1c0f227e889c5c SHA1 5554e0e2a6a94976928d7dbd010d5d9e110bf8af SHA256 73812d27855155bdda74f62393bfc87b0369f9d67d10d34cffab91d8362e3466 MD5 b322a41ccef77238b20399f1c6c8d9f5 snd-7.15.ebuild 1652 +RMD160 bc5409a05aadb8b0a98340c0aa1c0f227e889c5c snd-7.15.ebuild 1652 +SHA256 73812d27855155bdda74f62393bfc87b0369f9d67d10d34cffab91d8362e3466 snd-7.15.ebuild 1652 +MISC ChangeLog 3389 RMD160 ab09ecd5a48c1adbf23a893d7d57b0792d0e2284 SHA1 135e9a9884cff2d699e8804d6bec47bd26cdd596 SHA256 177855dbfaed8ddad206af44326ab7ec0646d834104568670c43d22dd4e7aaac +MD5 3e76d4af78bfd952a2ae90928b3582f5 ChangeLog 3389 +RMD160 ab09ecd5a48c1adbf23a893d7d57b0792d0e2284 ChangeLog 3389 +SHA256 177855dbfaed8ddad206af44326ab7ec0646d834104568670c43d22dd4e7aaac ChangeLog 3389 +MISC metadata.xml 252 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a SHA1 6e5cc1551616801a2f257d688e6fc286044c3499 SHA256 5ab00710d822d203a1a38e1b6a9754137de4fe2cf5c4e79470419ed3f3927450 +MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252 +RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a metadata.xml 252 +SHA256 5ab00710d822d203a1a38e1b6a9754137de4fe2cf5c4e79470419ed3f3927450 metadata.xml 252 +MD5 64e6271ddc8b655bf67b620f325dc01d files/digest-snd-7.10 61 +RMD160 189e467ec6a3c83503ac3946ab12b76d20ef615d files/digest-snd-7.10 61 +SHA256 b81c2b812b8e087dcaba2aee9e5fb3853821b2520476f1139145ea26759794a8 files/digest-snd-7.10 61 +MD5 dad6baa954ce5f772367b34be0f04740 files/digest-snd-7.15 229 +RMD160 4043a9113c4630933643304890738bb81e074732 files/digest-snd-7.15 229 +SHA256 919bcddb4605cc4cb7b7ea173dc99e9ebf70f68f7f0cd94ccaabd431ff16680e files/digest-snd-7.15 229 +MD5 dad6baa954ce5f772367b34be0f04740 files/digest-snd-7.15-r1 229 +RMD160 4043a9113c4630933643304890738bb81e074732 files/digest-snd-7.15-r1 229 +SHA256 919bcddb4605cc4cb7b7ea173dc99e9ebf70f68f7f0cd94ccaabd431ff16680e files/digest-snd-7.15-r1 229 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFD2ppuQlM6RnzZP+IRAmcpAJ47nmjBOFkM/pzciF3cSilCqMFzdgCgtOzl -RIHTEwLOilcoJdjHdo+T3ls= -=oLyc +iD8DBQFFW4hWAiZjviIA2XgRAkgWAKC4QYsgip0ZG5N+MK2M6mScr5+z7wCgiv5t +MkQBsaldjQaperr855GEN64= +=D8YI -----END PGP SIGNATURE----- diff --git a/media-sound/snd/files/digest-snd-7.15 b/media-sound/snd/files/digest-snd-7.15 index dfb7e8743e62..95fb6e1e28e5 100644 --- a/media-sound/snd/files/digest-snd-7.15 +++ b/media-sound/snd/files/digest-snd-7.15 @@ -1 +1,3 @@ MD5 7b9ca7369ead7209555f0946b81a377d snd-7.15.tar.gz 6546108 +RMD160 c28a2a1c19ca404b47061644d42700bc6bdf6396 snd-7.15.tar.gz 6546108 +SHA256 97b3156746b310e74a4cb61bccd9f806e3525e7ea092c322a5e63e406c0d6600 snd-7.15.tar.gz 6546108 diff --git a/media-sound/snd/files/digest-snd-7.15-r1 b/media-sound/snd/files/digest-snd-7.15-r1 new file mode 100644 index 000000000000..95fb6e1e28e5 --- /dev/null +++ b/media-sound/snd/files/digest-snd-7.15-r1 @@ -0,0 +1,3 @@ +MD5 7b9ca7369ead7209555f0946b81a377d snd-7.15.tar.gz 6546108 +RMD160 c28a2a1c19ca404b47061644d42700bc6bdf6396 snd-7.15.tar.gz 6546108 +SHA256 97b3156746b310e74a4cb61bccd9f806e3525e7ea092c322a5e63e406c0d6600 snd-7.15.tar.gz 6546108 diff --git a/media-sound/snd/snd-7.15-r1.ebuild b/media-sound/snd/snd-7.15-r1.ebuild new file mode 100644 index 000000000000..e7282d05b149 --- /dev/null +++ b/media-sound/snd/snd-7.15-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-7.15-r1.ebuild,v 1.1 2006/11/15 21:36:10 flameeyes Exp $ + +inherit multilib + +S="${WORKDIR}/${P/\.*//}" +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 ~sparc ~x86" +IUSE="alsa esd fam fftw gsl gtk guile jack ladspa motif nls opengl ruby" + +RDEPEND="media-libs/audiofile + motif? ( x11-libs/openmotif ) + alsa? ( media-libs/alsa-lib ) + esd? ( media-sound/esound ) + fam? ( virtual/fam ) + fftw? ( sci-libs/fftw ) + gsl? ( >=sci-libs/gsl-0.8 ) + gtk? ( >=x11-libs/gtk+-2 + opengl? ( x11-libs/gtkglext ) ) + guile? ( >=dev-util/guile-1.3.4 ) + jack? ( media-sound/jack-audio-connection-kit ) + ladspa? ( media-libs/ladspa-sdk ) + nls? ( sys-devel/gettext ) + opengl? ( virtual/opengl ) + ruby? ( virtual/ruby )" + +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_compile() { + local myconf + + if use opengl; then + if use guile; then + myconf="${myconf} --with-gl" + else + myconf="${myconf} --with-just-gl" + fi + else + myconf="${myconf} --without-gl" + fi + + econf \ + $(use_with alsa) \ + $(use_with esd) \ + $(use_with fam) \ + $(use_with fftw) \ + $(use_with gsl) \ + $(use_with gtk) \ + $(use_with guile) \ + $(use_with jack) \ + $(use_with ladspa) \ + $(use_with motif) \ + $(use_enable nls) \ + $(use_with ruby) \ + --with-float-samples \ + ${myconf} || die + + # compiling command-line programs. See bug #112695 + emake snd sndplay sndrecord sndinfo audinfo || die +} + +src_install () { + dobin snd + dobin sndplay + dobin sndrecord + dobin sndinfo + dobin audinfo + + insinto /usr/$(get_libdir)/snd/scheme + doins *.scm + + dodoc README.Snd HISTORY.Snd TODO.Snd Snd.ad + dohtml -r *.html *.png tutorial +}