2009-03-11 15:56:44 +00:00
|
|
|
DESCRIPTION = "A library that provides automatic proxy configuration management"
|
|
|
|
HOMEPAGE = "http://code.google.com/p/libproxy/"
|
2010-07-02 12:41:52 +00:00
|
|
|
BUGTRACKER = "http://code.google.com/p/libproxy/issues/list"
|
2010-07-15 12:43:13 +00:00
|
|
|
SECTION = "libs"
|
2010-07-02 12:41:52 +00:00
|
|
|
LICENSE = "LGPLv2.1+"
|
2010-07-15 12:43:13 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
|
|
|
|
file://utils/proxy.c;beginline=1;endline=18;md5=55152a1006d7dafbef32baf9c30a99c0"
|
2010-07-02 12:41:52 +00:00
|
|
|
|
2013-04-04 07:43:37 +00:00
|
|
|
DEPENDS = "gconf glib-2.0"
|
2009-03-11 15:56:44 +00:00
|
|
|
|
2013-06-17 06:30:22 +00:00
|
|
|
PR = "r6"
|
2011-10-26 19:44:43 +00:00
|
|
|
|
2013-06-17 06:30:22 +00:00
|
|
|
SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
|
2012-03-01 18:08:03 +00:00
|
|
|
file://g++-namepace.patch \
|
2012-04-20 16:14:22 +00:00
|
|
|
file://libproxy_fix_for_gcc4.7.patch \
|
2012-11-30 11:08:56 +00:00
|
|
|
file://libproxy-0.4.7-CVE-2012-4504.patch \
|
2012-03-01 18:08:03 +00:00
|
|
|
"
|
2009-03-11 15:56:44 +00:00
|
|
|
|
2013-06-17 06:30:22 +00:00
|
|
|
SRC_URI[md5sum] = "62585570de17d10f03a5a63b701ffd52"
|
|
|
|
SRC_URI[sha256sum] = "429a19c57d9990349d622beecc805b23051caa62a478066bff5d9a312a8937be"
|
2010-07-15 12:43:13 +00:00
|
|
|
|
|
|
|
inherit cmake pkgconfig
|
2009-03-11 15:56:44 +00:00
|
|
|
|
2010-07-21 17:20:40 +00:00
|
|
|
EXTRA_OECMAKE = "-DWITH_WEBKIT=no -DWITH_GNOME=yes -DWITH_KDE4=no \
|
2012-11-16 21:33:07 +00:00
|
|
|
-DWITH_PYTHON=no -DWITH_PERL=no -DWITH_MOZJS=no -DWITH_NM=no -DLIB_INSTALL_DIR=${libdir} -DLIBEXEC_INSTALL_DIR=${libexecdir}"
|
2009-03-11 15:56:44 +00:00
|
|
|
|
2012-06-05 12:25:00 +00:00
|
|
|
FILES_${PN} += "${libdir}/${BPN}/${PV}/modules"
|
2011-10-26 19:44:43 +00:00
|
|
|
FILES_${PN}-dev += "${datadir}/cmake"
|
2012-06-05 12:25:00 +00:00
|
|
|
FILES_${PN}-dbg += "${libdir}/${BPN}/${PV}/plugins/.debug/ ${libdir}/${BPN}/${PV}/modules/.debug/"
|
2010-07-15 12:43:13 +00:00
|
|
|
|
|
|
|
do_configure_prepend() {
|
|
|
|
export HOST_SYS=${HOST_SYS}
|
|
|
|
export BUILD_SYS=${BUILD_SYS}
|
|
|
|
}
|
2012-04-17 13:06:56 +00:00
|
|
|
|
|
|
|
python() {
|
2012-04-17 23:18:35 +00:00
|
|
|
if base_contains("INCOMPATIBLE_LICENSE", "GPLv3", "x", "", d) == "x" or base_contains("DISTRO_FEATURES", "x11", "x", "", d) == "":
|
2012-04-17 13:06:56 +00:00
|
|
|
d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
|
|
|
|
d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
|
|
|
|
}
|