Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | SUMMARY = "GTK+ theme engines" |
| 2 | HOMEPAGE = "http://www.gnome.org/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
| 4 | |
| 5 | LICENSE = "LGPLv2.1" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" |
| 7 | |
| 8 | SECTION = "x11/base" |
| 9 | DEPENDS = "intltool-native gtk+" |
| 10 | |
| 11 | PR = "r3" |
| 12 | |
| 13 | PACKAGES += "${PN}-schemas" |
| 14 | PACKAGES_DYNAMIC += "^gtk-engine-.* ^gtk-theme-.*" |
| 15 | |
| 16 | RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95" |
| 17 | RDEPENDS_gtk-theme-metal = "gtk-engine-metal" |
| 18 | RDEPENDS_gtk-theme-mist = "gtk-engine-mist" |
| 19 | RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine" |
| 20 | RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue" |
| 21 | RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice" |
| 22 | RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial" |
| 23 | RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks" |
| 24 | |
| 25 | FILES_${PN} = "" |
| 26 | FILES_${PN}-dev += "${libdir}/gtk-2.0/*/engines/*.la" |
| 27 | FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug" |
| 28 | FILES_${PN}-schemas = "${datadir}/gtk-engines/*.xml" |
| 29 | |
| 30 | CFLAGS_prepend = "-DHAVE_ANIMATION " |
| 31 | |
| 32 | RDEPENDS_${PN}-dev = "" |
| 33 | |
| 34 | inherit gnomebase |
| 35 | GNOME_COMPRESS_TYPE="bz2" |
| 36 | |
| 37 | python 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 | |
| 46 | SRC_URI += "file://glib-2.32.patch \ |
| 47 | file://substitute-tests.patch" |
| 48 | SRC_URI[archive.md5sum] = "5deb287bc6075dc21812130604c7dc4f" |
| 49 | SRC_URI[archive.sha256sum] = "15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5" |