git: e1fd359de7d2 - main - x11/hyprpaper: update to 0.7.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 04 May 2024 21:16:41 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e1fd359de7d2017b22fc8ee6cee8f9826135023e

commit e1fd359de7d2017b22fc8ee6cee8f9826135023e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-04-28 21:25:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-04 21:15:37 +0000

    x11/hyprpaper: update to 0.7.0
    
    Changes:        https://github.com/hyprwm/hyprpaper/releases/tag/v0.7.0
    Reported by:    GitHub (watch releases)
---
 x11/hyprpaper/Makefile | 15 ++++++---------
 x11/hyprpaper/distinfo | 10 +++++-----
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile
index 574f2c5a8a78..3ff90a634d7e 100644
--- a/x11/hyprpaper/Makefile
+++ b/x11/hyprpaper/Makefile
@@ -1,11 +1,10 @@
 PORTNAME=	hyprpaper
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.6.0
-PORTREVISION=	4
+DISTVERSION=	0.7.0
 CATEGORIES=	x11 wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES+=	b6cd8472e4a1.patch:-p1 # https://github.com/hyprwm/hyprpaper/issues/139
+PATCHFILES+=	03cd362f494d.patch:-p1 # https://github.com/hyprwm/hyprpaper/issues/169
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Blazing fast Wayland wallpaper utility with IPC controls
@@ -14,8 +13,7 @@ WWW=		https://github.com/hyprwm/hyprpaper
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	gmake:devel/gmake \
-		wayland-protocols>0:graphics/wayland-protocols
+BUILD_DEPENDS=	wayland-protocols>0:graphics/wayland-protocols
 LIB_DEPENDS=	libhyprlang.so:devel/hyprlang \
 		libwayland-client.so:graphics/wayland \
 		libwebp.so:graphics/webp
@@ -35,14 +33,13 @@ post-patch:
 		-e 's/$${GIT_DIRTY}/portbld/' \
 		${WRKSRC}/CMakeLists.txt
 # Drop unused dependencies
-	@${REINPLACE_CMD} 's/ wlroots//' ${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e 's/ pango pangocairo//' \
 		-e '/OpenGL/d; /GLESv2/d' \
 		-e '/ rt)/d' \
 		${WRKSRC}/CMakeLists.txt
-
-pre-configure:
-	@${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC}
+# Respect consolekit2 as XDG_RUNTIME_DIR fallback
+	@${REINPLACE_CMD} 's,/run/user,/var&,' \
+		${WRKSRC}/src/ipc/Socket.cpp
 
 do-install:
 	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
diff --git a/x11/hyprpaper/distinfo b/x11/hyprpaper/distinfo
index ba99098181bd..40f872f97fbc 100644
--- a/x11/hyprpaper/distinfo
+++ b/x11/hyprpaper/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1704230554
-SHA256 (hyprwm-hyprpaper-v0.6.0_GH0.tar.gz) = 71d8294ffbcbaae628c4eabdcb3b7fb1974d6bed7794b787bb77934d0a3f4538
-SIZE (hyprwm-hyprpaper-v0.6.0_GH0.tar.gz) = 28122
-SHA256 (b6cd8472e4a1.patch) = 64e059bf4294abaf2859529ee339e7e64a278f9888128a6834be2eee05d69709
-SIZE (b6cd8472e4a1.patch) = 1223
+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