diff options
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 000000000..59b3b6d15 --- /dev/null +++ b/meta/packages/alsa/alsa-lib/fix-tstamp-declaration.patch @@ -0,0 +1,13 @@ +Index: alsa-lib-1.0.13/include/global.h +=================================================================== +--- alsa-lib-1.0.13.orig/include/global.h ++++ alsa-lib-1.0.13/include/global.h +@@ -29,6 +29,8 @@ + #define __ALSA_GLOBAL_H_ + + /* for timeval and timespec */ ++#define __need_timeval ++#define __need_timespec + #include <time.h> + + #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 081a08ebb..4d77e7a65 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 @@ DESCRIPTION = "Alsa sound library" +HOMEPAGE = "http://www.alsa-project.org" SECTION = "libs/multimedia" LICENSE = "GPL" @@ -8,7 +9,8 @@ LICENSE = "GPL" #FIXME: remove the following ARM_INSTRUCTION_SET = "arm" -SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2" +SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ + file://fix-tstamp-declaration.patch;patch=1" inherit autotools pkgconfig @@ -23,11 +25,17 @@ do_stage () { install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/ } -PACKAGES = "alsa-dbg libasound alsa-server alsa-conf alsa-doc alsa-dev" -FILES_alsa-dbg = "${FILES_${PN}-dbg}" -FILES_libasound = "${libdir}/*.so.* ${libdir}/alsa-lib/smixer/*.so" +PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev" +FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*" +FILES_libasound = "${libdir}/libasound.so.*" FILES_alsa-server = "${bindir}/*" -FILES_alsa-conf = "${datadir}" -FILES_alsa-dev = "${libdir}/*.so ${libdir}/pkgconfig/ ${includedir}/" +FILES_alsa-conf = "${datadir}/alsa/" +FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*" +FILES_alsa-conf-base = "\ +${datadir}/alsa/alsa.conf \ +${datadir}/alsa/cards/aliases.conf \ +${datadir}/alsa/pcm/default.conf \ +${datadir}/alsa/pcm/dmix.conf \ +${datadir}/alsa/pcm/dsnoop.conf" -RDEPENDS_libasound = "alsa-conf" +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 b11947e86..b11947e86 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 ad931aee3..240b995e7 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 @@ DESCRIPTION = "ALSA Utilities" +HOMEPAGE = "http://www.alsa-project.org" SECTION = "console/utils" LICENSE = "GPL" DEPENDS = "alsa-lib ncurses" -PR = "r1" -SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ - file://intl_linking_fix.patch;patch=1" +SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2" + +# lazy hack. needs proper fixing in gettext.m4, see +# http://bugs.openembedded.org/show_bug.cgi?id=2348 +# please close bug and remove this comment when properly fixed +# +EXTRA_OECONF_linux-uclibc = "--disable-nls" +EXTRA_OECONF_linux-uclibcgnueabi = "--disable-nls" inherit autotools # This are all packages that we need to make. Also, the now empty alsa-utils # ipk depend on them. -PACKAGES += "alsa-utils-alsamixer" -PACKAGES += "alsa-utils-midi" -PACKAGES += "alsa-utils-aplay" -PACKAGES += "alsa-utils-amixer" -PACKAGES += "alsa-utils-aconnect" -PACKAGES += "alsa-utils-iecset" -PACKAGES += "alsa-utils-speakertest" -PACKAGES += "alsa-utils-aseqnet" -PACKAGES += "alsa-utils-alsactl" -PACKAGES += "alsa-utils-aseqdump" -PACKAGES += "alsa-utils-alsaconf" - +PACKAGES += "\ + alsa-utils-alsamixer \ + alsa-utils-midi \ + alsa-utils-aplay \ + alsa-utils-amixer \ + alsa-utils-aconnect \ + alsa-utils-iecset \ + alsa-utils-speakertest \ + alsa-utils-aseqnet \ + alsa-utils-aseqdump \ + alsa-utils-alsaconf \ + alsa-utils-alsactl " # We omit alsaconf, because # a) this is a bash script -# b) it creates config files for RedHat, Debian, Mandrake etc, but not -# for Familiar, OpenZaurus etc - +# b) it creates config files not suitable for OE-based distros FILES_${PN} = "" FILES_alsa-utils-aplay = "${bindir}/aplay ${bindir}/arecord" @@ -47,14 +51,11 @@ FILES_alsa-utils-alsaconf = "${sbindir}/alsaconf" DESCRIPTION_alsa-utils-aplay = "play (and record) sound files via ALSA" DESCRIPTION_alsa-utils-amixer = "command-line based control for ALSA mixer and settings" DESCRIPTION_alsa-utils-alsamixer = "ncurses based control for ALSA mixer and settings" -DESCRIPTION_alsa-utils-speaker-test = "ALSA surround speaker test utility" +DESCRIPTION_alsa-utils-speakertest = "ALSA surround speaker test utility" DESCRIPTION_alsa-utils-midi = "miscalleanous MIDI utilities for ALSA" DESCRIPTION_alsa-utils-aconnect = "ALSA sequencer connection manager" DESCRIPTION_alsa-utils-aseqnet = "network client/server on ALSA sequencer" DESCRIPTION_alsa-utils-alsactl = "saves/restores ALSA-settings in /etc/asound.state" DESCRIPTION_alsa-utils-alsaconf = "a bash script that creates ALSA configuration files" -RDEPENDS_alsa-utils-aplay += "alsa-conf" -RDEPENDS_alsa-utils-amixer += "alsa-conf" - ALLOW_EMPTY_alsa-utils = "1" |