blob: ad81cccf522471894c5b519e6e15f6ca419b6553 [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
Andrew Geisslerd1e89492021-02-12 15:35:20 -060011SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz"
12SRC_URI[sha256sum] = "bc89f842f654ee1985a31c0ba56dc7e2ce8044a0264ddca84e650f46cd7f8b05"
Brad Bishop316dfdd2018-06-25 12:45:53 -040013
14UPSTREAM_CHECK_URI = "https://github.com/libproxy/libproxy/releases"
15UPSTREAM_CHECK_REGEX = "libproxy-(?P<pver>.*)\.tar"
16
17inherit cmake pkgconfig
18
19PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gnome', '', d)} gnome3"
20PACKAGECONFIG[gnome] = "-DWITH_GNOME=yes,-DWITH_GNOME=no,gconf"
21PACKAGECONFIG[gnome3] = "-DWITH_GNOME3=yes,-DWITH_GNOME3=no"
22
23EXTRA_OECMAKE += " \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024 -DWITH_KDE=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040025 -DWITH_MOZJS=no \
26 -DWITH_NM=no \
27 -DWITH_PERL=no \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028 -DWITH_PYTHON2=no \
29 -DWITH_PYTHON3=no \
Brad Bishop316dfdd2018-06-25 12:45:53 -040030 -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"