diff mbox series

[oe,meta-multimedia,3/5] tinyalsa: Update SRC_URI to github git fetcher

Message ID 20180517232110.22663-3-raj.khem@gmail.com
State Accepted
Commit 8c3101b5f53217f4dbef9b960f529a11180bab0d
Headers show
Series [oe,meta-gnome,1/5] evince: Reset PR to 0 | expand

Commit Message

Khem Raj May 17, 2018, 11:21 p.m. UTC
Update to latest on git/master
Fixes build with clang
switch component build system to cmake

Signed-off-by: Khem Raj <raj.khem@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%)

-- 
2.17.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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}/*"