1 |
phreak 07/09/17 17:06:36 |
2 |
|
3 |
Added: alsa-utils-1.0.15_rc1-seq.patch |
4 |
Log: |
5 |
alsa-utils-1.0.15_rc1 needs some more "convincing". |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-sound/alsa-utils/files/alsa-utils-1.0.15_rc1-seq.patch |
10 |
|
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: alsa-utils-1.0.15_rc1-seq.patch |
15 |
=================================================================== |
16 |
diff -Nrup alsa-utils-1.0.15rc1.orig/Makefile.am alsa-utils-1.0.15rc1/Makefile.am |
17 |
--- alsa-utils-1.0.15rc1.orig/Makefile.am 2007-08-30 10:30:27.000000000 +0200 |
18 |
+++ alsa-utils-1.0.15rc1/Makefile.am 2007-09-17 19:03:12.000000000 +0200 |
19 |
@@ -4,7 +4,12 @@ ALSAMIXER_DIR=alsamixer |
20 |
else |
21 |
ALSAMIXER_DIR= |
22 |
endif |
23 |
-SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset seq speaker-test utils m4 po |
24 |
+ |
25 |
+if BUILD_SEQ |
26 |
+SEQ_DIR=seq |
27 |
+endif |
28 |
+ |
29 |
+SUBDIRS= include alsactl alsaconf $(ALSAMIXER_DIR) amidi amixer aplay iecset $(SEQ_DIR) speaker-test utils m4 po |
30 |
EXTRA_DIST= config.rpath config.rpath mkinstalldirs ChangeLog INSTALL TODO README configure hgcompile depcomp |
31 |
AUTOMAKE_OPTIONS=foreign |
32 |
ACLOCAL_AMFLAGS = -I m4 |
33 |
diff -Nrup alsa-utils-1.0.15rc1.orig/configure.in alsa-utils-1.0.15rc1/configure.in |
34 |
--- alsa-utils-1.0.15rc1.orig/configure.in 2007-08-30 10:30:29.000000000 +0200 |
35 |
+++ alsa-utils-1.0.15rc1/configure.in 2007-09-17 19:02:27.000000000 +0200 |
36 |
@@ -82,6 +82,18 @@ AC_ARG_WITH(testsound, |
37 |
TESTSOUND="$dir/test.wav") |
38 |
AC_SUBST(TESTSOUND) |
39 |
|
40 |
+AC_ARG_ENABLE([sequencer], |
41 |
+ [AC_HELP_STRING([--disable-sequencer], [Disable sequencer utilities (aconnect, aplaymidi, aseqdump, aseqnet)])] ) |
42 |
+ |
43 |
+if test "x$enable_sequencer" != "xno"; then |
44 |
+ AC_CHECK_LIB([asound], [snd_seq_open], [has_seq=yes], [has_seq=no]) |
45 |
+fi |
46 |
+if test "x$enable_sequencer" = "xyes" && test "x$has_seq" = "xno"; then |
47 |
+ AC_MSG_FAILURE([cannot find snd_seq_open. ALSA was built without sequencer support]) |
48 |
+fi |
49 |
+ |
50 |
+AM_CONDITIONAL([BUILD_SEQ], [test "x$has_seq" = "xyes"]) |
51 |
+ |
52 |
AM_CONFIG_HEADER(include/aconfig.h) |
53 |
|
54 |
dnl Checks for typedefs, structures, and compiler characteristics. |
55 |
|
56 |
|
57 |
|
58 |
-- |
59 |
gentoo-commits@g.o mailing list |