mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 03:32:12 +02:00
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
50 lines
1.8 KiB
BlitzBasic
50 lines
1.8 KiB
BlitzBasic
DESCRIPTION = "Alsa sound library"
|
|
HOMEPAGE = "http://www.alsa-project.org"
|
|
BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
|
|
SECTION = "libs/multimedia"
|
|
LICENSE = "LGPLv2.1 & GPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
|
|
file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
# 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"
|
|
|
|
PR = "r2"
|
|
|
|
SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \
|
|
file://fix-tstamp-declaration.patch"
|
|
|
|
SRC_URI[md5sum] = "06fe5819020c6684b991dcffc5471304"
|
|
SRC_URI[sha256sum] = "5a1a805cf04106316d549ec650116ce6711a162e107ba8b3c551866680e286e6"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
require alsa-fpu.inc
|
|
EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
|
|
|
|
EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes --disable-python"
|
|
|
|
EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "
|
|
|
|
PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc alsa-dev"
|
|
FILES_${PN} += "${libdir}/${BPN}/smixer/*.so"
|
|
FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug"
|
|
FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
|
|
FILES_libasound = "${libdir}/libasound.so.*"
|
|
FILES_alsa-server = "${bindir}/*"
|
|
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-base"
|