public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils/files: alsa-utils-1.0.15_rc1-seq.patch
@ 2007-09-17 17:06 Christian Heim (phreak)
  0 siblings, 0 replies; only message in thread
From: Christian Heim (phreak) @ 2007-09-17 17:06 UTC (permalink / raw
  To: gentoo-commits

phreak      07/09/17 17:06:36

  Added:                alsa-utils-1.0.15_rc1-seq.patch
  Log:
  alsa-utils-1.0.15_rc1 needs some more "convincing".
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.1                  media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch?rev=1.1&content-type=text/plain

Index: alsa-utils-1.0.15_rc1-seq.patch
===================================================================
diff -Nrup alsa-utils-1.0.15rc1.orig/Makefile.am alsa-utils-1.0.15rc1/Makefile.am
--- alsa-utils-1.0.15rc1.orig/Makefile.am	2007-08-30 10:30:27.000000000 +0200
+++ alsa-utils-1.0.15rc1/Makefile.am	2007-09-17 19:03:12.000000000 +0200
@@ -4,7 +4,12 @@ ALSAMIXER_DIR=alsamixer
 else
 ALSAMIXER_DIR=
 endif
-SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po
+
+if BUILD_SEQ
+SEQ_DIR=seq
+endif
+
+SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po
 EXTRA_DIST= config.rpath  config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure hgcompile depcomp
 AUTOMAKE_OPTIONS=foreign
 ACLOCAL_AMFLAGS = -I m4
diff -Nrup alsa-utils-1.0.15rc1.orig/configure.in alsa-utils-1.0.15rc1/configure.in
--- alsa-utils-1.0.15rc1.orig/configure.in	2007-08-30 10:30:29.000000000 +0200
+++ alsa-utils-1.0.15rc1/configure.in	2007-09-17 19:02:27.000000000 +0200
@@ -82,6 +82,18 @@ AC_ARG_WITH(testsound,
   TESTSOUND="$dir/test.wav")
 AC_SUBST(TESTSOUND)
 
+AC_ARG_ENABLE([sequencer],
+  [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] )
+
+if test "x$enable_sequencer" != "xno"; then
+   AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no])
+fi
+if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then
+   AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support])
+fi
+
+AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"])
+
 AM_CONFIG_HEADER(include/aconfig.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-17 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-17 17:06 [gentoo-commits] gentoo-x86 commit in media-sound/alsa-utils/files: alsa-utils-1.0.15_rc1-seq.patch Christian Heim (phreak)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox