2005-12-15 17:50:54 +00:00
|
|
|
DESCRIPTION = "Alsa sound library"
|
2007-06-05 14:16:46 +00:00
|
|
|
HOMEPAGE = "http://www.alsa-project.org"
|
2005-12-15 17:50:54 +00:00
|
|
|
SECTION = "libs/multimedia"
|
|
|
|
LICENSE = "GPL"
|
|
|
|
|
|
|
|
# configure.in sets -D__arm__ on the command line for any arm system
|
|
|
|
# (not just those with the ARM instruction set), this should be removed,
|
|
|
|
# (or replaced by a permitted #define).
|
|
|
|
#FIXME: remove the following
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
|
2007-06-05 14:16:46 +00:00
|
|
|
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
|
2007-11-01 13:17:54 +00:00
|
|
|
file://fix-tstamp-declaration.patch;patch=1"
|
2005-12-15 17:50:54 +00:00
|
|
|
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
|
2007-10-25 11:23:56 +00:00
|
|
|
require alsa-fpu.inc
|
|
|
|
EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
|
|
|
|
|
2007-11-01 13:17:54 +00:00
|
|
|
EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python"
|
2005-12-15 17:50:54 +00:00
|
|
|
|
|
|
|
do_stage () {
|
|
|
|
oe_libinstall -so -C src libasound ${STAGING_LIBDIR}/
|
|
|
|
install -d ${STAGING_INCDIR}/alsa/sound
|
|
|
|
install -m 0644 include/*.h ${STAGING_INCDIR}/alsa/
|
|
|
|
install -m 0644 include/sound/ainstr*.h ${STAGING_INCDIR}/alsa/sound/
|
|
|
|
install -d ${STAGING_DATADIR}/aclocal
|
|
|
|
install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/
|
|
|
|
}
|
|
|
|
|
2007-06-05 14:16:46 +00:00
|
|
|
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.*"
|
2006-10-28 19:33:04 +00:00
|
|
|
FILES_alsa-server = "${bindir}/*"
|
2007-06-05 14:16:46 +00:00
|
|
|
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"
|
2006-11-16 14:40:38 +00:00
|
|
|
|
2007-06-05 14:16:46 +00:00
|
|
|
RDEPENDS_libasound = "alsa-conf-base"
|