summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/id3lib
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-03-29 17:03:09 -0700
committerKhem Raj <raj.khem@gmail.com>2020-03-29 17:32:21 -0700
commit1ba4d9baa9ad621df79265022f8d60e2d72bd0c7 (patch)
tree1edc196025747a777d78502773b58ee54c43ed0b /meta-oe/recipes-multimedia/id3lib
parent6ffd5b456f7c1587e59b411365586e8ff959ee48 (diff)
downloadmeta-openembedded-1ba4d9baa9ad621df79265022f8d60e2d72bd0c7.tar.gz
id3lib: Make sure that quilt-native is staged
id3lib_do_patch needs quilt to be built for it to run Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/id3lib')
-rw-r--r--meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
index 9d311608e..21fa0bda1 100644
--- a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
+++ b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
@@ -21,6 +21,7 @@ inherit autotools
21# patches maintained by quilt. So manually apply them before applying other local 21# patches maintained by quilt. So manually apply them before applying other local
22# patches. Also remove all temp files before leaving, because do_patch() will pop 22# patches. Also remove all temp files before leaving, because do_patch() will pop
23# up all previously applied patches in the start 23# up all previously applied patches in the start
24do_patch[depends] += "quilt-native:do_populate_sysroot"
24id3lib_do_patch() { 25id3lib_do_patch() {
25 cd ${S} 26 cd ${S}
26 # it's important that we only pop the existing patches when they've 27 # it's important that we only pop the existing patches when they've
@@ -33,14 +34,14 @@ id3lib_do_patch() {
33 # the test inside which we operate 34 # the test inside which we operate
34 QUILT_PATCHES=${S}/patches quilt pop -a 35 QUILT_PATCHES=${S}/patches quilt pop -a
35 fi 36 fi
36 if [ -d ${S}/.pc-id3lib ]; then 37 if [ -d ${S}/.pc-${BPN} ]; then
37 rm -rf ${S}/.pc 38 rm -rf ${S}/.pc
38 mv ${S}/.pc-id3lib ${S}/.pc 39 mv ${S}/.pc-${BPN} ${S}/.pc
39 QUILT_PATCHES=${S}/debian/patches quilt pop -a 40 QUILT_PATCHES=${S}/debian/patches quilt pop -a
40 rm -rf ${S}/.pc ${S}/debian 41 rm -rf ${S}/.pc ${S}/debian
41 fi 42 fi
42 QUILT_PATCHES=${S}/debian/patches quilt push -a 43 QUILT_PATCHES=${S}/debian/patches quilt push -a
43 mv ${S}/.pc ${S}/.pc-id3lib 44 mv ${S}/.pc ${S}/.pc-${BPN}
44} 45}
45 46
46do_unpack[cleandirs] += "${S}" 47do_unpack[cleandirs] += "${S}"