summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-03-26 01:12:23 -0700
committerKhem Raj <raj.khem@gmail.com>2022-03-26 18:15:11 -0700
commit36883aece976682bfa8c24a4de0d0a0966e9559a (patch)
treebc39dd3454d2c1262a25bd4f421ff1f64708cbf7 /meta-oe/recipes-support
parentea5e40888c621634f5253e83ee7c2dc15d95fa54 (diff)
downloadmeta-openembedded-36883aece976682bfa8c24a4de0d0a0966e9559a.tar.gz
iniparser: Update to latest tip of trunk
Install .pc file Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/iniparser/iniparser/0001-iniparser.pc-Make-libpath-a-variable.patch23
-rw-r--r--meta-oe/recipes-support/iniparser/iniparser_4.1.bb11
2 files changed, 32 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/iniparser/iniparser/0001-iniparser.pc-Make-libpath-a-variable.patch b/meta-oe/recipes-support/iniparser/iniparser/0001-iniparser.pc-Make-libpath-a-variable.patch
new file mode 100644
index 000000000..4824344f0
--- /dev/null
+++ b/meta-oe/recipes-support/iniparser/iniparser/0001-iniparser.pc-Make-libpath-a-variable.patch
@@ -0,0 +1,23 @@
1From 1761298b73c759c07e4652ada307f68512a75ff1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 25 Mar 2022 20:44:41 -0700
4Subject: [PATCH] iniparser.pc: Make libpath a variable
5
6Will set according to baselib that yocto exports.
7
8Upstream-Status: Inappropriate [OE-specific]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 iniparser.pc | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14--- a/iniparser.pc
15+++ b/iniparser.pc
16@@ -1,6 +1,6 @@
17 prefix=/usr
18 exec_prefix=/usr
19-libdir=${exec_prefix}/lib
20+libdir=${exec_prefix}/@baselib@
21 includedir=${prefix}/include
22 datarootdir=${prefix}/share
23 datadir=${datarootdir}
diff --git a/meta-oe/recipes-support/iniparser/iniparser_4.1.bb b/meta-oe/recipes-support/iniparser/iniparser_4.1.bb
index f3593fb5f..2810a4f65 100644
--- a/meta-oe/recipes-support/iniparser/iniparser_4.1.bb
+++ b/meta-oe/recipes-support/iniparser/iniparser_4.1.bb
@@ -6,12 +6,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e02baf71c76e0650e667d7da133379ac"
6 6
7DEPENDS = "doxygen-native" 7DEPENDS = "doxygen-native"
8 8
9PV .= "+git${SRCPV}"
10
9SRC_URI = "git://github.com/ndevilla/iniparser.git;protocol=https;branch=master \ 11SRC_URI = "git://github.com/ndevilla/iniparser.git;protocol=https;branch=master \
12 file://0001-iniparser.pc-Make-libpath-a-variable.patch \
10 file://Add-CMake-support.patch" 13 file://Add-CMake-support.patch"
11 14
12# tag 4.1 15SRCREV= "deb85ad4936d4ca32cc2260ce43323d47936410d"
13SRCREV= "0a38e85c9cde1e099ca3bf70083bd00f89c3e5b6"
14 16
15S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
16 18
17inherit cmake 19inherit cmake
20
21do_install:append() {
22 install -Dm 0644 ${S}/iniparser.pc ${D}${libdir}/pkgconfig/iniparser.pc
23 sed -i -e 's,@baselib@,${baselib},g' ${D}${libdir}/pkgconfig/iniparser.pc
24}