Jelajahi Sumber

openzone: Upgrade to 1.2.4

1.2.3 tarballs are not available anywhere

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 1 bulan lalu
induk
melakukan
80c3e65616

+ 0 - 32
meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb

@@ -1,32 +0,0 @@
-SUMMARY = "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"
-
-inherit allarch gtk-icon-cache
-
-SRC_URI = "http://xfce-look.org/CONTENT/content-files/111343-OpenZone-${PV}.tar.xz"
-SRC_URI[sha256sum] = "dc20f97a49e1ff1becf7853ef5f137ed30a4c27490540e755021d78d339efd92"
-
-S = "${WORKDIR}/OpenZone"
-
-do_compile() {
-}
-
-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)
-}
-
-FILES:${PN} += "${datadir}/icons"
-
-PACKAGES_DYNAMIC += "^openzone-.*"
-ALLOW_EMPTY:${PN} = "1"

+ 38 - 0
meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb

@@ -0,0 +1,38 @@
+SUMMARY = "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=a4dd0d1066e1f1224b3bc4bbb206b754"
+
+inherit allarch gtk-icon-cache
+
+SRC_URI = "https://mirrors.dotsrc.org/mirrors/exherbo/111343-OpenZone-${PV}.tar.xz"
+SRC_URI[sha256sum] = "db6fa6d0798aceb56998ce81382fa2246c77911d56b3b06e6aadee4cf5b4816e"
+
+S = "${WORKDIR}/OpenZone"
+
+do_compile() {
+}
+
+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 = d.expand('${datadir}/icons/')
+    iconname = d.expand('${PN}-%s')
+    do_split_packages(d, icondir, '^(.*)',
+                      iconname,
+                      'Open Zone cursors %s',
+                      extra_depends='',
+                      prepend=True,
+                      aux_files_pattern=['${datadir}/icons/%s/*'])
+}
+
+FILES:${PN} += "${datadir}/icons"
+
+PACKAGES_DYNAMIC += "^${PN}-.*"
+ALLOW_EMPTY:${PN} = "1"