summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2011-08-26 15:23:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-29 13:48:06 +0100
commit7d8d3e678493e44b292711bde8462252aa2762dc (patch)
treec04f650433007b4e0318cb39c328f53ffe442ef0 /meta/recipes-graphics/pango
parent0963d513a03bf42c0227d5f89a337613c615be23 (diff)
downloadpoky-7d8d3e678493e44b292711bde8462252aa2762dc.tar.gz
pango: make x11 support conditional on DISTRO_FEATURES
This allows pango to build on DISTROs which don't enable x11. Also adjust the SECTION since pango isn't really an X library. (From OE-Core rev: ac92a573dd38270a28967c76472435cfd7f9bdfe) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r--meta/recipes-graphics/pango/pango.inc10
-rw-r--r--meta/recipes-graphics/pango/pango_1.28.4.bb2
2 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index 5a8a5aef75..a8e99e2f6d 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -6,14 +6,15 @@ been done in the context of the GTK+ widget toolkit. Pango forms the \
6core of text and font handling for GTK+-2.x." 6core of text and font handling for GTK+-2.x."
7HOMEPAGE = "http://www.pango.org/" 7HOMEPAGE = "http://www.pango.org/"
8BUGTRACKER = "http://bugzilla.gnome.org" 8BUGTRACKER = "http://bugzilla.gnome.org"
9SECTION = "x11/libs" 9SECTION = "libs"
10LICENSE = "LGPL" 10LICENSE = "LGPL"
11 11
12DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo" 12X11DEPENDS = "virtual/libx11 libxft"
13DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
13 14
14PACKAGES_DYNAMIC = "pango-module-*" 15PACKAGES_DYNAMIC = "pango-module-*"
15 16
16RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" 17RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc"
17 18
18inherit gnome 19inherit gnome
19 20
@@ -24,7 +25,8 @@ FULL_OPTIMIZATION_arm = "-O2"
24 25
25EXTRA_OECONF = "--disable-glibtest \ 26EXTRA_OECONF = "--disable-glibtest \
26 --enable-explicit-deps=no \ 27 --enable-explicit-deps=no \
27 --disable-debug" 28 --disable-debug \
29 ${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
28 30
29LEAD_SONAME = "libpango-1.0*" 31LEAD_SONAME = "libpango-1.0*"
30LIBV = "1.6.0" 32LIBV = "1.6.0"
diff --git a/meta/recipes-graphics/pango/pango_1.28.4.bb b/meta/recipes-graphics/pango/pango_1.28.4.bb
index 600f00b740..68ab700c8c 100644
--- a/meta/recipes-graphics/pango/pango_1.28.4.bb
+++ b/meta/recipes-graphics/pango/pango_1.28.4.bb
@@ -2,7 +2,7 @@ require pango.inc
2 2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
4 4
5PR = "r0" 5PR = "r1"
6 6
7SRC_URI += "file://no-tests.patch" 7SRC_URI += "file://no-tests.patch"
8 8