diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile index f52f05303b9c..15291dc80635 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -1,58 +1,58 @@ PORTNAME= hyprpicker PORTVERSION= s20230109 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org -COMMENT= wlroots-compatible Wayland color picker that does not suck +COMMENT= Color picker and magnifier for Wayland WWW= https://github.com/hyprwm/hyprpicker LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= gmake:devel/gmake \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c++11-lib cmake gnome jpeg pkgconfig USE_GCC= yes:build # C++23 USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm GH_TAGNAME= fe4535a LDFLAGS+= -static-libstdc++ -static-libgcc # avoid libc++ conflict PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz OPTIONS_DEFINE= CLIPBOARD OPTIONS_DEFAULT=CLIPBOARD CLIPBOARD_DESC= Copy to clipboard support CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard post-patch: # Extract (snapshot) version from the port instead of Git @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \ -e 's/$${GIT_BRANCH}/main/' \ -e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \ -e 's/$${GIT_COMMIT_MESSAGE}//' \ -e 's/$${GIT_DIRTY}/portbld/' \ ${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' \ -e '/pthread/d; /CMAKE_THREAD_LIBS_INIT/d' \ -e '/ rt)/d' \ ${WRKSRC}/CMakeLists.txt pre-configure: @${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC} do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/x11/hyprpicker/pkg-descr b/x11/hyprpicker/pkg-descr index efb137e6a874..67c43072b4b1 100644 --- a/x11/hyprpicker/pkg-descr +++ b/x11/hyprpicker/pkg-descr @@ -1 +1,2 @@ -A wlroots-compatible Wayland color picker that does not suck. +hyprpicker is a color picker with builtin screen magnifier for +wlroots-based Wayland compositors.