2024-09-09 08:57:42 +00:00
|
|
|
SUMMARY = "GTK+ theme engines"
|
2024-09-09 08:52:07 +00:00
|
|
|
HOMEPAGE = "http://www.gnome.org/"
|
|
|
|
BUGTRACKER = "https://bugzilla.gnome.org/"
|
|
|
|
|
|
|
|
LICENSE = "LGPLv2.1"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
|
|
|
|
|
|
|
SECTION = "x11/base"
|
2024-09-09 08:57:42 +00:00
|
|
|
DEPENDS = "intltool-native gtk+"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
PR = "r3"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
PACKAGES += "${PN}-schemas"
|
|
|
|
PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
|
|
|
|
RDEPENDS_gtk-theme-metal = "gtk-engine-metal"
|
|
|
|
RDEPENDS_gtk-theme-mist = "gtk-engine-mist"
|
|
|
|
RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine"
|
|
|
|
RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue"
|
|
|
|
RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
|
|
|
|
RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
|
|
|
|
RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
FILES_${PN} = ""
|
2024-09-09 08:52:07 +00:00
|
|
|
FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la"
|
|
|
|
FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug"
|
2024-09-09 08:57:42 +00:00
|
|
|
FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
CFLAGS_prepend = "-DHAVE_ANIMATION "
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
inherit gnomebase
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
python populate_packages_prepend() {
|
2024-09-09 08:57:42 +00:00
|
|
|
engines_root = os.path.join(d.getVar('libdir', True), "gtk-2.0/2.10.0/engines")
|
|
|
|
themes_root = os.path.join(d.getVar('datadir', True), "themes")
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')
|
|
|
|
do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='')
|
|
|
|
# TODO: mark theme packages as arch all
|
2024-09-09 08:52:07 +00:00
|
|
|
}
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
SRC_URI += "file://glib-2.32.patch \
|
|
|
|
file://substitute-tests.patch"
|
2024-09-09 08:52:07 +00:00
|
|
|
SRC_URI[archive.md5sum] = "5deb287bc6075dc21812130604c7dc4f"
|
|
|
|
SRC_URI[archive.sha256sum] = "15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5"
|