summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/pango/pango.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/pango/pango.inc
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/pango/pango.inc')
-rw-r--r--meta/recipes-graphics/pango/pango.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
new file mode 100644
index 0000000000..fa22fa578e
--- /dev/null
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -0,0 +1,46 @@
1DESCRIPTION = "The goal of the Pango project is to provide an \
2Open Source framework for the layout and rendering of \
3internationalized text."
4HOMEPAGE = "http://www.pango.org/"
5BUGTRACKER = "http://bugzilla.gnome.org"
6SECTION = "x11/libs"
7LICENSE = "LGPL"
8
9DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo"
10
11PACKAGES_DYNAMIC = "pango-module-*"
12
13RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc"
14
15inherit gnome
16
17EXTRA_AUTORECONF = ""
18
19# seems to go wrong with default cflags
20FULL_OPTIMIZATION_arm = "-O2"
21
22EXTRA_OECONF = "--disable-glibtest \
23 --enable-explicit-deps=no \
24 --disable-debug"
25
26LEAD_SONAME = "libpango-1.0*"
27LIBV = "1.6.0"
28
29postinst_prologue() {
30if [ "x$D" != "x" ]; then
31 exit 1
32fi
33
34}
35
36python populate_packages_prepend () {
37 prologue = bb.data.getVar("postinst_prologue", d, 1)
38
39 modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d)
40
41 do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules')
42}
43
44FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*${SOLIBS}"
45FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
46FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"