diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-04-24 12:33:45 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-15 10:56:49 +0100 |
| commit | 4fa8f93e6a90f62499715d55262f931f417c7cde (patch) | |
| tree | 852c013b2ccc1fb52005e5e89ae9c09b04d0ab33 /meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb | |
| parent | d3081fc0a237c10478ff95709fab03590811dd81 (diff) | |
| download | poky-4fa8f93e6a90f62499715d55262f931f417c7cde.tar.gz | |
alsa-tools: Update to 1.1.6
License-Update: FSF address updated in hdsploader/COPYING and ld10k1/COPYING.LIB
Fix built with clang along the way
Package python dependent tools into a separate package
(From OE-Core rev: 2a39c8529332c4ea0f8edcac7cfdfb410ca3fb5b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb')
| -rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb new file mode 100644 index 0000000000..e065eec6b8 --- /dev/null +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.1.6.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 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=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 9 | file://ld10k1/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7 \ | ||
| 10 | " | ||
| 11 | |||
| 12 | SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/${BP}.tar.bz2 \ | ||
| 13 | file://autotools.patch \ | ||
| 14 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'file://makefile_no_gtk.patch', d)} \ | ||
| 15 | file://gitcompile_hdajacksensetest \ | ||
| 16 | file://0002-Fix-clang-Wreserved-user-defined-literal-warnings.patch \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "5ca8c9437ae779997cd62fb2815fef19" | ||
| 20 | SRC_URI[sha256sum] = "d69c4dc2fb641a974d9903e9eb78c94cb0c7ac6c45bae664f0c9d6c0a1593227" | ||
| 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}/ ${ACLOCALEXTRAPATH}" | ||
| 38 | |||
| 39 | cp ${WORKDIR}/gitcompile_hdajacksensetest ${S}/hdajacksensetest/gitcompile | ||
| 40 | } | ||
| 41 | |||
| 42 | do_install_append() { | ||
| 43 | sed -i -e "s|/usr/bin/python2|/usr/bin/env python2|g" ${D}${bindir}/hwmixvolume | ||
| 44 | } | ||
| 45 | |||
| 46 | PACKAGES =+ "${PN}-hwmixvolume" | ||
| 47 | |||
| 48 | FILES_${PN}-hwmixvolume = "${bindir}/hwmixvolume" | ||
| 49 | |||
| 50 | FILES_${PN} += "${datadir}/ld10k1 \ | ||
| 51 | ${datadir}/icons/hicolor \ | ||
| 52 | " | ||
| 53 | |||
| 54 | RDEPENDS_${PN}-hwmixvolume += "python" | ||
| 55 | |||
