diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-05 14:16:46 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-05 14:16:46 +0000 |
commit | e648ea1aac7ed792a2173acc92c2f96ab583a5a5 (patch) | |
tree | 73244bea8f7311c6f3b1f9163cc49c2a307bc5a0 /meta/packages | |
parent | c4607eff087b5833e7e0f7b3b78df0ba34b551fa (diff) | |
download | poky-e648ea1aac7ed792a2173acc92c2f96ab583a5a5.tar.gz |
alsa: update to 1.0.14
- some parts are from 1.0.13 OpenEmbedded recipes
- removed dependency on alsa-conf as libasound package already depends on alsa-conf-base
- fixed alsa-utils-speakertest DESCRIPTION
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1860 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/alsa/alsa-lib/fix-tstamp-declaration.patch | 13 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-lib_1.0.14.bb (renamed from meta/packages/alsa/alsa-lib_1.0.10.bb) | 22 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-oss_1.0.14.bb (renamed from meta/packages/alsa/alsa-oss_1.0.10.bb) | 0 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-utils_1.0.14.bb (renamed from meta/packages/alsa/alsa-utils_1.0.10.bb) | 45 |
4 files changed, 51 insertions, 29 deletions
diff --git a/meta/packages/alsa/alsa-lib/fix-tstamp-declaration.patch b/meta/packages/alsa/alsa-lib/fix-tstamp-declaration.patch new file mode 100644 index 0000000000..59b3b6d150 --- /dev/null +++ b/meta/packages/alsa/alsa-lib/fix-tstamp-declaration.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: alsa-lib-1.0.13/include/global.h | ||
2 | =================================================================== | ||
3 | --- alsa-lib-1.0.13.orig/include/global.h | ||
4 | +++ alsa-lib-1.0.13/include/global.h | ||
5 | @@ -29,6 +29,8 @@ | ||
6 | #define __ALSA_GLOBAL_H_ | ||
7 | |||
8 | /* for timeval and timespec */ | ||
9 | +#define __need_timeval | ||
10 | +#define __need_timespec | ||
11 | #include <time.h> | ||
12 | |||
13 | #ifdef __cplusplus | ||
diff --git a/meta/packages/alsa/alsa-lib_1.0.10.bb b/meta/packages/alsa/alsa-lib_1.0.14.bb index 081a08ebb1..4d77e7a654 100644 --- a/meta/packages/alsa/alsa-lib_1.0.10.bb +++ b/meta/packages/alsa/alsa-lib_1.0.14.bb | |||
@@ -1,4 +1,5 @@ | |||
1 | DESCRIPTION = "Alsa sound library" | 1 | DESCRIPTION = "Alsa sound library" |
2 | HOMEPAGE = "http://www.alsa-project.org" | ||
2 | SECTION = "libs/multimedia" | 3 | SECTION = "libs/multimedia" |
3 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
4 | 5 | ||
@@ -8,7 +9,8 @@ LICENSE = "GPL" | |||
8 | #FIXME: remove the following | 9 | #FIXME: remove the following |
9 | ARM_INSTRUCTION_SET = "arm" | 10 | ARM_INSTRUCTION_SET = "arm" |
10 | 11 | ||
11 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2" | 12 | SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ |
13 | file://fix-tstamp-declaration.patch;patch=1" | ||
12 | 14 | ||
13 | inherit autotools pkgconfig | 15 | inherit autotools pkgconfig |
14 | 16 | ||
@@ -23,11 +25,17 @@ do_stage () { | |||
23 | install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/ | 25 | install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/ |
24 | } | 26 | } |
25 | 27 | ||
26 | PACKAGES = "alsa-dbg libasound alsa-server alsa-conf alsa-doc alsa-dev" | 28 | PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" |
27 | FILES_alsa-dbg = "${FILES_${PN}-dbg}" | 29 | FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" |
28 | FILES_libasound = "${libdir}/*.so.* ${libdir}/alsa-lib/smixer/*.so" | 30 | FILES_libasound = "${libdir}/libasound.so.*" |
29 | FILES_alsa-server = "${bindir}/*" | 31 | FILES_alsa-server = "${bindir}/*" |
30 | FILES_alsa-conf = "${datadir}" | 32 | FILES_alsa-conf = "${datadir}/alsa/" |
31 | FILES_alsa-dev = "${libdir}/*.so ${libdir}/pkgconfig/ ${includedir}/" | 33 | FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" |
34 | FILES_alsa-conf-base = "\ | ||
35 | ${datadir}/alsa/alsa.conf \ | ||
36 | ${datadir}/alsa/cards/aliases.conf \ | ||
37 | ${datadir}/alsa/pcm/default.conf \ | ||
38 | ${datadir}/alsa/pcm/dmix.conf \ | ||
39 | ${datadir}/alsa/pcm/dsnoop.conf" | ||
32 | 40 | ||
33 | RDEPENDS_libasound = "alsa-conf" | 41 | RDEPENDS_libasound = "alsa-conf-base" |
diff --git a/meta/packages/alsa/alsa-oss_1.0.10.bb b/meta/packages/alsa/alsa-oss_1.0.14.bb index b11947e86a..b11947e86a 100644 --- a/meta/packages/alsa/alsa-oss_1.0.10.bb +++ b/meta/packages/alsa/alsa-oss_1.0.14.bb | |||
diff --git a/meta/packages/alsa/alsa-utils_1.0.10.bb b/meta/packages/alsa/alsa-utils_1.0.14.bb index ad931aee3d..240b995e7b 100644 --- a/meta/packages/alsa/alsa-utils_1.0.10.bb +++ b/meta/packages/alsa/alsa-utils_1.0.14.bb | |||
@@ -1,35 +1,39 @@ | |||
1 | DESCRIPTION = "ALSA Utilities" | 1 | DESCRIPTION = "ALSA Utilities" |
2 | HOMEPAGE = "http://www.alsa-project.org" | ||
2 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
3 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
4 | DEPENDS = "alsa-lib ncurses" | 5 | DEPENDS = "alsa-lib ncurses" |
5 | PR = "r1" | ||
6 | 6 | ||
7 | SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ | 7 | SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2" |
8 | file://intl_linking_fix.patch;patch=1" | 8 | |
9 | # lazy hack. needs proper fixing in gettext.m4, see | ||
10 | # http://bugs.openembedded.org/show_bug.cgi?id=2348 | ||
11 | # please close bug and remove this comment when properly fixed | ||
12 | # | ||
13 | EXTRA_OECONF_linux-uclibc = "--disable-nls" | ||
14 | EXTRA_OECONF_linux-uclibcgnueabi = "--disable-nls" | ||
9 | 15 | ||
10 | inherit autotools | 16 | inherit autotools |
11 | 17 | ||
12 | # This are all packages that we need to make. Also, the now empty alsa-utils | 18 | # This are all packages that we need to make. Also, the now empty alsa-utils |
13 | # ipk depend on them. | 19 | # ipk depend on them. |
14 | 20 | ||
15 | PACKAGES += "alsa-utils-alsamixer" | 21 | PACKAGES += "\ |
16 | PACKAGES += "alsa-utils-midi" | 22 | alsa-utils-alsamixer \ |
17 | PACKAGES += "alsa-utils-aplay" | 23 | alsa-utils-midi \ |
18 | PACKAGES += "alsa-utils-amixer" | 24 | alsa-utils-aplay \ |
19 | PACKAGES += "alsa-utils-aconnect" | 25 | alsa-utils-amixer \ |
20 | PACKAGES += "alsa-utils-iecset" | 26 | alsa-utils-aconnect \ |
21 | PACKAGES += "alsa-utils-speakertest" | 27 | alsa-utils-iecset \ |
22 | PACKAGES += "alsa-utils-aseqnet" | 28 | alsa-utils-speakertest \ |
23 | PACKAGES += "alsa-utils-alsactl" | 29 | alsa-utils-aseqnet \ |
24 | PACKAGES += "alsa-utils-aseqdump" | 30 | alsa-utils-aseqdump \ |
25 | PACKAGES += "alsa-utils-alsaconf" | 31 | alsa-utils-alsaconf \ |
26 | 32 | alsa-utils-alsactl " | |
27 | 33 | ||
28 | # We omit alsaconf, because | 34 | # We omit alsaconf, because |
29 | # a) this is a bash script | 35 | # a) this is a bash script |
30 | # b) it creates config files for RedHat, Debian, Mandrake etc, but not | 36 | # b) it creates config files not suitable for OE-based distros |
31 | # for Familiar, OpenZaurus etc | ||
32 | |||
33 | 37 | ||
34 | FILES_${PN} = "" | 38 | FILES_${PN} = "" |
35 | FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" | 39 | FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" |
@@ -47,14 +51,11 @@ FILES_alsa-utils-alsaconf = "${sbindir}/alsaconf" | |||
47 | DESCRIPTION_alsa-utils-aplay = "play (and record) sound files via ALSA" | 51 | DESCRIPTION_alsa-utils-aplay = "play (and record) sound files via ALSA" |
48 | DESCRIPTION_alsa-utils-amixer = "command-line based control for ALSA mixer and settings" | 52 | DESCRIPTION_alsa-utils-amixer = "command-line based control for ALSA mixer and settings" |
49 | DESCRIPTION_alsa-utils-alsamixer = "ncurses based control for ALSA mixer and settings" | 53 | DESCRIPTION_alsa-utils-alsamixer = "ncurses based control for ALSA mixer and settings" |
50 | DESCRIPTION_alsa-utils-speaker-test = "ALSA surround speaker test utility" | 54 | DESCRIPTION_alsa-utils-speakertest = "ALSA surround speaker test utility" |
51 | DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA" | 55 | DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA" |
52 | DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager" | 56 | DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager" |
53 | DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer" | 57 | DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer" |
54 | DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state" | 58 | DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state" |
55 | DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files" | 59 | DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files" |
56 | 60 | ||
57 | RDEPENDS_alsa-utils-aplay += "alsa-conf" | ||
58 | RDEPENDS_alsa-utils-amixer += "alsa-conf" | ||
59 | |||
60 | ALLOW_EMPTY_alsa-utils = "1" | 61 | ALLOW_EMPTY_alsa-utils = "1" |