summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author Jay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2024-06-05 09:47:43 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-07 08:39:24 +0700
commitff7217de9bed610de61877739d46e5770a0dc328 (patch)
treefb88058c46b83e1660fffa4d430936d583dea620 /desktop
parenta18093d9dd627e35da8d037f77e2d0237b35015a (diff)
downloadslackbuilds-ff7217de9bed610de61877739d46e5770a0dc328.tar.gz
slackbuilds-ff7217de9bed610de61877739d46e5770a0dc328.tar.xz
desktop/nwg-hello: Updated for version 0.2.1.
added new python3-build dependency for the changed build method. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/nwg-hello/nwg-hello.SlackBuild8
-rw-r--r--desktop/nwg-hello/nwg-hello.info8
2 files changed, 9 insertions, 7 deletions
diff --git a/desktop/nwg-hello/nwg-hello.SlackBuild b/desktop/nwg-hello/nwg-hello.SlackBuild
index 8127f97d6a..21740bf044 100644
--- a/desktop/nwg-hello/nwg-hello.SlackBuild
+++ b/desktop/nwg-hello/nwg-hello.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-hello
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,6 +85,8 @@ find -L . \
# fix default sway conf
sed -i -e 's,systemctl,loginctl,g' sway-config
+ python3 -m build --wheel --no-isolation
+
install -Dm0644 -t $PKG/etc/nwg-hello/ nwg-hello-default.json
install -Dm0644 -t $PKG/etc/nwg-hello/ nwg-hello-default.css
install -Dm0644 -t $PKG/etc/nwg-hello/ hyprland.conf
@@ -96,11 +98,11 @@ sed -i -e 's,systemctl,loginctl,g' sway-config
install -d $PKG/var/cache/nwg-hello
install -Dm0644 -t $PKG/var/cache/nwg-hello cache.json -o greeter
- python3 setup.py install --root="$PKG" --optimize=1
+ python3 -m installer --destdir=$PKG dist/*.whl
# install default config file into package so things work
# auto-magically upon install
-install -Dm0644 -t $PKG/etc/nwg-hello/nwg-hello.json $CWD/nwg-hello.json
+install -Dm0644 -t $PKG/etc/nwg-hello/ $CWD/nwg-hello.json
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/desktop/nwg-hello/nwg-hello.info b/desktop/nwg-hello/nwg-hello.info
index cf1e4426c9..0368e79221 100644
--- a/desktop/nwg-hello/nwg-hello.info
+++ b/desktop/nwg-hello/nwg-hello.info
@@ -1,10 +1,10 @@
PRGNAM="nwg-hello"
-VERSION="0.2.0"
+VERSION="0.2.1"
HOMEPAGE="https://github.com/nwg-piotr/nwg-hello/"
-DOWNLOAD="https://github.com/nwg-piotr/nwg-hello/archive/v0.2.0/nwg-hello-0.2.0.tar.gz"
-MD5SUM="15208fba5ef8bc3afcbc011794528b1a"
+DOWNLOAD="https://github.com/nwg-piotr/nwg-hello/archive/v0.2.1/nwg-hello-0.2.1.tar.gz"
+MD5SUM="1588544f8b2bb12367df77bcf5282c3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="gtk-layer-shell greetd"
+REQUIRES="gtk-layer-shell greetd python3-build python3-wheel"
MAINTAINER="Jay Lanagan"
EMAIL="j@lngn.net"