summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-06-25 23:22:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-27 16:23:40 +0100
commit2475c80201eaaaebf14be483b6ca166dee71d331 (patch)
treee28b6c723086a35c504ec75c583606c673741350
parentfec366401210e074a9f457ef11037b8b93138f97 (diff)
downloadpoky-2475c80201eaaaebf14be483b6ca166dee71d331.tar.gz
libproxy: update 0.4.18 -> 0.5.2
License-update: formatting, years Upstream has completely overhauled the build system (cmake -> meson) and available options. Add the most important ones that require external dependencies; there's plenty more if someone finds them useful. (From OE-Core rev: bbcfef76c3d412f1a79c77f8712aff36190bf7fa) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/bblayers.py3
-rw-r--r--meta/recipes-support/libproxy/libproxy_0.5.2.bb (renamed from meta/recipes-support/libproxy/libproxy_0.4.18.bb)29
2 files changed, 11 insertions, 21 deletions
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py b/meta/lib/oeqa/selftest/cases/bblayers.py
index b048948386..8faa060234 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -85,8 +85,9 @@ class BitbakeLayers(OESelftestTestCase):
85 result = runCmd('bitbake-layers show-recipes -i image') 85 result = runCmd('bitbake-layers show-recipes -i image')
86 self.assertIn('core-image-minimal', result.output) 86 self.assertIn('core-image-minimal', result.output)
87 self.assertNotIn('mtd-utils:', result.output) 87 self.assertNotIn('mtd-utils:', result.output)
88 result = runCmd('bitbake-layers show-recipes -i cmake,pkgconfig') 88 result = runCmd('bitbake-layers show-recipes -i meson,pkgconfig')
89 self.assertIn('libproxy:', result.output) 89 self.assertIn('libproxy:', result.output)
90 result = runCmd('bitbake-layers show-recipes -i cmake,pkgconfig')
90 self.assertNotIn('mtd-utils:', result.output) # doesn't inherit either 91 self.assertNotIn('mtd-utils:', result.output) # doesn't inherit either
91 self.assertNotIn('wget:', result.output) # doesn't inherit cmake 92 self.assertNotIn('wget:', result.output) # doesn't inherit cmake
92 self.assertNotIn('waffle:', result.output) # doesn't inherit pkgconfig 93 self.assertNotIn('waffle:', result.output) # doesn't inherit pkgconfig
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.18.bb b/meta/recipes-support/libproxy/libproxy_0.5.2.bb
index 748b1bd2c0..7faec2d3d6 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.18.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.5.2.bb
@@ -8,32 +8,21 @@ BUGTRACKER = "https://github.com/libproxy/libproxy/issues"
8SECTION = "libs" 8SECTION = "libs"
9LICENSE = "LGPL-2.1-or-later" 9LICENSE = "LGPL-2.1-or-later"
10LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
11 file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0" 11 file://src/libproxy/proxy.c;beginline=1;endline=20;md5=bb9a177ef1c995311070f34c5638a402 \
12 "
12 13
13DEPENDS = "glib-2.0" 14DEPENDS = "glib-2.0"
14 15
15SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main" 16SRC_URI = "git://github.com/libproxy/libproxy;protocol=https;branch=main"
16SRCREV = "caccaf28e3df6ea612d2d4b39f781c4324019fdb" 17SRCREV = "e4f467b05c8adf25e5a2d5464914fc7e92bb7990"
17S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
18 19
19inherit cmake pkgconfig 20inherit meson pkgconfig gobject-introspection vala gi-docgen
21GIDOCGEN_MESON_OPTION = 'docs'
20 22
21PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3" 23PACKAGECONFIG ?= ""
22PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf" 24PACKAGECONFIG[curl] = "-Dcurl=true,-Dcurl=false,curl"
23PACKAGECONFIG[gnome3] = "-DWITH_GNOME3=yes,-DWITH_GNOME3=no" 25PACKAGECONFIG[config-gnome] = "-Dconfig-gnome=true,-Dconfig-gnome=false,gsettings-desktop-schemas"
24 26PACKAGECONFIG[pacrunner-duktape] = "-Dpacrunner-duktape=true,-Dpacrunner-duktape=false,duktape"
25EXTRA_OECMAKE += " \
26 -DWITH_KDE=no \
27 -DWITH_MOZJS=no \
28 -DWITH_NM=no \
29 -DWITH_PERL=no \
30 -DWITH_PYTHON2=no \
31 -DWITH_PYTHON3=no \
32 -DWITH_WEBKIT=no \
33 -DWITH_SYSCONFIG=no \
34 -DLIB_INSTALL_DIR=${libdir} \
35 -DLIBEXEC_INSTALL_DIR=${libexecdir} \
36"
37SECURITY_PIE_CFLAGS:remove = "-fPIE -pie"
38 27
39FILES:${PN} += "${libdir}/${BPN}/${PV}/modules" 28FILES:${PN} += "${libdir}/${BPN}/${PV}/modules"