openzone: Initial add 1.2.3
authorAndreas Müller <schnitzeltony@googlemail.com>
Sun, 23 Dec 2012 13:02:32 +0000 (13:02 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:26:49 +0000 (08:26 -0800)
(From meta-openembedded rev: 540e9811f06cd6edf42b31f574d6ab44a8924005)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb [new file with mode: 0644]

diff --git a/meta-openembedded/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb b/meta-openembedded/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
new file mode 100644 (file)
index 0000000..2e19d89
--- /dev/null
@@ -0,0 +1,29 @@
+DESCRIPTION = "X11 Mouse Theme"
+HOMEPAGE = "http://xfce-look.org/content/show.php/OpenZone?content=111343"
+SECTION = "x11/wm"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a2f562fb8fb1e138b810d69521c4bcd7"
+DEPENDS = "icon-slicer-native xcursorgen-native"
+
+inherit allarch
+
+SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz"
+SRC_URI[md5sum] = "4dae968cbd525072664ef7a4fc7c4154"
+SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92"
+
+S = "${WORKDIR}/OpenZone"
+
+do_install() {
+       install -d ${D}${datadir}/icons
+       for theme in `find -name '*.tar.xz'`; do
+               tar -Jxf ${theme} -C ${D}${datadir}/icons
+       done
+}
+
+python populate_packages_prepend () {
+    icondir = bb.data.expand('${datadir}/icons', d)
+    do_split_packages(d, icondir, '^(.*)', '%s', 'Open Zone cursors %s', allow_dirs=True)
+}
+
+PACKAGES_DYNAMIC += "^openzone-.*"
+ALLOW_EMPTY_${PN} = "1"