blob: 991c9d83208f36c3b4088f53d34ce5dd4f0b77bd [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
11SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
12SRC_URI[md5sum] = "f6b1d2a1e17a99cd3debaae6d04ab152"
13SRC_URI[sha256sum] = "654db464120c9534654590b6683c7fa3887b3dad0ca1c4cd412af24fbfca6d4f"
14
15UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
16UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
17
18inherit cmake pkgconfig
19
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 += " \
25 -DWITH_KDE4=no \
26 -DWITH_MOZJS=no \
27 -DWITH_NM=no \
28 -DWITH_PERL=no \
29 -DWITH_PYTHON=no \
30 -DWITH_WEBKIT=no \
31 -DLIB_INSTALL_DIR=${libdir} \
32 -DLIBEXEC_INSTALL_DIR=${libexecdir} \
33"
34SECURITY_PIE_CFLAGS_remove = "-fPIE -pie"
35
36FILES_${PN} += "${libdir}/${BPN}/${PV}/modules"