Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Advanced tools for certain ALSA sound card drivers" |
| 2 | HOMEPAGE = "http://www.alsa-project.org" |
| 3 | BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" |
| 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', '', 'file://makefile_no_gtk.patch', d)} \ |
| 14 | file://gitcompile_hdajacksensetest \ |
| 15 | file://0001-as10k1-Make-output_tram_line-static-inline.patch \ |
| 16 | " |
| 17 | |
| 18 | SRC_URI[md5sum] = "b23eaae687d55410b92587c2053b301f" |
| 19 | SRC_URI[sha256sum] = "d88f1dcd6872121383eded5fa24e328e68c54e527db4547e1435d5eabc2b6709" |
| 20 | |
| 21 | inherit autotools-brokensep pkgconfig |
| 22 | |
| 23 | CLEANBROKEN = "1" |
| 24 | |
| 25 | EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix}'" |
| 26 | |
| 27 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}" |
| 28 | PACKAGECONFIG[gtk+] = ",,gtk+ gtk+3," |
| 29 | |
| 30 | # configure.ac/.in doesn't exist so force copy |
| 31 | AUTOTOOLS_COPYACLOCAL = "1" |
| 32 | |
| 33 | do_compile_prepend () { |
| 34 | #Automake dir is not correctly detected in cross compilation case |
| 35 | export AUTOMAKE_DIR="$(automake --print-libdir)" |
| 36 | export ACLOCAL_FLAGS="--system-acdir=${ACLOCALDIR}/ ${ACLOCALEXTRAPATH}" |
| 37 | |
| 38 | cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile |
| 39 | } |
| 40 | |
| 41 | FILES_${PN} += "${datadir}/ld10k1" |