[oe] [meta-multimedia][PATCH 3/5] tinyalsa: Update SRC_URI to github git fetcher
Khem Raj
raj.khem at gmail.com
Thu May 17 23:21:08 UTC 2018
Update to latest on git/master
Fixes build with clang
switch component build system to cmake
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../{tinyalsa_1.1.1.bb => tinyalsa.bb} | 20 +++++--------------
1 file changed, 5 insertions(+), 15 deletions(-)
rename meta-multimedia/recipes-multimedia/tinyalsa/{tinyalsa_1.1.1.bb => tinyalsa.bb} (50%)
diff --git a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
similarity index 50%
rename from meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb
rename to meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
index 66b95db00f..72094b6fad 100644
--- a/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa_1.1.1.bb
+++ b/meta-multimedia/recipes-multimedia/tinyalsa/tinyalsa.bb
@@ -6,23 +6,13 @@ SECTION = "libs/multimedia"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://NOTICE;md5=dbdefe400d894b510a9de14813181d0b"
-S = "${WORKDIR}/git"
-SRCREV = "df11091086b56e5fb71887f2fa320e1d2ffeff58"
-SRC_URI = "git://github.com/tinyalsa/tinyalsa.git;protocol=https;"
-
-do_configure() {
- :
-}
+SRCREV = "67b9210d344c34e8d1aa0cfe638abce71c5221ca"
+SRC_URI = "git://github.com/tinyalsa/tinyalsa"
+PV = "1.1.1+git${SRCPV}"
-do_compile() {
- oe_runmake CC='${CC}' LD='${CC}' AR='${AR}'
-}
+S = "${WORKDIR}/git"
-do_install() {
- oe_runmake install \
- PREFIX="${prefix}" DESTDIR="${D}" INCDIR="${includedir}/tinyalsa" \
- LIBDIR="${libdir}" BINDIR="${bindir}" MANDIR="${mandir}"
-}
+inherit cmake
PACKAGES =+ "${PN}-tools"
FILES_${PN}-tools = "${bindir}/*"
--
2.17.0
More information about the Openembedded-devel
mailing list