diff mbox series

[meta-xfce,1/5] openzone: Upgrade to 1.2.4

Message ID 20250406072310.862374-1-raj.khem@gmail.com
State New
Headers show
Series [meta-xfce,1/5] openzone: Upgrade to 1.2.4 | expand

Commit Message

Khem Raj April 6, 2025, 7:23 a.m. UTC
1.2.3 tarballs are not available anywhere

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../cursor-themes/openzone_1.2.3.bb           | 32 ----------------
 .../cursor-themes/openzone_1.2.4.bb           | 38 +++++++++++++++++++
 2 files changed, 38 insertions(+), 32 deletions(-)
 delete mode 100644 meta-xfce/recipes-art/cursor-themes/openzone_1.2.3.bb
 create mode 100644 meta-xfce/recipes-art/cursor-themes/openzone_1.2.4.bb
diff mbox series

Patch

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 @@ 
-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"
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 @@ 
+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"