Version bump, bug #157205
authorAlexis Ballier <aballier@gentoo.org>
Sat, 10 Mar 2007 22:14:24 +0000 (22:14 +0000)
committerAlexis Ballier <aballier@gentoo.org>
Sat, 10 Mar 2007 22:14:24 +0000 (22:14 +0000)
Package-Manager: portage-2.1.2.2

media-sound/snd/ChangeLog
media-sound/snd/Manifest
media-sound/snd/files/digest-snd-8.8 [new file with mode: 0644]
media-sound/snd/files/snd-8.8-parallelmake.patch [new file with mode: 0644]
media-sound/snd/snd-8.8.ebuild [new file with mode: 0644]

index 50e7cbf26ab124b455f5f4ef8a31438cf4714adc..ccaab1fe54f419c29403d229a754ccaeb0203785 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/snd
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.30 2007/01/10 19:49:54 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/ChangeLog,v 1.31 2007/03/10 22:14:24 aballier Exp $
+
+*snd-8.8 (10 Mar 2007)
+
+  10 Mar 2007; Alexis Ballier <aballier@gentoo.org>
+  +files/snd-8.8-parallelmake.patch, +snd-8.8.ebuild:
+  Version bump, bug #157205
 
   10 Jan 2007; Piotr JaroszyƄski <peper@gentoo.org> snd-7.10.ebuild,
   snd-7.15.ebuild, snd-7.15-r1.ebuild:
index 6c70d3dac4cc5df67564f6bed32aae4474b0cfbe..4fcabdc37832248c7cea1b45f007daee78fc1ba9 100644 (file)
@@ -1,8 +1,13 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+AUX snd-8.8-parallelmake.patch 2648 RMD160 341344f015e1b576446be17b4bbeafb870749b00 SHA1 5c4f1681d0c368e5f32caaf3280e09cf69eee7ee SHA256 f6db39fc868214b0003a391677cb598346f80de6e7561594a65c05bd05fdd5f0
+MD5 fa08a1251cdcf1580295119c58fbb687 files/snd-8.8-parallelmake.patch 2648
+RMD160 341344f015e1b576446be17b4bbeafb870749b00 files/snd-8.8-parallelmake.patch 2648
+SHA256 f6db39fc868214b0003a391677cb598346f80de6e7561594a65c05bd05fdd5f0 files/snd-8.8-parallelmake.patch 2648
 DIST snd-7.10.tar.gz 5949277 RMD160 1ab7183b82eb0a37a16f28b093d8ee803c3ae602 SHA1 7d5827b5057c63add85e479a71eec8379177dc5b SHA256 1d9a5a49fe7d523cee088b44c0b9eed7315924eb150cae9fa4947c80cd65c5ac
 DIST snd-7.15.tar.gz 6546108 RMD160 c28a2a1c19ca404b47061644d42700bc6bdf6396 SHA1 17d092df3e85c2eed7b17d1c8ebcadfc8db6f272 SHA256 97b3156746b310e74a4cb61bccd9f806e3525e7ea092c322a5e63e406c0d6600
+DIST snd-8.8.tar.gz 8580035 RMD160 33a2a5f196a501c0cfb0fba623fa6f37c489def2 SHA1 8aa73ec7bbbb84b97c4325b05769f3388e6f0680 SHA256 66528a6829d9caedc41d6a307baec369527469016190231dded82f2455cc6c5b
 EBUILD snd-7.10.ebuild 1675 RMD160 547c14ec96e1124b19618b873ed10eea2ae314c0 SHA1 346ab1bed1f12a574c34f8852862b5a350fc5178 SHA256 81c609dc05af99fcec1c10a4e5bda1b0f2d44de28c411fe404b3aebabd3ee66d
 MD5 d87f4121e968bc84ee572e29c3c90401 snd-7.10.ebuild 1675
 RMD160 547c14ec96e1124b19618b873ed10eea2ae314c0 snd-7.10.ebuild 1675
