blob: c30454cab5479df1a09cda699254f04a265baaa0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "GTK+ theme engines"
2HOMEPAGE = "http://www.gnome.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
7
8SECTION = "x11/base"
9DEPENDS = "intltool-native gtk+"
10
11PR = "r3"
12
13PACKAGES += "${PN}-schemas"
14PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*"
15
16RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
17RDEPENDS_gtk-theme-metal = "gtk-engine-metal"
18RDEPENDS_gtk-theme-mist = "gtk-engine-mist"
19RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine"
20RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue"
21RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
22RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
23RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
24
25FILES_${PN} = ""
26FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la"
27FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
28FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml"
29
30CFLAGS_prepend = "-DHAVE_ANIMATION "
31
32RDEPENDS_${PN}-dev = ""
33
34inherit gnomebase
35GNOME_COMPRESS_TYPE="bz2"
36
37python populate_packages_prepend() {
38 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
39 themes_root = os.path.join(d.getVar('datadir', True), "themes")
40
41 do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')
42 do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='')
43 # TODO: mark theme packages as arch all
44}
45
46SRC_URI += "file://glib-2.32.patch \
47 file://substitute-tests.patch"
48SRC_URI[archive.md5sum] = "5deb287bc6075dc21812130604c7dc4f"
49SRC_URI[archive.sha256sum] = "15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5"