diff options
Diffstat (limited to 'meta/packages/alsa')
-rw-r--r-- | meta/packages/alsa/alsa-lib_1.0.10.bb | 31 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-oss_1.0.10.bb | 18 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-tools_1.0.10.bb | 10 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-utils_1.0.10.bb | 55 | ||||
-rw-r--r-- | meta/packages/alsa/files/alsa-utils-sys-siglist.patch | 15 |
5 files changed, 129 insertions, 0 deletions
diff --git a/meta/packages/alsa/alsa-lib_1.0.10.bb b/meta/packages/alsa/alsa-lib_1.0.10.bb new file mode 100644 index 0000000000..a5d5426316 --- /dev/null +++ b/meta/packages/alsa/alsa-lib_1.0.10.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "Alsa sound library" | ||
2 | MAINTAINER = "Lorn Potter <lpotter@trolltech.com>" | ||
3 | SECTION = "libs/multimedia" | ||
4 | LICENSE = "GPL" | ||
5 | |||
6 | # configure.in sets -D__arm__ on the command line for any arm system | ||
7 | # (not just those with the ARM instruction set), this should be removed, | ||
8 | # (or replaced by a permitted #define). | ||
9 | #FIXME: remove the following | ||
10 | ARM_INSTRUCTION_SET = "arm" | ||
11 | |||
12 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2" | ||
13 | |||
14 | inherit autotools pkgconfig | ||
15 | |||
16 | EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes" | ||
17 | |||
18 | do_stage () { | ||
19 | oe_libinstall -so -C src libasound ${STAGING_LIBDIR}/ | ||
20 | install -d ${STAGING_INCDIR}/alsa/sound | ||
21 | install -m 0644 include/*.h ${STAGING_INCDIR}/alsa/ | ||
22 | install -m 0644 include/sound/ainstr*.h ${STAGING_INCDIR}/alsa/sound/ | ||
23 | install -d ${STAGING_DATADIR}/aclocal | ||
24 | install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/ | ||
25 | } | ||
26 | |||
27 | PACKAGES = "libasound alsa-server alsa-conf alsa-doc alsa-dev" | ||
28 | FILES_libasound = "${libdir}/libasound.so*" | ||
29 | FILES_alsa-server = "${bindir}" | ||
30 | FILES_alsa-conf = "${datadir}" | ||
31 | FILES_alsa-dev = "${libdir}/pkgconfig/ /usr/include/" | ||
diff --git a/meta/packages/alsa/alsa-oss_1.0.10.bb b/meta/packages/alsa/alsa-oss_1.0.10.bb new file mode 100644 index 0000000000..acf2ba7505 --- /dev/null +++ b/meta/packages/alsa/alsa-oss_1.0.10.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | DESCRIPTION = "Alsa OSS Compatibility Package" | ||
2 | MAINTAINER = "Lorn Potter <lpotter@trolltech.com>" | ||
3 | SECTION = "libs/multimedia" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "alsa-lib" | ||
6 | |||
7 | SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | do_configure_prepend () { | ||
12 | touch NEWS README AUTHORS ChangeLog | ||
13 | } | ||
14 | |||
15 | do_stage () { | ||
16 | oe_libinstall -C alsa -a -so libaoss ${STAGING_LIBDIR} | ||
17 | oe_libinstall -C alsa -a -so libalsatoss ${STAGING_LIBDIR} | ||
18 | } | ||
diff --git a/meta/packages/alsa/alsa-tools_1.0.10.bb b/meta/packages/alsa/alsa-tools_1.0.10.bb new file mode 100644 index 0000000000..eed86e5dba --- /dev/null +++ b/meta/packages/alsa/alsa-tools_1.0.10.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | BROKEN = "1" | ||
2 | |||
3 | DESCRIPTION = "Alsa Tools" | ||
4 | SECTION = "console/utils" | ||
5 | LICENSE = "GPL" | ||
6 | DEPENDS = "alsa-lib" | ||
7 | |||
8 | SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2" | ||
9 | |||
10 | inherit autotools | ||
diff --git a/meta/packages/alsa/alsa-utils_1.0.10.bb b/meta/packages/alsa/alsa-utils_1.0.10.bb new file mode 100644 index 0000000000..94e49ebf25 --- /dev/null +++ b/meta/packages/alsa/alsa-utils_1.0.10.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | DESCRIPTION = "ALSA Utilities" | ||
2 | MAINTAINER = "Lorn Potter <lpotter@trolltech.com>" | ||
3 | SECTION = "console/utils" | ||
4 | LICENSE = "GPL" | ||
5 | DEPENDS = "alsa-lib ncurses" | ||
6 | |||
7 | SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | # This are all packages that we need to make. Also, the now empty alsa-utils | ||
12 | # ipk depend on them. | ||
13 | |||
14 | PACKAGES += "alsa-utils-alsamixer" | ||
15 | PACKAGES += "alsa-utils-midi" | ||
16 | PACKAGES += "alsa-utils-aplay" | ||
17 | PACKAGES += "alsa-utils-amixer" | ||
18 | PACKAGES += "alsa-utils-aconnect" | ||
19 | PACKAGES += "alsa-utils-iecset" | ||
20 | PACKAGES += "alsa-utils-speakertest" | ||
21 | PACKAGES += "alsa-utils-aseqnet" | ||
22 | PACKAGES += "alsa-utils-alsactl" | ||
23 | |||
24 | |||
25 | # We omit alsaconf, because | ||
26 | # a) this is a bash script | ||
27 | # b) it creates config files for RedHat, Debian, Mandrake etc, but not | ||
28 | # for Familiar, OpenZaurus etc | ||
29 | |||
30 | |||
31 | FILES_${PN} = "" | ||
32 | FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" | ||
33 | FILES_alsa-utils-amixer = "${bindir}/amixer" | ||
34 | FILES_alsa-utils-alsamixer = "${bindir}/alsamixer" | ||
35 | FILES_alsa-utils-speakertest = "${bindir}/speaker-test" | ||
36 | FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bindir}/amidi" | ||
37 | FILES_alsa-utils-aconnect = "${bindir}/aconnect" | ||
38 | FILES_alsa-utils-aseqnet = "${bindir}/aseqnet" | ||
39 | FILES_alsa-utils-iecset = "${bindir}/iecset" | ||
40 | FILES_alsa-utils-alsactl = "${sbindir}/alsactl" | ||
41 | |||
42 | DESCRIPTION_alsa-utils-aplay = "play (and record) sound files via ALSA" | ||
43 | DESCRIPTION_alsa-utils-amixer = "command-line based control for ALSA mixer and settings" | ||
44 | DESCRIPTION_alsa-utils-alsamixer = "ncurses based control for ALSA mixer and settings" | ||
45 | #DESCRIPTION_alsa-utils-speaker-test= "??" | ||
46 | DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA" | ||
47 | DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager" | ||
48 | DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer" | ||
49 | DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state" | ||
50 | DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files" | ||
51 | |||
52 | RDEPENDS_alsa-utils-aplay += "alsa-conf" | ||
53 | RDEPENDS_alsa-utils-amixer += "alsa-conf" | ||
54 | |||
55 | ALLOW_EMPTY_alsa-utils = "1" | ||
diff --git a/meta/packages/alsa/files/alsa-utils-sys-siglist.patch b/meta/packages/alsa/files/alsa-utils-sys-siglist.patch new file mode 100644 index 0000000000..8c499e8d63 --- /dev/null +++ b/meta/packages/alsa/files/alsa-utils-sys-siglist.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | sys_siglist is not supported by default on uclibc and is, in general, | ||
2 | a bad thing for the same reasons as sys_errlist is a bad thing. GNU | ||
3 | supports strsignal in the manner of strerror | ||
4 | |||
5 | --- alsa-utils-1.0.8/alsamixer/alsamixer.c.orig 2005-09-06 12:44:41.415219126 -0700 | ||
6 | +++ alsa-utils-1.0.8/alsamixer/alsamixer.c 2005-09-06 12:44:43.407344482 -0700 | ||
7 | @@ -2188,7 +2188,7 @@ | ||
8 | mixer_signal_handler (int signal) | ||
9 | { | ||
10 | if (signal != SIGSEGV) | ||
11 | - mixer_abort (ERR_SIGNAL, sys_siglist[signal], 0); | ||
12 | + mixer_abort (ERR_SIGNAL, strsignal(signal), 0); | ||
13 | else | ||
14 | { | ||
15 | fprintf (stderr, "\nSegmentation fault.\n"); | ||