diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/pango/pango.inc | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-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.inc | 46 |
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 @@ | |||
1 | DESCRIPTION = "The goal of the Pango project is to provide an \ | ||
2 | Open Source framework for the layout and rendering of \ | ||
3 | internationalized text." | ||
4 | HOMEPAGE = "http://www.pango.org/" | ||
5 | BUGTRACKER = "http://bugzilla.gnome.org" | ||
6 | SECTION = "x11/libs" | ||
7 | LICENSE = "LGPL" | ||
8 | |||
9 | DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv virtual/libx11 libxft gtk-doc-native cairo" | ||
10 | |||
11 | PACKAGES_DYNAMIC = "pango-module-*" | ||
12 | |||
13 | RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" | ||
14 | |||
15 | inherit gnome | ||
16 | |||
17 | EXTRA_AUTORECONF = "" | ||
18 | |||
19 | # seems to go wrong with default cflags | ||
20 | FULL_OPTIMIZATION_arm = "-O2" | ||
21 | |||
22 | EXTRA_OECONF = "--disable-glibtest \ | ||
23 | --enable-explicit-deps=no \ | ||
24 | --disable-debug" | ||
25 | |||
26 | LEAD_SONAME = "libpango-1.0*" | ||
27 | LIBV = "1.6.0" | ||
28 | |||
29 | postinst_prologue() { | ||
30 | if [ "x$D" != "x" ]; then | ||
31 | exit 1 | ||
32 | fi | ||
33 | |||
34 | } | ||
35 | |||
36 | python 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 | |||
44 | FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*${SOLIBS}" | ||
45 | FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug" | ||
46 | FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la" | ||