x11/hyprpaper: update to 0.7.1

Changes:	https://github.com/hyprwm/hyprpaper/releases/tag/v0.7.1
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2024-08-16 21:26:53 +02:00
parent f1ed1ec451
commit 4285975bf9
2 changed files with 10 additions and 17 deletions

View file

@ -1,11 +1,8 @@
PORTNAME= hyprpaper
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.0
DISTVERSION= 0.7.1
CATEGORIES= x11 wayland
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= 03cd362f494d.patch:-p1 # https://github.com/hyprwm/hyprpaper/issues/169
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Blazing fast Wayland wallpaper utility with IPC controls
WWW= https://github.com/hyprwm/hyprpaper
@ -13,8 +10,10 @@ WWW= https://github.com/hyprwm/hyprpaper
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \
wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS= libhyprlang.so:devel/hyprlang \
libhyprutils.so:devel/hyprutils \
libwayland-client.so:graphics/wayland \
libwebp.so:graphics/webp
@ -26,14 +25,14 @@ PLIST_FILES= bin/${PORTNAME}
post-patch:
# Extract (snapshot) version from the port instead of Git
@${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \
@${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^include/{//p;d;}' \
-e 's/$${GIT_BRANCH}/main/' \
-e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \
-e '/$${GIT_COMMIT_MESSAGE}/d' \
-e 's/$${GIT_COMMIT_MESSAGE}/?/' \
-e 's/$${GIT_DIRTY}/portbld/' \
${WRKSRC}/CMakeLists.txt
# Drop unused dependencies
@${REINPLACE_CMD} -e 's/ pango pangocairo//' \
@${REINPLACE_CMD} -e '/pango/d' \
-e '/OpenGL/d; /GLESv2/d' \
-e '/ rt)/d' \
${WRKSRC}/CMakeLists.txt
@ -41,8 +40,4 @@ post-patch:
@${REINPLACE_CMD} 's,/run/user,/var&,' \
${WRKSRC}/src/ipc/Socket.cpp
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View file

@ -1,5 +1,3 @@
TIMESTAMP = 1714339536
SHA256 (hyprwm-hyprpaper-v0.7.0_GH0.tar.gz) = 4840425013b95b49120aeb87d4d4e7d83f8956e847a537e1e6dd7f58a4b643b4
SIZE (hyprwm-hyprpaper-v0.7.0_GH0.tar.gz) = 29724
SHA256 (03cd362f494d.patch) = 73d65b5634d8edb1156042721023913d8224f3e41977394296d33d6994b31725
SIZE (03cd362f494d.patch) = 1051
TIMESTAMP = 1723836413
SHA256 (hyprwm-hyprpaper-v0.7.1_GH0.tar.gz) = 1086a9c7e4126446315aed23fc610f0869b77c899b9d828f997e7188341391e7
SIZE (hyprwm-hyprpaper-v0.7.1_GH0.tar.gz) = 29173