* [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/, media-sound/snd/files/
@ 2016-02-25 22:13 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2016-02-25 22:13 UTC (permalink / raw
To: gentoo-commits
commit: 90c03ac835bc34210bca7c5038224ca862c49361
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 22:13:07 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 22:13:30 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90c03ac8
media-sound/snd: version bump to 16.3
Gentoo-Bug: 404201, 475150
* EAPI=6
Package-Manager: portage-2.2.27
media-sound/snd/Manifest | 1 +
media-sound/snd/files/snd-16.3-portaudio.patch | 49 ++++++++++
media-sound/snd/snd-16.3.ebuild | 121 +++++++++++++++++++++++++
3 files changed, 171 insertions(+)
diff --git a/media-sound/snd/Manifest b/media-sound/snd/Manifest
index cda7e64..d54026f 100644
--- a/media-sound/snd/Manifest
+++ b/media-sound/snd/Manifest
@@ -1 +1,2 @@
DIST snd-12.8.tar.gz 15546751 SHA256 1ff683615ec6d0c7e2c8359e921117f4fd78695675bb06eb765667edb55a1939 SHA512 99a8600a175a889ad597053e9f52af69124cab8feca693c852cb03d34df5b80bcc50994ea66d070fe61e318eca715fdfe095a458b22da80d95f88a1d695baebd WHIRLPOOL b8903b138ab31f2ee51aeabe66068943c24e15e2cd82e628bc446224ebb0e697365c0070ec99d126379a02c1ef7544a1c6195e0bb3a0c8ecb167751eb3c673ef
+DIST snd-16.3.tar.gz 14824756 SHA256 7314fd8c73da9d3afa0ed2c7b5a10cda94eaf1e7fb6ab9f6ac2e085c18f50934 SHA512 b58971e95411839b2f1cafde4cdd66784f41510c67588f3816408290fc826b6c24054a03423ca3a59b11dddd45c058cb592fb97cd90d1333eeec36dd125a7821 WHIRLPOOL ad00d30d80e8dbf9b533824a382864725f14ad8a587803a8df6bedb8fe59cc36ae442e345599ebf08d67b9503d6e79e643c066b33be92d50d832d03677da8792
diff --git a/media-sound/snd/files/snd-16.3-portaudio.patch b/media-sound/snd/files/snd-16.3-portaudio.patch
new file mode 100644
index 0000000..3be6843
--- /dev/null
+++ b/media-sound/snd/files/snd-16.3-portaudio.patch
@@ -0,0 +1,49 @@
+--- snd-16.3/configure.ac
++++ snd-16.3/configure.ac
+@@ -527,8 +527,9 @@
+
+ if test "$with_portaudio" = yes ; then
+ AC_DEFINE(MUS_PORTAUDIO)
++ PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0])
+ AUDIO_SYSTEM=portaudio
+- AUDIO_LIB="-lportaudio"
++ AUDIO_LIB="${PORTAUDIO_LIBS}"
+ fi
+
+ if test "$with_jack" = yes ; then
+--- snd-16.3/makefile.in
++++ snd-16.3/makefile.in
+@@ -11,6 +11,7 @@
+ GL_FLAGS = @GL_FLAGS@
+ GSL_FLAGS = @GSL_CFLAGS@
+ JACK_FLAGS = @JACK_FLAGS@
++PORTAUDIO_CFLAGS = @PORTAUDIO_CFLAGS@
+
+ ORIGINAL_LDFLAGS = @ORIGINAL_LDFLAGS@
+ LDFLAGS = @LDFLAGS@
+@@ -26,6 +27,7 @@
+ FFTW_LIBS = @FFTW_LIBS@
+ JACK_LIBS = @JACK_LIBS@
+ GMP_LIBS = @GMP_LIBS@
++PORTAUDIO_LIBS = @PORTAUDIO_LIBS@
+
+ LDSO_FLAGS = @LDSO_FLAGS@
+ SO_FLAGS = @SO_FLAGS@
+@@ -51,7 +53,7 @@
+ .SUFFIXES: .c .o
+
+ .c.o:
+- $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $<
++ $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $(PORTAUDIO_CFLAGS) $<
+
+ SND_SCRIPTS = *.scm *.fs *.rb *.fsm
+ SNDLIB_HEADERS = mus-config.h sndlib.h _sndlib.h sndlib-strings.h clm.h vct.h sndlib2xen.h clm2xen.h xen.h clm-strings.h
+@@ -82,7 +84,7 @@
+ main_target: @MAKE_TARGET@
+
+ snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(S7_HEADERS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES)
+- $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(LIBS)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(PORTAUDIO_LIBS) $(LIBS)
+
+ xm: xen.h mus-config.h $(S7_HEADERS)
+ $(CC) -c xm.c -DUSE_SND=0 $(DEFS) $(SO_FLAGS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(JACK_FLAGS) $(GL_FLAGS)
diff --git a/media-sound/snd/snd-16.3.ebuild b/media-sound/snd/snd-16.3.ebuild
new file mode 100644
index 0000000..a14da28
--- /dev/null
+++ b/media-sound/snd/snd-16.3.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools flag-o-matic
+
+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"
+
+LICENSE="Snd BSD-2 HPND GPL-2+ LGPL-2.1+ LGPL-3+ ruby? ( free-noncomm ) s7? ( free-noncomm )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
+IUSE="alsa doc fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7"
+
+RDEPEND="media-libs/audiofile
+ alsa? ( media-libs/alsa-lib )
+ 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/motif-2.3:0 )
+ opengl? ( virtual/opengl )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ readline? ( sys-libs/readline )
+ ruby? ( dev-lang/ruby )"
+
+REQUIRED_USE="
+ portaudio? ( !pulseaudio )
+ pulseaudio? ( !portaudio )
+ ^^ (
+ ( !ruby !s7 )
+ ( ruby !s7 )
+ ( !ruby s7 )
+ )"
+PATCHES=(
+ "${FILESDIR}/${P}-portaudio.patch"
+)
+
+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() {
+ default
+ 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 ruby && ! use s7 ; then
+ myconf+=" --without-extension-language"
+ fi
+
+ econf \
+ $(use_with alsa) \
+ $(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_with ruby) \
+ $(use_with s7) \
+ ${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 || die
+
+ local i
+ for i in sndplay sndinfo; do
+ emake ${i}
+ done
+}
+
+src_install () {
+ dobin snd sndplay sndinfo
+
+ 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
+
+ if use doc ; then
+ docinto html/
+ dodoc -r *.html pix/*.png tutorial
+ fi
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/, media-sound/snd/files/
@ 2017-05-07 10:01 David Seifert
0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-05-07 10:01 UTC (permalink / raw
To: gentoo-commits
commit: de3937349684e3cd3fd58117e84811059c55a2ae
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun May 7 09:36:23 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun May 7 10:01:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de393734
media-sound/snd: Version bump to 17.4
Bug: https://bugs.gentoo.org/show_bug.cgi?id=601960
Package-Manager: Portage-2.3.5, Repoman-2.3.2
media-sound/snd/Manifest | 1 +
media-sound/snd/files/snd-17.4-portaudio.patch | 49 ++++++++++
media-sound/snd/snd-17.4.ebuild | 118 +++++++++++++++++++++++++
3 files changed, 168 insertions(+)
diff --git a/media-sound/snd/Manifest b/media-sound/snd/Manifest
index d54026f32d1..a8d65035b19 100644
--- a/media-sound/snd/Manifest
+++ b/media-sound/snd/Manifest
@@ -1,2 +1,3 @@
DIST snd-12.8.tar.gz 15546751 SHA256 1ff683615ec6d0c7e2c8359e921117f4fd78695675bb06eb765667edb55a1939 SHA512 99a8600a175a889ad597053e9f52af69124cab8feca693c852cb03d34df5b80bcc50994ea66d070fe61e318eca715fdfe095a458b22da80d95f88a1d695baebd WHIRLPOOL b8903b138ab31f2ee51aeabe66068943c24e15e2cd82e628bc446224ebb0e697365c0070ec99d126379a02c1ef7544a1c6195e0bb3a0c8ecb167751eb3c673ef
DIST snd-16.3.tar.gz 14824756 SHA256 7314fd8c73da9d3afa0ed2c7b5a10cda94eaf1e7fb6ab9f6ac2e085c18f50934 SHA512 b58971e95411839b2f1cafde4cdd66784f41510c67588f3816408290fc826b6c24054a03423ca3a59b11dddd45c058cb592fb97cd90d1333eeec36dd125a7821 WHIRLPOOL ad00d30d80e8dbf9b533824a382864725f14ad8a587803a8df6bedb8fe59cc36ae442e345599ebf08d67b9503d6e79e643c066b33be92d50d832d03677da8792
+DIST snd-17.4.tar.gz 15096338 SHA256 efa311586661a5e73bb0fe894a366e2320a494d975424928b563dab450d0fb48 SHA512 cbbc546fe4a3ef758c5372edbdae4db29457c559eafa08854819917e153ce850f5ab302da68dee826f99c26f10769aae8c6df6ea8434614f084f21d0dbbc5c88 WHIRLPOOL ec7fc7848edf84d91312fbb7316d5f96ba8fa30d7b39bc12a0b71f5bb771cb31cacf1044401177f35ae665df59513951166b7654c955e0cf53e2ae0e5d8847e2
diff --git a/media-sound/snd/files/snd-17.4-portaudio.patch b/media-sound/snd/files/snd-17.4-portaudio.patch
new file mode 100644
index 00000000000..8bdb1af01e8
--- /dev/null
+++ b/media-sound/snd/files/snd-17.4-portaudio.patch
@@ -0,0 +1,49 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -521,8 +521,9 @@
+
+ if test "$with_portaudio" = yes ; then
+ AC_DEFINE(MUS_PORTAUDIO)
++ PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0])
+ AUDIO_SYSTEM=portaudio
+- AUDIO_LIB="-lportaudio"
++ AUDIO_LIB="${PORTAUDIO_LIBS}"
+ fi
+
+ if test "$with_jack" = yes ; then
+--- a/makefile.in
++++ b/makefile.in
+@@ -11,6 +11,7 @@
+ GL_FLAGS = @GL_FLAGS@
+ GSL_FLAGS = @GSL_CFLAGS@
+ JACK_FLAGS = @JACK_FLAGS@
++PORTAUDIO_CFLAGS = @PORTAUDIO_CFLAGS@
+
+ ORIGINAL_LDFLAGS = @ORIGINAL_LDFLAGS@
+ LDFLAGS = @LDFLAGS@
+@@ -28,6 +29,7 @@
+ WEBSERVER_FILES = @WEBSERVER_FILES@
+ JACK_LIBS = @JACK_LIBS@
+ GMP_LIBS = @GMP_LIBS@
++PORTAUDIO_LIBS = @PORTAUDIO_LIBS@
+
+ LDSO_FLAGS = @LDSO_FLAGS@
+ SO_FLAGS = @SO_FLAGS@
+@@ -53,7 +55,7 @@
+ .SUFFIXES: .c .o
+
+ .c.o:
+- $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $<
++ $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $(PORTAUDIO_CFLAGS) $<
+
+ SND_SCRIPTS = *.scm *.fs *.rb *.fsm
+ SNDLIB_HEADERS = mus-config.h sndlib.h _sndlib.h sndlib-strings.h clm.h vct.h sndlib2xen.h clm2xen.h xen.h clm-strings.h
+@@ -84,7 +86,7 @@
+ main_target: @MAKE_TARGET@
+
+ snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(S7_HEADERS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES)
+- $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(WEBSERVER_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(LIBS)
++ $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(WEBSERVER_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(PORTAUDIO_LIBS) $(LIBS)
+
+ xm: xen.h mus-config.h $(S7_HEADERS)
+ $(CC) -c xm.c -DUSE_SND=0 $(DEFS) $(SO_FLAGS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(JACK_FLAGS) $(GL_FLAGS)
diff --git a/media-sound/snd/snd-17.4.ebuild b/media-sound/snd/snd-17.4.ebuild
new file mode 100644
index 00000000000..3a2a2027b8f
--- /dev/null
+++ b/media-sound/snd/snd-17.4.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic
+
+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"
+
+LICENSE="Snd BSD-2 HPND GPL-2+ LGPL-2.1+ LGPL-3+ ruby? ( free-noncomm ) s7? ( free-noncomm )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="alsa doc fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7"
+
+RDEPEND="media-libs/audiofile
+ alsa? ( media-libs/alsa-lib )
+ fftw? ( sci-libs/fftw:3.0= )
+ gmp? (
+ dev-libs/gmp:0=
+ dev-libs/mpc
+ dev-libs/mpfr:0=
+ )
+ 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/motif-2.3:0 )
+ opengl? ( virtual/opengl )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-sound/pulseaudio )
+ readline? ( sys-libs/readline:* )
+ ruby? ( dev-lang/ruby:* )"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="
+ ?? ( portaudio pulseaudio )
+ ?? ( ruby s7 )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-17.4-portaudio.patch"
+)
+
+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() {
+ default
+ 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 ruby && ! use s7 ; then
+ myconf+=" --without-extension-language"
+ fi
+
+ econf \
+ $(use_with alsa) \
+ $(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_with ruby) \
+ $(use_with s7) \
+ ${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 || die
+
+ local i
+ for i in sndplay sndinfo; do
+ emake ${i}
+ done
+}
+
+src_install () {
+ dobin snd sndplay sndinfo
+
+ if use ruby ; then
+ insinto /usr/share/snd
+ doins *.rb
+ fi
+
+ if use s7 ; then
+ insinto /usr/share/snd
+ doins *.scm
+ fi
+
+ use doc && HTML_DOCS=( *.html pix/*.png )
+ einstalldocs
+ dodoc HISTORY.Snd
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/, media-sound/snd/files/
@ 2022-11-23 9:08 Miroslav Šulc
0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2022-11-23 9:08 UTC (permalink / raw
To: gentoo-commits
commit: efe5d971e321e7eeccb9c50288f275d99925a2f7
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 09:08:40 2022 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 09:08:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe5d971
media-sound/snd: dropped obsolete 17.4 & 22.8
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-sound/snd/Manifest | 2 -
media-sound/snd/files/snd-17.4-portaudio.patch | 49 ---------
.../snd-17.4-undefined-oss_sample_types.patch | 21 ----
media-sound/snd/snd-17.4-r2.ebuild | 119 ---------------------
media-sound/snd/snd-22.8.ebuild | 106 ------------------
5 files changed, 297 deletions(-)
diff --git a/media-sound/snd/Manifest b/media-sound/snd/Manifest
index b45cb3f7574f..5f1766d25c89 100644
--- a/media-sound/snd/Manifest
+++ b/media-sound/snd/Manifest
@@ -1,3 +1 @@
-DIST snd-17.4.tar.gz 15096338 BLAKE2B ca054977caacd2ea4c1b14f50c31d3b4cc6b206a58529ee5537ec80e51acb72c1b8baad6db9729270fe07067c097f16e630e1f7a81521ac0532f5b5689fb963c SHA512 cbbc546fe4a3ef758c5372edbdae4db29457c559eafa08854819917e153ce850f5ab302da68dee826f99c26f10769aae8c6df6ea8434614f084f21d0dbbc5c88
-DIST snd-22.8.tar.gz 14696217 BLAKE2B 6d90e1a51f862d17985831f676a01e61c9cce44f623c8db5d8a0a30cb3909823b5361a20ce5a19bfdb846c0d5237fcd9183be0a9970cfa6e9e02c69911090e6f SHA512 a6c007a1c17973f6bc4badcca72b310b4e53d3a8b1831f026fca230ae9925ab3c53eb6a97015220fd929b7ecb14c7922ba2113d6c7a6626406ec4d361b7b228d
DIST snd-22.9.tar.gz 14704873 BLAKE2B 788a0d77571b13cac0bb191bd88e0d18d5a6808fbee170c8cb3237a2bdc8b20a72cd3a4360cf0632c1746bec317b367ebf6344ac05d9a5485d54a77268ab96cf SHA512 641f49438dd71285249d2da6f36f30ca52ec8f8fc8189af7815abff054db7651d8da54798509c77d93d542d09bb11e3ad6662aec51e9ba1c7a6a1672bb0eba48
diff --git a/media-sound/snd/files/snd-17.4-portaudio.patch b/media-sound/snd/files/snd-17.4-portaudio.patch
deleted file mode 100644
index 8bdb1af01e8a..000000000000
--- a/media-sound/snd/files/snd-17.4-portaudio.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -521,8 +521,9 @@
-
- if test "$with_portaudio" = yes ; then
- AC_DEFINE(MUS_PORTAUDIO)
-+ PKG_CHECK_MODULES([PORTAUDIO], [portaudio-2.0])
- AUDIO_SYSTEM=portaudio
-- AUDIO_LIB="-lportaudio"
-+ AUDIO_LIB="${PORTAUDIO_LIBS}"
- fi
-
- if test "$with_jack" = yes ; then
---- a/makefile.in
-+++ b/makefile.in
-@@ -11,6 +11,7 @@
- GL_FLAGS = @GL_FLAGS@
- GSL_FLAGS = @GSL_CFLAGS@
- JACK_FLAGS = @JACK_FLAGS@
-+PORTAUDIO_CFLAGS = @PORTAUDIO_CFLAGS@
-
- ORIGINAL_LDFLAGS = @ORIGINAL_LDFLAGS@
- LDFLAGS = @LDFLAGS@
-@@ -28,6 +29,7 @@
- WEBSERVER_FILES = @WEBSERVER_FILES@
- JACK_LIBS = @JACK_LIBS@
- GMP_LIBS = @GMP_LIBS@
-+PORTAUDIO_LIBS = @PORTAUDIO_LIBS@
-
- LDSO_FLAGS = @LDSO_FLAGS@
- SO_FLAGS = @SO_FLAGS@
-@@ -53,7 +55,7 @@
- .SUFFIXES: .c .o
-
- .c.o:
-- $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $<
-+ $(CC) -c $(DEFS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(GL_FLAGS) $(JACK_FLAGS) $(FFTW_CFLAGS) $(PORTAUDIO_CFLAGS) $<
-
- SND_SCRIPTS = *.scm *.fs *.rb *.fsm
- SNDLIB_HEADERS = mus-config.h sndlib.h _sndlib.h sndlib-strings.h clm.h vct.h sndlib2xen.h clm2xen.h xen.h clm-strings.h
-@@ -84,7 +86,7 @@
- main_target: @MAKE_TARGET@
-
- snd: $(SNDLIB_HEADERS) $(SND_HEADERS) $(GX_HEADERS) $(S7_HEADERS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES)
-- $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(WEBSERVER_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(LIBS)
-+ $(CC) $(LDFLAGS) $(CFLAGS) $(S7_O_FILES) $(SNDLIB_O_FILES) $(O_FILES) $(GX_FILES) $(GL_FILES) $(WEBSERVER_FILES) -o snd $(SNDLIB_LIB) $(XEN_LIBS) $(GTK_LIBS) $(GL_LIBS) $(WEBSERVER_LIBS) $(JACK_LIBS) $(AUDIO_LIB) $(FFTW_LIBS) $(GSL_LIBS) $(GMP_LIBS) $(PORTAUDIO_LIBS) $(LIBS)
-
- xm: xen.h mus-config.h $(S7_HEADERS)
- $(CC) -c xm.c -DUSE_SND=0 $(DEFS) $(SO_FLAGS) $(GTK_CFLAGS) $(CAIRO_CFLAGS) $(CFLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(JACK_FLAGS) $(GL_FLAGS)
diff --git a/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch b/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch
deleted file mode 100644
index 6199a7b183fd..000000000000
--- a/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Always compile the `oss_sample_types` function
-Bug: https://bugs.gentoo.org/show_bug.cgi?id=621758
-
---- a/audio.c
-+++ b/audio.c
-@@ -743,7 +743,6 @@
- }
-
-
--#if (!HAVE_ALSA)
- static int oss_sample_types(int ur_dev, mus_sample_t *val)
- {
- int fd, samp_types = 0, sys, ind;
-@@ -774,7 +773,6 @@
- val[0] = (mus_sample_t)(ind - 1);
- return(MUS_NO_ERROR);
- }
--#endif
-
-
-
diff --git a/media-sound/snd/snd-17.4-r2.ebuild b/media-sound/snd/snd-17.4-r2.ebuild
deleted file mode 100644
index acf4ba3b8c91..000000000000
--- a/media-sound/snd/snd-17.4-r2.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Snd is a sound editor"
-HOMEPAGE="https://ccrma.stanford.edu/software/snd/"
-SRC_URI="ftp://ccrma-ftp.stanford.edu/pub/Lisp/${P}.tar.gz"
-
-LICENSE="Snd BSD-2 HPND GPL-2+ LGPL-2.1+ LGPL-3+ ruby? ( free-noncomm ) s7? ( free-noncomm )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="alsa doc fftw gmp gsl gtk jack ladspa motif opengl oss portaudio pulseaudio readline ruby +s7"
-
-RDEPEND="
- media-libs/audiofile
- alsa? ( media-libs/alsa-lib )
- fftw? ( sci-libs/fftw:3.0= )
- gmp? (
- dev-libs/gmp:0=
- dev-libs/mpc
- dev-libs/mpfr:0=
- )
- gsl? ( sci-libs/gsl:= )
- gtk? (
- x11-libs/cairo
- x11-libs/gtk+:3
- x11-libs/pango
- )
- jack? ( virtual/jack )
- ladspa? ( media-libs/ladspa-sdk )
- motif? ( >=x11-libs/motif-2.3:0 )
- opengl? ( virtual/opengl )
- portaudio? ( media-libs/portaudio )
- pulseaudio? ( media-sound/pulseaudio )
- readline? ( sys-libs/readline:= )
- ruby? ( dev-lang/ruby:* )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="
- ?? ( portaudio pulseaudio )
- ?? ( ruby s7 )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-17.4-portaudio.patch
- "${FILESDIR}"/${PN}-17.4-undefined-oss_sample_types.patch
-)
-
-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() {
- default
- 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 ruby && ! use s7 ; then
- myconf+=" --without-extension-language"
- fi
-
- econf \
- $(use_with alsa) \
- $(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_with ruby) \
- $(use_with s7) \
- ${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 || die
-
- local i
- for i in sndplay sndinfo; do
- emake ${i}
- done
-}
-
-src_install() {
- dobin snd sndplay sndinfo
-
- if use ruby ; then
- insinto /usr/share/snd
- doins *.rb
- fi
-
- if use s7 ; then
- insinto /usr/share/snd
- doins *.scm
- fi
-
- use doc && HTML_DOCS=( *.html pix/*.png )
- einstalldocs
- dodoc HISTORY.Snd
-}
diff --git a/media-sound/snd/snd-22.8.ebuild b/media-sound/snd/snd-22.8.ebuild
deleted file mode 100644
index 04c60c009588..000000000000
--- a/media-sound/snd/snd-22.8.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Snd is a sound editor"
-HOMEPAGE="https://ccrma.stanford.edu/software/snd/"
-SRC_URI="https://ccrma.stanford.edu/software/${PN}/${P}.tar.gz"
-
-LICENSE="Snd 0BSD BSD-2 HPND GPL-2+ LGPL-2.1+ LGPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-IUSE="alsa doc fftw gmp gsl gui jack ladspa notcurses opengl oss portaudio pulseaudio readline ruby +s7"
-
-RDEPEND="
- alsa? ( media-libs/alsa-lib )
- fftw? ( sci-libs/fftw:3.0= )
- gmp? (
- dev-libs/gmp:=
- dev-libs/mpc
- dev-libs/mpfr:=
- )
- gsl? ( sci-libs/gsl:= )
- gui? ( >=x11-libs/motif-2.3:0 )
- jack? ( virtual/jack )
- ladspa? ( media-libs/ladspa-sdk )
- notcurses? ( dev-cpp/notcurses )
- opengl? ( virtual/opengl )
- portaudio? ( media-libs/portaudio )
- pulseaudio? ( media-sound/pulseaudio )
- readline? ( sys-libs/readline:= )
- ruby? ( dev-lang/ruby:* )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-REQUIRED_USE="
- ?? ( portaudio pulseaudio )
- ?? ( ruby s7 )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-22.8-undefined-oss_sample_types.patch
-)
-
-src_prepare() {
- default
-
- sed -i -e "s:-O2 ::" configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- # Workaround executable sections QA warning (bug #348754)
- append-ldflags -Wl,-z,noexecstack
-
- local myeconfargs=(
- $(use_with alsa)
- $(use_with fftw)
- $(use_with gmp)
- $(use_with gsl)
- $(use_with gui)
- $(use_with jack)
- $(use_with ladspa)
- $(use_with notcurses)
- $(use_with oss)
- $(use_with portaudio)
- $(use_with pulseaudio)
- $(use_with ruby)
- $(use_with s7)
- )
-
- if ! use ruby && ! use s7 ; then
- myeconfargs+=( --without-extension-language )
- fi
-
- econf "${myeconfargs[@]}"
-}
-
-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 || die
-
- emake sndplay sndinfo
-}
-
-src_install() {
- dobin snd sndplay sndinfo
-
- if use ruby ; then
- insinto /usr/share/snd
- doins *.rb
- fi
-
- if use s7 ; then
- insinto /usr/share/snd
- doins *.scm
- fi
-
- use doc && HTML_DOCS=( *.html pix/*.png )
- einstalldocs
- dodoc HISTORY.Snd
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-23 9:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-07 10:01 [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/, media-sound/snd/files/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2022-11-23 9:08 Miroslav Šulc
2016-02-25 22:13 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox