blob: 01ba2a6fe92855d273a41dd91efa8d1d3546ba47 [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"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00009LICENSE = "LGPL-2.1-or-later"
Brad Bishop316dfdd2018-06-25 12:45:53 -040010LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
11 file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
12
13DEPENDS = "glib-2.0"
14
Andrew Geissler87f5cff2022-09-30 13:13:31 -050015SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.xz"
Andrew Geissler615f2f12022-07-15 14:00:58 -050016SRC_URI[sha256sum] = "69b5856e9ea42c38ac77e6b8c92ffc86a71d341fef74e77bef85f9cc6c47a4b1"
Brad Bishop316dfdd2018-06-25 12:45:53 -040017
Andrew Geissler87f5cff2022-09-30 13:13:31 -050018inherit cmake pkgconfig github-releases
Brad Bishop316dfdd2018-06-25 12:45:53 -040019
20PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"
21PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf"
22PACKAGECONFIG[gnome3] = "-DWITH_GNOME3=yes,-DWITH_GNOME3=no"
23
24EXTRA_OECMAKE += " \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025 -DWITH_KDE=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040026 -DWITH_MOZJS=no \
27 -DWITH_NM=no \
28 -DWITH_PERL=no \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029 -DWITH_PYTHON2=no \
30 -DWITH_PYTHON3=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040031 -DWITH_WEBKIT=no \
Andrew Geissler90fd73c2021-03-05 15:25:55 -060032 -DWITH_SYSCONFIG=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040033 -DLIB_INSTALL_DIR=${libdir} \
34 -DLIBEXEC_INSTALL_DIR=${libexecdir} \
35"
Patrick Williams213cb262021-08-07 19:21:33 -050036SECURITY_PIE_CFLAGS:remove = "-fPIE -pie"
Brad Bishop316dfdd2018-06-25 12:45:53 -040037
Patrick Williams213cb262021-08-07 19:21:33 -050038FILES:${PN} += "${libdir}/${BPN}/${PV}/modules"