Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "X11 Mouse Theme" |
| 2 | HOMEPAGE = "http://xfce-look.org/content/show.php/OpenZone?content=111343" |
| 3 | SECTION = "x11/wm" |
| 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a2f562fb8fb1e138b810d69521c4bcd7" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | inherit allarch gtk-icon-cache |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | |
| 9 | SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz" |
| 10 | SRC_URI[md5sum] = "4dae968cbd525072664ef7a4fc7c4154" |
| 11 | SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92" |
| 12 | |
| 13 | S = "${WORKDIR}/OpenZone" |
| 14 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | do_compile() { |
| 16 | } |
| 17 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | do_install() { |
| 19 | install -d ${D}${datadir}/icons |
| 20 | for theme in `find -name '*.tar.xz'`; do |
| 21 | tar -Jxf ${theme} -C ${D}${datadir}/icons |
| 22 | done |
| 23 | } |
| 24 | |
| 25 | python populate_packages_prepend () { |
| 26 | icondir = bb.data.expand('${datadir}/icons', d) |
| 27 | do_split_packages(d, icondir, '^(.*)', '%s', 'Open Zone cursors %s', allow_dirs=True) |
| 28 | } |
| 29 | |
| 30 | PACKAGES_DYNAMIC += "^openzone-.*" |
| 31 | ALLOW_EMPTY_${PN} = "1" |