1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/hyprpicker: update to 0.3.0

Changes:	https://github.com/hyprwm/hyprpicker/releases/tag/v0.3.0
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2024-05-14 17:13:12 +02:00
parent b1dfcb488b
commit 418ae0b2f6
2 changed files with 10 additions and 13 deletions

View File

@ -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

View File

@ -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