Skip to contentSkip to conversation

gst-instruments: switch away from github archive

PATCH New Trevor Woerner 1 participant 3 messages May 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 gst-instruments: switch away from github archive

Since we know that github archives that are automatically generated have a tendency to change their checksums[1], switch to using git clones.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

---
 .../gst-instruments/gst-instruments_0.2.3.bb             | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
meta-multimedia/recipes-support/gst-instruments/gst-instruments_0.2.3.bb +3 -6
index b6cdc4f146..67d39512f9 100644
@@ -5,12 +5,9 @@ SECTION = "multimedia"
 LICENSE = "LGPL-3.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-SRC_URI = "https://github.com/kirushyk/gst-instruments/archive/${PV}.tar.gz"
-
-SRC_URI[md5sum] = "14a394dec25642848b17f9999f1b4999"
-SRC_URI[sha256sum] = "5565658a33ff9596946541304fbdd3b3683dbb82171a0e6ce56f42b64a01e58d"
-
-S = "${WORKDIR}/gst-instruments-${PV}"
+S = "${WORKDIR}/git"
+SRCREV = "4ce8092636ee6572148b5fa044080734cf5a6b8d"
+SRC_URI = "git://github.com/kirushyk/gst-instruments.git;protocol=https;"
 
 FILES_${PN} += "${libdir}/*"
 
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c
#1 lore raw

PATCH 2/3 gst-instruments: recipe cleanup, fix -staticdev

Fix the detected QA issue whereby a static (*.a) library (i.e. ${PN}-staticdev) ended up in the main gst-instruments package.

WARNING: gst-instruments-0.2.3-r0 do_package_qa: QA Issue: non -staticdev
package contains static .a library: gst-instruments path '/work/core2-64-oe-linux/gst-instruments/0.2.3-r0/packages-split/gst-instruments/usr/lib/gstreamer-1.0/libgstinstruments.a' [staticdev]

---
 .../recipes-support/gst-instruments/gst-instruments_0.2.3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-multimedia/recipes-support/gst-instruments/gst-instruments_0.2.3.bb +3 -2
index 67d39512f9..07d0c55615 100644
@@ -5,15 +5,16 @@ SECTION = "multimedia"
 LICENSE = "LGPL-3.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
+DEPENDS = "gstreamer1.0"
+
 S = "${WORKDIR}/git"
 SRCREV = "4ce8092636ee6572148b5fa044080734cf5a6b8d"
 SRC_URI = "git://github.com/kirushyk/gst-instruments.git;protocol=https;"
 
+FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*a"
 FILES_${PN} += "${libdir}/*"
 
 INSANE_SKIP_${PN} = "dev-so"
 
-DEPENDS = "gstreamer1.0"
-
 inherit autotools pkgconfig
 
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c
#2 lore raw

PATCH 3/3 gst-instruments: update to latest

In reply to Trevor Woerner
---
 .../{gst-instruments_0.2.3.bb => gst-instruments_git.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-support/gst-instruments/{gst-instruments_0.2.3.bb => gst-instruments_git.bb} (90%)
meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb renamed from meta-multimedia/recipes-support/gst-instruments/gst-instruments_0.2.3.bb +1 -1
similarity index 90%
rename from meta-multimedia/recipes-support/gst-instruments/gst-instruments_0.2.3.bb
rename to meta-multimedia/recipes-support/gst-instruments/gst-instruments_git.bb
index 07d0c55615..feffa9fe19 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02"
 DEPENDS = "gstreamer1.0"
 
 S = "${WORKDIR}/git"
-SRCREV = "4ce8092636ee6572148b5fa044080734cf5a6b8d"
+SRCREV = "3b862e52e5c53ad1023dc6808effa4cb75572c4b"
 SRC_URI = "git://github.com/kirushyk/gst-instruments.git;protocol=https;"
 
 FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*a"
Signature · 1 line
2.17.0.rc2.3.gc2a499e6c