diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/awesfx/ChangeLog | 9 | ||||
-rw-r--r-- | media-sound/awesfx/Manifest | 7 | ||||
-rw-r--r-- | media-sound/awesfx/awesfx-0.5.0b.ebuild | 41 | ||||
-rw-r--r-- | media-sound/awesfx/files/awesfx-0.5.0b-configure-noalsa.patch | 272 | ||||
-rw-r--r-- | media-sound/awesfx/files/awesfx-0.5.0b-makefile-noalsa.patch | 96 | ||||
-rw-r--r-- | media-sound/awesfx/files/digest-awesfx-0.5.0b | 1 | ||||
-rw-r--r-- | media-sound/awesfx/metadata.xml | 5 |
7 files changed, 428 insertions, 3 deletions
diff --git a/media-sound/awesfx/ChangeLog b/media-sound/awesfx/ChangeLog index 3217c1a4c689..bd2312eba14a 100644 --- a/media-sound/awesfx/ChangeLog +++ b/media-sound/awesfx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/awesfx -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/ChangeLog,v 1.2 2003/02/12 07:25:03 vapier Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/ChangeLog,v 1.3 2004/02/28 12:00:46 eradicator Exp $ + +*awesfx-0.5.0b (28 Feb 2004) + + 28 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org> awesfx-0.5.0b.ebuild: + Version bump. Closes bug #26510. *awesfx-0.4.4 (22 May 2002) diff --git a/media-sound/awesfx/Manifest b/media-sound/awesfx/Manifest index ff13eec56ee2..5c8ae957f4cc 100644 --- a/media-sound/awesfx/Manifest +++ b/media-sound/awesfx/Manifest @@ -1,3 +1,8 @@ -MD5 cd23352073d7c4016a4e29b4bc0f98e5 ChangeLog 472 MD5 10440ed44ff4ddbb8a5efeabad83f493 awesfx-0.4.4.ebuild 1499 +MD5 52b26c923c4b05fff7ac90696db916fa awesfx-0.5.0b.ebuild 1170 +MD5 f6bc00d95c874fa682c8818be847ff03 ChangeLog 622 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 a2f1d07a053240ebc621d1834c928e6f files/awesfx-0.5.0b-makefile-noalsa.patch 3507 +MD5 f2718083317de4e006954291d3da6f4e files/awesfx-0.5.0b-configure-noalsa.patch 7814 MD5 0510ed427cbce41e3cccf010d8a2b053 files/digest-awesfx-0.4.4 64 +MD5 65393e10260fc71e0093e7337c7703c9 files/digest-awesfx-0.5.0b 65 diff --git a/media-sound/awesfx/awesfx-0.5.0b.ebuild b/media-sound/awesfx/awesfx-0.5.0b.ebuild new file mode 100644 index 000000000000..fbc6d2686294 --- /dev/null +++ b/media-sound/awesfx/awesfx-0.5.0b.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/awesfx-0.5.0b.ebuild,v 1.1 2004/02/28 12:00:46 eradicator Exp $ + +inherit eutils + +DESCRIPTION="AWE Utilities - sfxload" +HOMEPAGE="http://www.alsa-project.org/~iwai/awedrv.html#Utils" +SRC_URI=http://www.alsa-project.org/~iwai/${P}.tar.gz +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="alsa" +DEPEND="virtual/glibc + alsa? ( >=media-libs/alsa-lib-1.0.0 )" + +src_compile() { + if ! use alsa + then + einfo "Removing ALSA support!" + epatch ${FILESDIR}/${P}-configure-noalsa.patch + fi + econf --with-sfpath=/usr/share/sfbank || die + use alsa || epatch ${FILESDIR}/${P}-makefile-noalsa.patch + #only asfxload seems to need libasound + use alsa && sed -i -e 's/'^LIBS.*-lasound.*$'/LIBS = -lm -ldl -lpthread/' Makefile + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + # einstall || die + dodoc AUTHORS ChangeLog INSTALL README SBKtoSF2.txt +} + +pkg_postinst() { + einfo "Please copy your SoundFont files from the original CD-ROM" + einfo "shipped with your soundcard to" + einfo "/usr/share/sfbank" +} + diff --git a/media-sound/awesfx/files/awesfx-0.5.0b-configure-noalsa.patch b/media-sound/awesfx/files/awesfx-0.5.0b-configure-noalsa.patch new file mode 100644 index 000000000000..134318c5dc10 --- /dev/null +++ b/media-sound/awesfx/files/awesfx-0.5.0b-configure-noalsa.patch @@ -0,0 +1,272 @@ +--- configure 2004-02-04 16:23:08.000000000 +0100 ++++ ../awesfx-0.5.0/configure 2004-02-01 13:16:52.000000000 +0100 +@@ -19129,272 +19129,6 @@ + + + +-alsa_save_CFLAGS="$CFLAGS" +-alsa_save_LDFLAGS="$LDFLAGS" +-alsa_save_LIBS="$LIBS" +-alsa_found=yes +- +- +-# Check whether --with-alsa-prefix or --without-alsa-prefix was given. +-if test "${with_alsa_prefix+set}" = set; then +- withval="$with_alsa_prefix" +- alsa_prefix="$withval" +-else +- alsa_prefix="" +-fi; +- +- +-# Check whether --with-alsa-inc-prefix or --without-alsa-inc-prefix was given. +-if test "${with_alsa_inc_prefix+set}" = set; then +- withval="$with_alsa_inc_prefix" +- alsa_inc_prefix="$withval" +-else +- alsa_inc_prefix="" +-fi; +- +-# Check whether --enable-alsatest or --disable-alsatest was given. +-if test "${enable_alsatest+set}" = set; then +- enableval="$enable_alsatest" +- enable_alsatest="$enableval" +-else +- enable_alsatest=yes +-fi; +- +-echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5 +-echo $ECHO_N "checking for ALSA CFLAGS... $ECHO_C" >&6 +-if test "$alsa_inc_prefix" != "" ; then +- ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" +- CFLAGS="$CFLAGS -I$alsa_inc_prefix" +-fi +-echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 +-echo "${ECHO_T}$ALSA_CFLAGS" >&6 +- +-echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5 +-echo $ECHO_N "checking for ALSA LDFLAGS... $ECHO_C" >&6 +-if test "$alsa_prefix" != "" ; then +- ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" +- LDFLAGS="$LDFLAGS $ALSA_LIBS" +-fi +- +-ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" +-LIBS=`echo $LIBS | sed 's/-lm//'` +-LIBS=`echo $LIBS | sed 's/-ldl//'` +-LIBS=`echo $LIBS | sed 's/-lpthread//'` +-LIBS=`echo $LIBS | sed 's/ //'` +-LIBS="$ALSA_LIBS $LIBS" +-echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 +-echo "${ECHO_T}$ALSA_LIBS" >&6 +- +-min_alsa_version=1.0.0 +-echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5 +-echo $ECHO_N "checking for libasound headers version >= $min_alsa_version... $ECHO_C" >&6 +-no_alsa="" +- alsa_min_major_version=`echo $min_alsa_version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` +- alsa_min_minor_version=`echo $min_alsa_version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` +- alsa_min_micro_version=`echo $min_alsa_version | \ +- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` +- +- +- +-ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu +- +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-#include <alsa/asoundlib.h> +- +-int +-main () +-{ +- +-/* ensure backward compatibility */ +-#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) +-#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR +-#endif +-#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) +-#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR +-#endif +-#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) +-#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR +-#endif +- +-# if(SND_LIB_MAJOR > $alsa_min_major_version) +- exit(0); +-# else +-# if(SND_LIB_MAJOR < $alsa_min_major_version) +-# error not present +-# endif +- +-# if(SND_LIB_MINOR > $alsa_min_minor_version) +- exit(0); +-# else +-# if(SND_LIB_MINOR < $alsa_min_minor_version) +-# error not present +-# endif +- +-# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) +-# error not present +-# endif +-# endif +-# endif +-exit(0); +- +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 +- (eval $ac_compile) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest.$ac_objext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- echo "$as_me:$LINENO: result: found." >&5 +-echo "${ECHO_T}found." >&6 +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-echo "$as_me:$LINENO: result: not present." >&5 +-echo "${ECHO_T}not present." >&6 +- { { echo "$as_me:$LINENO: error: Sufficiently new version of libasound not found." >&5 +-echo "$as_me: error: Sufficiently new version of libasound not found." >&2;} +- { (exit 1); exit 1; }; } +- alsa_found=no +- +-fi +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +-ac_ext=c +-ac_cpp='$CPP $CPPFLAGS' +-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +-ac_compiler_gnu=$ac_cv_c_compiler_gnu +- +- +-if test "x$enable_alsatest" = "xyes"; then +- +-echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5 +-echo $ECHO_N "checking for snd_ctl_open in -lasound... $ECHO_C" >&6 +-if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then +- echo $ECHO_N "(cached) $ECHO_C" >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lasound $LIBS" +-cat >conftest.$ac_ext <<_ACEOF +-/* confdefs.h. */ +-_ACEOF +-cat confdefs.h >>conftest.$ac_ext +-cat >>conftest.$ac_ext <<_ACEOF +-/* end confdefs.h. */ +- +-/* Override any gcc2 internal prototype to avoid an error. */ +-#ifdef __cplusplus +-extern "C" +-#endif +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char snd_ctl_open (); +-int +-main () +-{ +-snd_ctl_open (); +- ; +- return 0; +-} +-_ACEOF +-rm -f conftest.$ac_objext conftest$ac_exeext +-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 +- (eval $ac_link) 2>conftest.er1 +- ac_status=$? +- grep -v '^ *+' conftest.er1 >conftest.err +- rm -f conftest.er1 +- cat conftest.err >&5 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); } && +- { ac_try='test -z "$ac_c_werror_flag" +- || test ! -s conftest.err' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; } && +- { ac_try='test -s conftest$ac_exeext' +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 +- (eval $ac_try) 2>&5 +- ac_status=$? +- echo "$as_me:$LINENO: \$? = $ac_status" >&5 +- (exit $ac_status); }; }; then +- ac_cv_lib_asound_snd_ctl_open=yes +-else +- echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +-ac_cv_lib_asound_snd_ctl_open=no +-fi +-rm -f conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS +-fi +-echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5 +-echo "${ECHO_T}$ac_cv_lib_asound_snd_ctl_open" >&6 +-if test $ac_cv_lib_asound_snd_ctl_open = yes; then +- cat >>confdefs.h <<_ACEOF +-#define HAVE_LIBASOUND 1 +-_ACEOF +- +- LIBS="-lasound $LIBS" +- +-else +- { { echo "$as_me:$LINENO: error: No linkable libasound was found." >&5 +-echo "$as_me: error: No linkable libasound was found." >&2;} +- { (exit 1); exit 1; }; } +- alsa_found=no +- +-fi +- +-fi +- +-if test "x$alsa_found" = "xyes" ; then +- : +- LIBS=`echo $LIBS | sed 's/-lasound//g'` +- LIBS=`echo $LIBS | sed 's/ //'` +- LIBS="-lasound $LIBS" +-fi +-if test "x$alsa_found" = "xno" ; then +- : +- CFLAGS="$alsa_save_CFLAGS" +- LDFLAGS="$alsa_save_LDFLAGS" +- LIBS="$alsa_save_LIBS" +- ALSA_CFLAGS="" +- ALSA_LIBS="" +-fi +- diff --git a/media-sound/awesfx/files/awesfx-0.5.0b-makefile-noalsa.patch b/media-sound/awesfx/files/awesfx-0.5.0b-makefile-noalsa.patch new file mode 100644 index 000000000000..0f7033207530 --- /dev/null +++ b/media-sound/awesfx/files/awesfx-0.5.0b-makefile-noalsa.patch @@ -0,0 +1,96 @@ +--- Makefile 2004-02-01 14:04:44.965532560 +0100 ++++ Makefile 2004-02-01 14:04:41.037129768 +0100 +@@ -15,7 +15,7 @@ + + + +-SOURCES = $(asfxload_SOURCES) $(aweset_SOURCES) $(gusload_SOURCES) $(setfx_SOURCES) $(sf2text_SOURCES) $(sfxload_SOURCES) $(sfxtest_SOURCES) $(text2sf_SOURCES) ++SOURCES = $(aweset_SOURCES) $(gusload_SOURCES) $(setfx_SOURCES) $(sf2text_SOURCES) $(sfxload_SOURCES) $(sfxtest_SOURCES) $(text2sf_SOURCES) + + srcdir = . + top_srcdir = . +@@ -41,1 +41,1 @@ +-bin_PROGRAMS = sfxload$(EXEEXT) asfxload$(EXEEXT) aweset$(EXEEXT) \ ++bin_PROGRAMS = sfxload$(EXEEXT) aweset$(EXEEXT) \ +@@ -58,9 +58,6 @@ + am__installdirs = $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) + binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) + PROGRAMS = $(bin_PROGRAMS) +-am_asfxload_OBJECTS = asfxload.$(OBJEXT) alsa.$(OBJEXT) +-asfxload_OBJECTS = $(am_asfxload_OBJECTS) +-asfxload_DEPENDENCIES = awelib/libawe.a + am_aweset_OBJECTS = aweset.$(OBJEXT) seq.$(OBJEXT) + aweset_OBJECTS = $(am_aweset_OBJECTS) + aweset_LDADD = $(LDADD) +@@ -92,7 +89,7 @@ + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include + depcomp = $(SHELL) $(top_srcdir)/depcomp + am__depfiles_maybe = depfiles +-DEP_FILES = ./$(DEPDIR)/alsa.Po ./$(DEPDIR)/asfxload.Po \ ++DEP_FILES = \ + ./$(DEPDIR)/aweset.Po ./$(DEPDIR)/gusload.Po \ + ./$(DEPDIR)/seq.Po ./$(DEPDIR)/setfx.Po \ + ./$(DEPDIR)/sf2text.Po ./$(DEPDIR)/sfxload.Po \ +@@ -105,10 +102,10 @@ + CCLD = $(CC) + LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +-SOURCES = $(asfxload_SOURCES) $(aweset_SOURCES) $(gusload_SOURCES) \ ++SOURCES = $(aweset_SOURCES) $(gusload_SOURCES) \ + $(setfx_SOURCES) $(sf2text_SOURCES) $(sfxload_SOURCES) \ + $(sfxtest_SOURCES) $(text2sf_SOURCES) +-DIST_SOURCES = $(asfxload_SOURCES) $(aweset_SOURCES) \ ++DIST_SOURCES = $(aweset_SOURCES) \ + $(gusload_SOURCES) $(setfx_SOURCES) $(sf2text_SOURCES) \ + $(sfxload_SOURCES) $(sfxtest_SOURCES) $(text2sf_SOURCES) + RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ +@@ -172,7 +169,7 @@ + INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s + LDFLAGS = + LIBOBJS = +-LIBS = ++LIBS = -lm -ldl -lpthread + LIBTOOL = $(SHELL) $(top_builddir)/libtool + LN_S = ln -s + LTLIBOBJS = +@@ -234,8 +231,6 @@ + SUBDIRS = awelib include samples + LDADD = awelib/libawe.a + INCLUDES = -Iinclude +-asfxload_SOURCES = asfxload.c alsa.c +-asfxload_LDADD = awelib/libawe.a + sfxload_SOURCES = sfxload.c seq.c + aweset_SOURCES = aweset.c seq.c + gusload_SOURCES = gusload.c seq.c +@@ -311,9 +306,6 @@ + echo " rm -f $$p $$f"; \ + rm -f $$p $$f ; \ + done +-asfxload$(EXEEXT): $(asfxload_OBJECTS) $(asfxload_DEPENDENCIES) +- @rm -f asfxload$(EXEEXT) +- $(LINK) $(asfxload_LDFLAGS) $(asfxload_OBJECTS) $(asfxload_LDADD) $(LIBS) + aweset$(EXEEXT): $(aweset_OBJECTS) $(aweset_DEPENDENCIES) + @rm -f aweset$(EXEEXT) + $(LINK) $(aweset_LDFLAGS) $(aweset_OBJECTS) $(aweset_LDADD) $(LIBS) +@@ -342,8 +334,8 @@ + distclean-compile: + -rm -f *.tab.c + +-include ./$(DEPDIR)/alsa.Po +-include ./$(DEPDIR)/asfxload.Po ++ ++ + include ./$(DEPDIR)/aweset.Po + include ./$(DEPDIR)/gusload.Po + include ./$(DEPDIR)/seq.Po +@@ -797,8 +789,8 @@ + + + install-data-hook: +- rm -f $(DESTDIR)$(mandir)/man1/asfxload.1 +- (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) sfxload.1 asfxload.1) ++#/ rm -f $(DESTDIR)$(mandir)/man1/asfxload.1 ++# (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) sfxload.1 asfxload.1) + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: diff --git a/media-sound/awesfx/files/digest-awesfx-0.5.0b b/media-sound/awesfx/files/digest-awesfx-0.5.0b new file mode 100644 index 000000000000..f75005156a61 --- /dev/null +++ b/media-sound/awesfx/files/digest-awesfx-0.5.0b @@ -0,0 +1 @@ +MD5 3f6668cf60544c17bb09dbd984a0d298 awesfx-0.5.0b.tar.gz 370808 diff --git a/media-sound/awesfx/metadata.xml b/media-sound/awesfx/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/awesfx/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> |