blob: 7c3a87e872753c1516332daf66afdd5b159bf05b [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"
Patrick Williamsf1e5d692016-03-30 15:21:19 -05009DEPENDS = "intltool-native gtk+ gettext-native"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050010
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
Patrick Williamsf1e5d692016-03-30 15:21:19 -050037inherit distro_features_check
38ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
39
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040python populate_packages_prepend() {
41 engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
42 themes_root = os.path.join(d.getVar('datadir', True), "themes")
43
44 do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')
45 do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='')
46 # TODO: mark theme packages as arch all
47}
48
49SRC_URI += "file://glib-2.32.patch \
50 file://substitute-tests.patch"
51SRC_URI[archive.md5sum] = "5deb287bc6075dc21812130604c7dc4f"
52SRC_URI[archive.sha256sum] = "15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5"