diff options
| -rw-r--r-- | meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb | 32 | ||||
| -rw-r--r-- | meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb | 38 |
2 files changed, 38 insertions, 32 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 deleted file mode 100644 index e47f8c5367..0000000000 --- a/meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 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" | ||
| 6 | |||
| 7 | inherit allarch gtk-icon-cache | ||
| 8 | |||
| 9 | SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz" | ||
| 10 | SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/OpenZone" | ||
| 13 | |||
| 14 | do_compile() { | ||
| 15 | } | ||
| 16 | |||
| 17 | do_install() { | ||
| 18 | install -d ${D}${datadir}/icons | ||
| 19 | for theme in `find -name '*.tar.xz'`; do | ||
| 20 | tar -Jxf ${theme} -C ${D}${datadir}/icons | ||
| 21 | done | ||
| 22 | } | ||
| 23 | |||
| 24 | python populate_packages:prepend () { | ||
| 25 | icondir = bb.data.expand('${datadir}/icons', d) | ||
| 26 | do_split_packages(d, icondir, '^(.*)', '%s', 'Open Zone cursors %s', allow_dirs=True) | ||
| 27 | } | ||
| 28 | |||
| 29 | FILES:${PN} += "${datadir}/icons" | ||
| 30 | |||
| 31 | PACKAGES_DYNAMIC += "^openzone-.*" | ||
| 32 | ALLOW_EMPTY:${PN} = "1" | ||
diff --git a/meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb new file mode 100644 index 0000000000..4b2071eb3f --- /dev/null +++ b/meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 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=a4dd0d1066e1f1224b3bc4bbb206b754" | ||
| 6 | |||
| 7 | inherit allarch gtk-icon-cache | ||
| 8 | |||
| 9 | SRC_URI = "https://mirrors.dotsrc.org/mirrors/exherbo/111343-OpenZone-${PV}.tar.xz" | ||
| 10 | SRC_URI[sha256sum] = "db6fa6d0798aceb56998ce81382fa2246c77911d56b3b06e6aadee4cf5b4816e" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/OpenZone" | ||
| 13 | |||
| 14 | do_compile() { | ||
| 15 | } | ||
| 16 | |||
| 17 | do_install() { | ||
| 18 | install -d ${D}${datadir}/icons | ||
| 19 | for theme in `find -name '*.tar.xz'`; do | ||
| 20 | tar -Jxf ${theme} -C ${D}${datadir}/icons | ||
| 21 | done | ||
| 22 | } | ||
| 23 | |||
| 24 | python populate_packages:prepend () { | ||
| 25 | icondir = d.expand('${datadir}/icons/') | ||
| 26 | iconname = d.expand('${PN}-%s') | ||
| 27 | do_split_packages(d, icondir, '^(.*)', | ||
| 28 | iconname, | ||
| 29 | 'Open Zone cursors %s', | ||
| 30 | extra_depends='', | ||
| 31 | prepend=True, | ||
| 32 | aux_files_pattern=['${datadir}/icons/%s/*']) | ||
| 33 | } | ||
| 34 | |||
| 35 | FILES:${PN} += "${datadir}/icons" | ||
| 36 | |||
| 37 | PACKAGES_DYNAMIC += "^${PN}-.*" | ||
| 38 | ALLOW_EMPTY:${PN} = "1" | ||
