blob: 7e97d36339856a8f162ff53536828cfbb7677d72 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "Library providing automatic proxy configuration management"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "libproxy provides interfaces to get the proxy that will be \
3used to access network resources. It uses various plugins to get proxy \
4configuration via different mechanisms (e.g. environment variables or \
5desktop settings)."
Brad Bishop316dfdd2018-06-25 12:45:53 -04006HOMEPAGE = "https://github.com/libproxy/libproxy"
7BUGTRACKER = "https://github.com/libproxy/libproxy/issues"
8SECTION = "libs"
9LICENSE = "LGPLv2.1+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
11 file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
12
13DEPENDS = "glib-2.0"
14
Andrew Geissler90fd73c2021-03-05 15:25:55 -060015SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
16 file://determinism.patch"
Andrew Geisslerd1e89492021-02-12 15:35:20 -060017SRC_URI[sha256sum] = "bc89f842f654ee1985a31c0ba56dc7e2ce8044a0264ddca84e650f46cd7f8b05"
Brad Bishop316dfdd2018-06-25 12:45:53 -040018
19UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
20UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
21
22inherit cmake pkgconfig
23
24PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"
25PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf"
26PACKAGECONFIG[gnome3] = "-DWITH_GNOME3=yes,-DWITH_GNOME3=no"
27
28EXTRA_OECMAKE += " \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029 -DWITH_KDE=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040030 -DWITH_MOZJS=no \
31 -DWITH_NM=no \
32 -DWITH_PERL=no \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080033 -DWITH_PYTHON2=no \
34 -DWITH_PYTHON3=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040035 -DWITH_WEBKIT=no \
Andrew Geissler90fd73c2021-03-05 15:25:55 -060036 -DWITH_SYSCONFIG=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040037 -DLIB_INSTALL_DIR=${libdir} \
38 -DLIBEXEC_INSTALL_DIR=${libexecdir} \
39"
Patrick Williams213cb262021-08-07 19:21:33 -050040SECURITY_PIE_CFLAGS:remove = "-fPIE -pie"
Brad Bishop316dfdd2018-06-25 12:45:53 -040041
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:${PN} += "${libdir}/${BPN}/${PV}/modules"