summaryrefslogtreecommitdiffstats
path: root/meta/packages/alsa
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/alsa
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/alsa')
-rw-r--r--meta/packages/alsa/alsa-lib_1.0.10.bb31
-rw-r--r--meta/packages/alsa/alsa-oss_1.0.10.bb18
-rw-r--r--meta/packages/alsa/alsa-tools_1.0.10.bb10
-rw-r--r--meta/packages/alsa/alsa-utils_1.0.10.bb55
-rw-r--r--meta/packages/alsa/files/alsa-utils-sys-siglist.patch15
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 @@
1DESCRIPTION = "Alsa sound library"
2MAINTAINER = "Lorn Potter <lpotter@trolltech.com>"
3SECTION = "libs/multimedia"
4LICENSE = "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
10ARM_INSTRUCTION_SET = "arm"
11
12SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2"
13
14inherit autotools pkgconfig
15
16EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes"
17
18do_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
27PACKAGES = "libasound alsa-server alsa-conf alsa-doc alsa-dev"
28FILES_libasound = "${libdir}/libasound.so*"
29FILES_alsa-server = "${bindir}"
30FILES_alsa-conf = "${datadir}"
31FILES_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 @@
1DESCRIPTION = "Alsa OSS Compatibility Package"
2MAINTAINER = "Lorn Potter <lpotter@trolltech.com>"
3SECTION = "libs/multimedia"
4LICENSE = "GPL"
5DEPENDS = "alsa-lib"
6
7SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2"
8
9inherit autotools
10
11do_configure_prepend () {
12 touch NEWS README AUTHORS ChangeLog
13}
14
15do_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 @@
1BROKEN = "1"
2
3DESCRIPTION = "Alsa Tools"
4SECTION = "console/utils"
5LICENSE = "GPL"
6DEPENDS = "alsa-lib"
7
8SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2"
9
10inherit 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 @@
1DESCRIPTION = "ALSA Utilities"
2MAINTAINER = "Lorn Potter <lpotter@trolltech.com>"
3SECTION = "console/utils"
4LICENSE = "GPL"
5DEPENDS = "alsa-lib ncurses"
6
7SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2"
8
9inherit autotools
10
11# This are all packages that we need to make. Also, the now empty alsa-utils
12# ipk depend on them.
13
14PACKAGES += "alsa-utils-alsamixer"
15PACKAGES += "alsa-utils-midi"
16PACKAGES += "alsa-utils-aplay"
17PACKAGES += "alsa-utils-amixer"
18PACKAGES += "alsa-utils-aconnect"
19PACKAGES += "alsa-utils-iecset"
20PACKAGES += "alsa-utils-speakertest"
21PACKAGES += "alsa-utils-aseqnet"
22PACKAGES += "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
31FILES_${PN} = ""
32FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord"
33FILES_alsa-utils-amixer = "${bindir}/amixer"
34FILES_alsa-utils-alsamixer = "${bindir}/alsamixer"
35FILES_alsa-utils-speakertest = "${bindir}/speaker-test"
36FILES_alsa-utils-midi = "${bindir}/aplaymidi ${bindir}/arecordmidi ${bindir}/amidi"
37FILES_alsa-utils-aconnect = "${bindir}/aconnect"
38FILES_alsa-utils-aseqnet = "${bindir}/aseqnet"
39FILES_alsa-utils-iecset = "${bindir}/iecset"
40FILES_alsa-utils-alsactl = "${sbindir}/alsactl"
41
42DESCRIPTION_alsa-utils-aplay = "play (and record) sound files via ALSA"
43DESCRIPTION_alsa-utils-amixer = "command-line based control for ALSA mixer and settings"
44DESCRIPTION_alsa-utils-alsamixer = "ncurses based control for ALSA mixer and settings"
45#DESCRIPTION_alsa-utils-speaker-test= "??"
46DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA"
47DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager"
48DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer"
49DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state"
50DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files"
51
52RDEPENDS_alsa-utils-aplay += "alsa-conf"
53RDEPENDS_alsa-utils-amixer += "alsa-conf"
54
55ALLOW_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 @@
1sys_siglist is not supported by default on uclibc and is, in general,
2a bad thing for the same reasons as sys_errlist is a bad thing. GNU
3supports 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");