aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2024-05-14 15:13:12 +0000
committerJan Beich <jbeich@FreeBSD.org>2024-06-06 09:58:03 +0000
commit418ae0b2f662014d7f09a3d6e7bd2e33873ffd9b (patch)
tree92e7741d9c7bef3ec3a6292800526425fd9c038b
parentb1dfcb488ba7d520e40a349fee43902c54013789 (diff)
downloadports-418ae0b2f662014d7f09a3d6e7bd2e33873ffd9b.tar.gz
ports-418ae0b2f662014d7f09a3d6e7bd2e33873ffd9b.zip
x11/hyprpicker: update to 0.3.0
Changes: https://github.com/hyprwm/hyprpicker/releases/tag/v0.3.0 Reported by: GitHub (watch releases)
-rw-r--r--x11/hyprpicker/Makefile15
-rw-r--r--x11/hyprpicker/distinfo8
2 files changed, 10 insertions, 13 deletions
diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile
index da6137d0f8fe..7366d3cb9bad 100644
--- a/x11/hyprpicker/Makefile
+++ b/x11/hyprpicker/Makefile
@@ -1,8 +1,11 @@
PORTNAME= hyprpicker
DISTVERSIONPREFIX= v
-DISTVERSION= 0.2.0
+DISTVERSION= 0.3.0
CATEGORIES= x11 wayland
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 36d974181da4.patch:-p1 # https://github.com/hyprwm/hyprpicker/issues/74
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Color picker and magnifier for Wayland
WWW= https://github.com/hyprwm/hyprpicker
@@ -10,8 +13,7 @@ WWW= https://github.com/hyprwm/hyprpicker
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= libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
@@ -36,11 +38,7 @@ post-patch:
-e '/$${GIT_COMMIT_MESSAGE}/d' \
-e 's/$${GIT_DIRTY}/portbld/' \
${WRKSRC}/CMakeLists.txt
-# https://clang.llvm.org/cxx_status.html#cxx23
- @${REINPLACE_CMD} -e 's/c++23/c++17/' \
- ${WRKSRC}/CMakeLists.txt
# Drop unused dependencies
- @${REINPLACE_CMD} 's/ wlroots//' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's/ pango pangocairo//' \
-e 's/ libjpeg//' \
-e '/OpenGL/d; /GLESv2/d' \
@@ -51,9 +49,6 @@ post-patch:
-e '/pthread\.h/d' \
${WRKSRC}/src/includes.hpp
-pre-configure:
- @${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC}
-
do-install:
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin
diff --git a/x11/hyprpicker/distinfo b/x11/hyprpicker/distinfo
index 2b3444105608..abf66d576e4d 100644
--- a/x11/hyprpicker/distinfo
+++ b/x11/hyprpicker/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1698510678
-SHA256 (hyprwm-hyprpicker-v0.2.0_GH0.tar.gz) = fa1b0c29682f5ede5a03d754770d152f38d869bc1faa300564680cef2de0758a
-SIZE (hyprwm-hyprpicker-v0.2.0_GH0.tar.gz) = 24152
+TIMESTAMP = 1715699592
+SHA256 (hyprwm-hyprpicker-v0.3.0_GH0.tar.gz) = a443188ef7619be48c9992ea208121772b7e1da6662d672c650e30e159eeb891
+SIZE (hyprwm-hyprpicker-v0.3.0_GH0.tar.gz) = 24591
+SHA256 (36d974181da4.patch) = 69543b77de140263ad9d45b2d3b87ddfedce64009fd9c89b64908f13a94f12bd
+SIZE (36d974181da4.patch) = 805