diff options
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb new file mode 100644 index 0000000000..9e633f1f70 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Advanced tools for certain ALSA sound card drivers" | ||
2 | HOMEPAGE = "http://www.alsa-project.org" | ||
3 | BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php" | ||
4 | SECTION = "console/utils" | ||
5 | LICENSE = "GPLv2 & LGPLv2+" | ||
6 | DEPENDS = "alsa-lib ncurses glib-2.0" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
9 | file://ld10k1/COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
10 | |||
11 | SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ | ||
12 | file://autotools.patch \ | ||
13 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', \ | ||
14 | 'file://makefile_no_gtk.patch', d)} \ | ||
15 | file://gitcompile_hdajacksensetest \ | ||
16 | file://0001-as10k1-Make-output_tram_line-static-inline.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "b476a5afaa3ea3230855553ad59d259d" | ||
20 | SRC_URI[sha256sum] = "7d34558c590a50294b36576d257316a1ac5cd951eb8cd7d330e09f8cc757ab51" | ||
21 | |||
22 | inherit autotools-brokensep pkgconfig | ||
23 | |||
24 | CLEANBROKEN = "1" | ||
25 | |||
26 | EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix}'" | ||
27 | |||
28 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}" | ||
29 | PACKAGECONFIG[gtk+] = ",,gtk+ gtk+3," | ||
30 | |||
31 | # configure.ac/.in doesn't exist so force copy | ||
32 | AUTOTOOLS_COPYACLOCAL = "1" | ||
33 | |||
34 | do_compile_prepend () { | ||
35 | #Automake dir is not correctly detected in cross compilation case | ||
36 | export AUTOMAKE_DIR="$(automake --print-libdir)" | ||
37 | export ACLOCAL_FLAGS="--system-acdir=${ACLOCALDIR}/" | ||
38 | |||
39 | cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile | ||
40 | } | ||
41 | |||
42 | FILES_${PN} += "${datadir}/ld10k1" | ||