summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJeff Dike <jdike@x86_64.user-mode-linux.org>2010-07-21 13:20:40 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-21 21:23:21 +0100
commit0e0830109cea38de17a589ec2fd3a9184f489087 (patch)
tree6c89d2f770da2da2f8d6bafcdb73571e0f8d5740 /meta
parent314fbb1c0519e5c9b44f35915dc346e0b7166e8e (diff)
downloadpoky-0e0830109cea38de17a589ec2fd3a9184f489087.tar.gz
libproxy: Disabled webkit support
This package changed from autoconf to cmake during the last recipe upgrade. This made the existing EXTRA_OECONF, which disabled wekbit support among other things, non-functional, which in turn, broke the build. This patch disables webkit in a CMAKE way by adding EXTRA_OECMAKE to the cmake class description, and setting it to "-DWEBKIT=no" in the libproxy recipe and also reproduces the EXTRA_OECONF settings. Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/cmake.bbclass2
-rw-r--r--meta/packages/libproxy/libproxy_0.4.2.bb5
2 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index a9130f2a05..b972bd0037 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -5,7 +5,7 @@ inherit autotools
5 5
6cmake_do_configure() { 6cmake_do_configure() {
7 cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \ 7 cmake . -DCMAKE_INSTALL_PREFIX:PATH=${prefix} -Wno-dev \
8 -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} 8 -DCMAKE_FIND_ROOT_PATH=${STAGING_DIR_HOST} ${EXTRA_OECMAKE}
9} 9}
10 10
11EXPORT_FUNCTIONS do_configure 11EXPORT_FUNCTIONS do_configure
diff --git a/meta/packages/libproxy/libproxy_0.4.2.bb b/meta/packages/libproxy/libproxy_0.4.2.bb
index 61595f64e9..c858b514d9 100644
--- a/meta/packages/libproxy/libproxy_0.4.2.bb
+++ b/meta/packages/libproxy/libproxy_0.4.2.bb
@@ -11,11 +11,12 @@ DEPENDS = "virtual/libx11 xmu gconf-dbus"
11 11
12SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz" 12SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz"
13 13
14PR = "r0" 14PR = "r1"
15 15
16inherit cmake pkgconfig 16inherit cmake pkgconfig
17 17
18EXTRA_OECONF = "--without-kde --with-gnome --without-webkit --without-python --without-mozjs --without-networkmanager" 18EXTRA_OECMAKE = "-DWITH_WEBKIT=no -DWITH_GNOME=yes -DWITH_KDE4=no \
19 -DWITH_PYTHON=no -DWITH_MOZJS=no -DWITH_NM=no"
19 20
20FILES_${PN}-dbg += "${libdir}/libproxy/0.4.2/plugins/" 21FILES_${PN}-dbg += "${libdir}/libproxy/0.4.2/plugins/"
21 22