diff options
-rw-r--r-- | meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb new file mode 100644 index 000000000..2e19d8980 --- /dev/null +++ b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | DESCRIPTION = "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" | ||
6 | DEPENDS = "icon-slicer-native xcursorgen-native" | ||
7 | |||
8 | inherit allarch | ||
9 | |||
10 | SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz" | ||
11 | SRC_URI[md5sum] = "4dae968cbd525072664ef7a4fc7c4154" | ||
12 | SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92" | ||
13 | |||
14 | S = "${WORKDIR}/OpenZone" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${datadir}/icons | ||
18 | for theme in `find -name '*.tar.xz'`; do | ||
19 | tar -Jxf ${theme} -C ${D}${datadir}/icons | ||
20 | done | ||
21 | } | ||
22 | |||
23 | python populate_packages_prepend () { | ||
24 | icondir = bb.data.expand('${datadir}/icons', d) | ||
25 | do_split_packages(d, icondir, '^(.*)', '%s', 'Open Zone cursors %s', allow_dirs=True) | ||
26 | } | ||
27 | |||
28 | PACKAGES_DYNAMIC += "^openzone-.*" | ||
29 | ALLOW_EMPTY_${PN} = "1" | ||