@@ -15,10 +20,14 @@ EBUILD snd-7.15.ebuild 1653 RMD160 faa7746354464069642421df4c11bd7acb5cf337 SHA1
 MD5 e66be6c89e5d89f12507aa17798547d5 snd-7.15.ebuild 1653
 RMD160 faa7746354464069642421df4c11bd7acb5cf337 snd-7.15.ebuild 1653
 SHA256 e513db494de1b17e7a5f1f03053ef024fe19020503699c21b5fc56b5dde9e002 snd-7.15.ebuild 1653
-MISC ChangeLog 3830 RMD160 c00204218497afe0d0e25a6c644bad9743013004 SHA1 cdf6c2b51a3bac218930ed488c9cffc56072c632 SHA256 ac21aedfcd3923adff2a08f43e7df65b891f58c52ef4145d2fffa06af1f280c7
-MD5 37db82e939bc9699b8264a15149b47f6 ChangeLog 3830
-RMD160 c00204218497afe0d0e25a6c644bad9743013004 ChangeLog 3830
-SHA256 ac21aedfcd3923adff2a08f43e7df65b891f58c52ef4145d2fffa06af1f280c7 ChangeLog 3830
+EBUILD snd-8.8.ebuild 2690 RMD160 d3aef42272e2cf125613ead68bdf4b65bb8f6b83 SHA1 ea961c876cecdb1456fa091c4835ab8c112dadeb SHA256 1d9c7a8a085a245d43082e9311adf4a6b93d32532658edfffc3db0a1cb077d23
+MD5 3a6d4a45667ae17a8df574ad876d4d0a snd-8.8.ebuild 2690
+RMD160 d3aef42272e2cf125613ead68bdf4b65bb8f6b83 snd-8.8.ebuild 2690
+SHA256 1d9c7a8a085a245d43082e9311adf4a6b93d32532658edfffc3db0a1cb077d23 snd-8.8.ebuild 2690
+MISC ChangeLog 3992 RMD160 ba5b7e032e0f260c6f9307c019ffd30b3e1da6a8 SHA1 fbd46c5672d465fa2838e8835de819189a82bcab SHA256 52f3fa6fe704a84cee37f33b6726f761c361ceb98b6275bc5ff87e259e21e369
+MD5 4913b97142e4ed870900fd329b60419a ChangeLog 3992
+RMD160 ba5b7e032e0f260c6f9307c019ffd30b3e1da6a8 ChangeLog 3992
+SHA256 52f3fa6fe704a84cee37f33b6726f761c361ceb98b6275bc5ff87e259e21e369 ChangeLog 3992
 MISC metadata.xml 252 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a SHA1 6e5cc1551616801a2f257d688e6fc286044c3499 SHA256 5ab00710d822d203a1a38e1b6a9754137de4fe2cf5c4e79470419ed3f3927450
 MD5 527dcfe3ce0f0b53c6b6aa8b82eb930c metadata.xml 252
 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a metadata.xml 252
@@ -32,10 +41,13 @@ SHA256 919bcddb4605cc4cb7b7ea173dc99e9ebf70f68f7f0cd94ccaabd431ff16680e files/di
 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
+MD5 16f63570ba2a3087aca64f7b6b9a241e files/digest-snd-8.8 226
+RMD160 81ed14ae47e8bb45acd0b8a0ff890e3c5195cd00 files/digest-snd-8.8 226
+SHA256 e117358d90ccd697de79ec3999615bf4c499d8db181e2e04d4fcee41345b6489 files/digest-snd-8.8 226
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFFpUNqppoStNGKGywRAoF7AKCHxSGA5a+h8DGeuWbTSZhJnaNyBgCffpNp
-4YdMPcONutFrsTmhTKegPP4=
-=cxKa
+iD8DBQFF8y3HvFcC4BYPU0oRAtftAJ0akfbg4GdE/So2+lKIPW7r/OL/VwCeJM12
+sncYreY4BFIQZurjypM9Q7Y=
+=ifhC
 -----END PGP SIGNATURE-----
