summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wiesner2021-03-26 10:39:38 +0100
committerSebastian Wiesner2021-03-26 16:47:21 +0100
commit1bd9ba0b9085c6e7f14c3c59188fafca9e408691 (patch)
treeeafe2685513500896d7091ac824389f4accc36af
parent124ef764118b0d2d74bf40b330f0ebb1eb39ea0d (diff)
downloadaur-1bd9ba0b9085c6e7f14c3c59188fafca9e408691.tar.gz
upgpkg: zsa-wally 2.1.0-12
upgpkg: zsa-wally 2.1.0-12 Patch desktop file to comply to freedesktop standards, see https://github.com/zsa/wally/pull/97
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
-rw-r--r--desktop-file.patch43
3 files changed, 57 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d1acce8fc74..ca23b8f8067 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zsa-wally
pkgdesc = Flash your ZSA Keyboard the EZ way.
pkgver = 2.1.0
- pkgrel = 11
+ pkgrel = 12
url = https://github.com/zsa/wally
arch = i686
arch = x86_64
@@ -13,12 +13,16 @@ pkgbase = zsa-wally
depends = libusb
source = zsa-wally-2.1.0.tar.gz::https://github.com/zsa/wally/archive/refs/tags/2.1.0-linux.tar.gz
source = modernize-udev-rules.patch
+ source = desktop-file.patch
md5sums = f4a98a0e51d5d0b6d23a95858d230e11
md5sums = d444c2b74b3c51c265f91020942075bc
+ md5sums = e1800d7066a392864619db15145fe735
sha1sums = deb20d7c9b1a1eb799bb2288540fb7119f1f8ba2
sha1sums = 62c1903d3723399d209f0642849d850e91feaef8
+ sha1sums = 3e1bd7e97924712381860ae3264b6600f5e9c23c
sha512sums = d84c469f7d43ba86eb5d0d527a17b588ea12e0272897231392e0572cef0a80f806948a225e263806e5cf7b2fc95eb58e02468ecbe8d12f69ec07919eb364e789
sha512sums = 923cd4c9795f9828a827e8f5d832ee6f0b74aeb19d948f4e9d8eb7b59d93a570a4bd5e0e0e0b24adfa78644df60425063b37f19ae658e1a3c6200a6c9c126793
+ sha512sums = 1f967e5ec80760b9a0cf0345d5227caf679398b3b78e0f05ddd5a5c1909039c15a8547aee9174e76beac84395a2b63b31c74396a66bce2193517f494b92216b4
pkgname = zsa-wally
diff --git a/PKGBUILD b/PKGBUILD
index 6f0d395e0e0..7d9202c3df1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zsa-wally
pkgver=2.1.0
-pkgrel=11
+pkgrel=12
pkgdesc="Flash your ZSA Keyboard the EZ way."
arch=('i686' 'x86_64')
url="https://github.com/zsa/wally"
@@ -12,18 +12,23 @@ makedepends=("go" "npm")
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/zsa/wally/archive/refs/tags/$pkgver-linux.tar.gz"
"modernize-udev-rules.patch"
+ "desktop-file.patch"
)
md5sums=('f4a98a0e51d5d0b6d23a95858d230e11'
- 'd444c2b74b3c51c265f91020942075bc')
+ 'd444c2b74b3c51c265f91020942075bc'
+ 'e1800d7066a392864619db15145fe735')
sha1sums=('deb20d7c9b1a1eb799bb2288540fb7119f1f8ba2'
- '62c1903d3723399d209f0642849d850e91feaef8')
+ '62c1903d3723399d209f0642849d850e91feaef8'
+ '3e1bd7e97924712381860ae3264b6600f5e9c23c')
sha512sums=('d84c469f7d43ba86eb5d0d527a17b588ea12e0272897231392e0572cef0a80f806948a225e263806e5cf7b2fc95eb58e02468ecbe8d12f69ec07919eb364e789'
- '923cd4c9795f9828a827e8f5d832ee6f0b74aeb19d948f4e9d8eb7b59d93a570a4bd5e0e0e0b24adfa78644df60425063b37f19ae658e1a3c6200a6c9c126793')
+ '923cd4c9795f9828a827e8f5d832ee6f0b74aeb19d948f4e9d8eb7b59d93a570a4bd5e0e0e0b24adfa78644df60425063b37f19ae658e1a3c6200a6c9c126793'
+ '1f967e5ec80760b9a0cf0345d5227caf679398b3b78e0f05ddd5a5c1909039c15a8547aee9174e76beac84395a2b63b31c74396a66bce2193517f494b92216b4')
prepare() {
cd "wally-$pkgver-linux"
patch --strip=1 --input="$srcdir/modernize-udev-rules.patch"
+ patch --strip=1 --input="$srcdir/desktop-file.patch"
export GOPATH="$srcdir/gopath"
go get -u github.com/wailsapp/wails/cmd/wails
diff --git a/desktop-file.patch b/desktop-file.patch
new file mode 100644
index 00000000000..8ee93ba151b
--- /dev/null
+++ b/desktop-file.patch
@@ -0,0 +1,43 @@
+From b4dd6ca42c8a4b2cd7a6b79cf9938dd49d64e696 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
+ <Mailaender@users.noreply.github.com>
+Date: Thu, 14 Jan 2021 20:50:43 +0100
+Subject: [PATCH 1/2] Use a valid category.
+
+---
+ dist/linux64/wally.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dist/linux64/wally.desktop b/dist/linux64/wally.desktop
+index 396cede..b9556bc 100644
+--- a/dist/linux64/wally.desktop
++++ b/dist/linux64/wally.desktop
+@@ -7,4 +7,4 @@ Comment=Flash your ZSA keyboard the EZ way
+ Exec=wally
+ Icon=wally
+ Terminal=false
+-Categories=Development;
++Categories=Settings;HardwareSettings;
+
+From f71c234e94fb4937485884cfe2fae13207517eb2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
+ <Mailaender@users.noreply.github.com>
+Date: Thu, 14 Jan 2021 20:51:22 +0100
+Subject: [PATCH 2/2] Add a generic name.
+
+---
+ dist/linux64/wally.desktop | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/dist/linux64/wally.desktop b/dist/linux64/wally.desktop
+index b9556bc..27d0cd8 100644
+--- a/dist/linux64/wally.desktop
++++ b/dist/linux64/wally.desktop
+@@ -3,6 +3,7 @@ Type=Application
+ Version=1.0
+ Name=Wally
+ Name[en_US]=Wally
++GenericName=ZSA Keyboard Flashing Tool
+ Comment=Flash your ZSA keyboard the EZ way
+ Exec=wally
+ Icon=wally