blob: 19dddebd4495cad91e62a30d3b279cbc286fd3e7 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "Library providing automatic proxy configuration management"
2HOMEPAGE = "https://github.com/libproxy/libproxy"
3BUGTRACKER = "https://github.com/libproxy/libproxy/issues"
4SECTION = "libs"
5LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
7 file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
8
9DEPENDS = "glib-2.0"
10
Brad Bishop19323692019-04-05 15:28:33 -040011SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
12 file://0001-get-pac-test-Fix-build-with-clang-libc.patch \
13 "
Brad Bishop316dfdd2018-06-25 12:45:53 -040014SRC_URI[md5sum] = "f6b1d2a1e17a99cd3debaae6d04ab152"
15SRC_URI[sha256sum] = "654db464120c9534654590b6683c7fa3887b3dad0ca1c4cd412af24fbfca6d4f"
16
17UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
18UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
19
20inherit cmake pkgconfig
21
22PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"
23PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf"
24PACKAGECONFIG[gnome3] = "-DWITH_GNOME3=yes,-DWITH_GNOME3=no"
25
26EXTRA_OECMAKE += " \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027 -DWITH_KDE=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040028 -DWITH_MOZJS=no \
29 -DWITH_NM=no \
30 -DWITH_PERL=no \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031 -DWITH_PYTHON2=no \
32 -DWITH_PYTHON3=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040033 -DWITH_WEBKIT=no \
34 -DLIB_INSTALL_DIR=${libdir} \
35 -DLIBEXEC_INSTALL_DIR=${libexecdir} \
36"
37SECURITY_PIE_CFLAGS_remove = "-fPIE -pie"
38
39FILES_${PN} += "${libdir}/${BPN}/${PV}/modules"