diff --git a/media-sound/snd/files/digest-snd-8.8 b/media-sound/snd/files/digest-snd-8.8
new file mode 100644 (file)
index 0000000..99b8647
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1895d4e327fcb9b66d14bf53ba18ad5e snd-8.8.tar.gz 8580035
+RMD160 33a2a5f196a501c0cfb0fba623fa6f37c489def2 snd-8.8.tar.gz 8580035
+SHA256 66528a6829d9caedc41d6a307baec369527469016190231dded82f2455cc6c5b snd-8.8.tar.gz 8580035
diff --git a/media-sound/snd/files/snd-8.8-parallelmake.patch b/media-sound/snd/files/snd-8.8-parallelmake.patch
new file mode 100644 (file)
index 0000000..cbffd71
--- /dev/null
@@ -0,0 +1,66 @@
+Index: snd-8/makefile.in
+===================================================================
+--- snd-8.orig/makefile.in
++++ snd-8/makefile.in
+@@ -98,8 +98,10 @@ NO_FILES =
+ main_target: @MAKE_TARGET@
+-snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(SNDLIB_FILES) $(MIDI_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES)
+-      (cd po && $(MAKE))
++po:
++      cd po && $(MAKE)
++
++snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(SNDLIB_FILES) $(MIDI_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) po
+       $(CC) $(LDFLAGS) $(CFLAGS) $(SNDLIB_FILES) $(MIDI_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) -o snd $(SNDLIB_LIB) $(GUILE_LIBS) $(GTK_LIBS) $(GL_LIBS) $(MOTIF_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(FAM_LIB) $(LIBS)
+ xm:   xen.h
+@@ -157,36 +159,44 @@ allclean:
+       rm -f *.a
+       rm -f snd sndplay audinfo sndrecord sndinfo
+-sndplay: $(SNDLIB_HEADERS)
++sndplayobjs: $(SNDLIB_HEADERS)
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 headers.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 io.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 audio.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sound.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sndplay.c
++
++sndplay: sndplayobjs
+       $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o sndplay.o -o sndplay $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+-sndrecord: $(SNDLIB_HEADERS)
++sndrecordobjs: $(SNDLIB_HEADERS)
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 headers.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 io.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 audio.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sound.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sndrecord.c
++
++sndrecord: sndrecordobjs
+       $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o sndrecord.o -o sndrecord $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+-sndinfo: $(SNDLIB_HEADERS)
++sndinfoobjs: $(SNDLIB_HEADERS)
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 headers.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 io.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 audio.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sound.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sndinfo.c
++
++sndinfo: sndinfoobjs
+       $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o sndinfo.o -o sndinfo $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+-audinfo: $(SNDLIB_HEADERS)
++audinfoobjs: $(SNDLIB_HEADERS)
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 headers.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 io.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 audio.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 sound.c
+       $(CC) -c $(DEFS) $(CFLAGS) -DUSE_SND=0 audinfo.c
++
++audinfo: audinfoobjs
+       $(CC) $(LDFLAGS) $(CFLAGS) headers.o io.o audio.o sound.o audinfo.o -o audinfo $(JACK_LIBS) $(AUDIO_LIB) $(LIBS)
+ install: snd
diff --git a/media-sound/snd/snd-8.8.ebuild b/media-sound/snd/snd-8.8.ebuild
new file mode 100644 (file)
index 0000000..f9f483f
--- /dev/null
@@ -0,0 +1,117 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/snd/snd-8.8.ebuild,v 1.1 2007/03/10 22:14:24 aballier Exp $
+
+inherit multilib eutils
+
+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-scheme/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_unpack(){
+       unpack ${A}
+       cd "${S}"
+
+       epatch "${FILESDIR}/${P}-parallelmake.patch"
+}
+
+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
+
+       emake snd || die "emake snd failed"
+
+       # compiling command-line programs. See bug #112695
+       # do not compile ruby extensions for command line programs
+       # those fail to compile
+       if use ruby; then
+               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) \
+                       --without-ruby \
+                       --with-float-samples \
+                       ${myconf} || die
+       fi
+
+       for i in sndrecord sndinfo audinfo sndplay; do
+               emake ${i} || die "make ${i} failed"
+       done
+}
+
+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
+}