diff --git a/accessibility/hyprsunset/Makefile b/accessibility/hyprsunset/Makefile index cc7a180b6cfe..adb3aa486bef 100644 --- a/accessibility/hyprsunset/Makefile +++ b/accessibility/hyprsunset/Makefile @@ -1,26 +1,26 @@ PORTNAME= hyprsunset DISTVERSIONPREFIX= v DISTVERSION= 0.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= accessibility wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Blue light filter on Hyprland WWW= https://github.com/hyprwm/hyprsunset LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libwayland-client.so:graphics/wayland USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig USE_GITHUB= yes GH_ACCOUNT= hyprwm GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols PLIST_FILES= bin/${PORTNAME} \ lib/systemd/user/${PORTNAME}.service .include diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile index 3d2161b711e9..a9c13685b254 100644 --- a/devel/hyprlang/Makefile +++ b/devel/hyprlang/Makefile @@ -1,25 +1,26 @@ PORTNAME= hyprlang DISTVERSIONPREFIX= v DISTVERSION= 0.6.3 +PORTREVISION= 1 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Library to parse hypr config files WWW= https://hyprland.org/hyprlang LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhyprutils.so:devel/hyprutils USES= cmake:testing compiler:c++11-lib pkgconfig USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= hyprwm PLIST_FILES= include/${PORTNAME}.hpp \ lib/lib${PORTNAME}.so \ lib/lib${PORTNAME}.so.2 \ lib/lib${PORTNAME}.so.${PORTVERSION} \ libdata/pkgconfig/${PORTNAME}.pc .include diff --git a/devel/hyprutils/Makefile b/devel/hyprutils/Makefile index acbba2bb5553..a3bff1f3a2c9 100644 --- a/devel/hyprutils/Makefile +++ b/devel/hyprutils/Makefile @@ -1,25 +1,26 @@ PORTNAME= hyprutils DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland utilities library used across the ecosystem WWW= https://github.com/hyprwm/hyprutils LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++11-lib cmake:testing pkgconfig xorg USE_GITHUB= yes USE_LDCONFIG= yes USE_XORG= pixman GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/path/Path.cpp .include diff --git a/devel/hyprwayland-scanner/Makefile b/devel/hyprwayland-scanner/Makefile index f1240c2ea4fc..e54d2a51eb3d 100644 --- a/devel/hyprwayland-scanner/Makefile +++ b/devel/hyprwayland-scanner/Makefile @@ -1,23 +1,24 @@ PORTNAME= hyprwayland-scanner DISTVERSIONPREFIX= v DISTVERSION= 0.4.4 +PORTREVISION= 1 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland implementation of wayland-scanner WWW= https://github.com/hyprwm/hyprwayland-scanner LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpugixml.so:textproc/pugixml USES= cmake compiler:c++11-lib pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= hyprwm PLIST_FILES= bin/${PORTNAME} \ lib/cmake/${PORTNAME}/${PORTNAME}-config-version.cmake \ lib/cmake/${PORTNAME}/${PORTNAME}-config.cmake \ libdata/pkgconfig/${PORTNAME}.pc .include diff --git a/graphics/hyprgraphics/Makefile b/graphics/hyprgraphics/Makefile index 8c806067e451..04eec0449592 100644 --- a/graphics/hyprgraphics/Makefile +++ b/graphics/hyprgraphics/Makefile @@ -1,26 +1,27 @@ PORTNAME= hyprgraphics DISTVERSIONPREFIX= v DISTVERSION= 0.1.5 +PORTREVISION= 1 CATEGORIES= graphics -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland graphics / resource utilities WWW= https://github.com/hyprwm/hyprgraphics LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libjxl.so:graphics/libjxl \ libpng.so:graphics/png \ libwebp.so:graphics/webp USES= cmake:testing compiler:c++11-lib gnome jpeg pkgconfig xorg USE_GITHUB= yes USE_GNOME= cairo USE_LDCONFIG= yes USE_XORG= pixman GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} .include diff --git a/x11-toolkits/aquamarine/Makefile b/x11-toolkits/aquamarine/Makefile index 111e5115728c..6c2ccd552db2 100644 --- a/x11-toolkits/aquamarine/Makefile +++ b/x11-toolkits/aquamarine/Makefile @@ -1,40 +1,40 @@ PORTNAME= aquamarine DISTVERSIONPREFIX= v DISTVERSION= 0.8.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Very light linux rendering backend library WWW= https://github.com/hyprwm/aquamarine LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols \ hwdata>0:misc/hwdata LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libudev.so:devel/libudev-devd \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libdisplay-info.so:sysutils/libdisplay-info \ libseat.so:sysutils/seatd \ libinput.so:x11/libinput RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri USES= cmake:testing compiler:c++11-lib gl pathfix pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm glesv2 USE_XORG= pixman GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} # XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif .include diff --git a/x11-toolkits/hyprland-qt-support/Makefile b/x11-toolkits/hyprland-qt-support/Makefile index f83ad46edf33..0938765067c7 100644 --- a/x11-toolkits/hyprland-qt-support/Makefile +++ b/x11-toolkits/hyprland-qt-support/Makefile @@ -1,27 +1,28 @@ PORTNAME= hyprland-qt-support DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= x11-toolkits -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= QML style provider for hypr* Qt apps WWW= https://github.com/hyprwm/hyprland-qt-support LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhyprlang.so:devel/hyprlang USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig qt:6 USE_GITHUB= yes USE_QT= base declarative GH_ACCOUNT= hyprwm LDFLAGS+= -Wl,--as-needed # Qt deps CMAKE_ARGS= -DINSTALL_QML_PREFIX:PATH="${QT_QMLDIR_REL}" post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/style/impl/hyprlandstyle.cpp .include diff --git a/x11-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 3f137265fb3f..683573ccff8e 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,111 +1,111 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v DISTVERSION= 0.48.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-wm wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Dynamic tiling Wayland compositor that doesn't sacrifice on its looks #' WWW= https://hyprland.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ glaze>0:devel/glaze \ hyprwayland-scanner>=0.3.10:devel/hyprwayland-scanner \ wayland-protocols>=1.41:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libinotify.so:devel/libinotify \ libre2.so:devel/re2 \ libtomlplusplus.so:devel/tomlplusplus \ libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libuuid.so:misc/libuuid \ libaquamarine.so:x11-toolkits/aquamarine \ libhyprcursor.so:x11/hyprcursor \ libinput.so:x11/libinput \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++11-lib gl gnome pkgconfig xorg USE_GITHUB= yes USE_GL= egl gbm opengl USE_GNOME= cairo pango USE_XORG= pixman xcursor GH_ACCOUNT= hyprwm GH_PROJECT= Hyprland GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols \ canihavesomecoffee:udis86:1.7.2-186-g5336633:udis86/subprojects/udis86 CMAKE_OFF= CMAKE_CXX_SCAN_FOR_MODULES # avoid devel/llvm* CMAKE_ON= NO_SYSTEMD LDFLAGS+= -Wl,--as-needed # GL, pango deps # Generated by "make update-hash" for commit_pins in hyprpm.toml GH_HASH= 29e2e59fdbab8ed2cc23a20e3c6043d5decb5cdc # XXX Drop after FreeBSD 13.5 EOL around 2026-04-30 # https://cgit.freebsd.org/src/commit/?id=af93fea71038 .if !exists(/usr/include/sys/timerfd.h) LIB_DEPENDS+= libepoll-shim.so:devel/libepoll-shim .endif OPTIONS_DEFINE= QT6 X11 OPTIONS_DEFAULT=QT6 X11 QT6_RUN_DEPENDS= hyprland-dialog:x11/hyprland-qtutils X11_USE= XORG=xcb X11_LIB_DEPENDS= libxcb-errors.so:x11/xcb-util-errors \ libxcb-icccm.so:x11/xcb-util-wm X11_CMAKE_BOOL_OFF= NO_XWAYLAND post-patch: # Extract (snapshot) version from the port instead of CMakeLists.txt @${REINPLACE_CMD} -i .nogit \ -e '/^HASH/s/=.*/=${GH_HASH}/' \ -e '/^BRANCH/s/=.*/=main/' \ -e '/^MESSAGE/s/=.*/="?"/' \ -e "/^DATE/s/=.*/=\"$$(date -ur $$(${AWK} \ '/TIMESTAMP/ { print $$3 }' ${DISTINFO_FILE}))\"/" \ -e '/^DIRTY/s/=.*/=portbld/' \ -e '/^TAG/s/=.*/=${DISTVERSIONFULL}/' \ -e '/^COMMITS/s/=.*/="?"/' \ ${WRKSRC}/scripts/generateVersion.sh # Respect consolekit2 as XDG_RUNTIME_DIR fallback @${REINPLACE_CMD} 's,/run/user,/var&,' \ ${WRKSRC}/hyprctl/main.cpp \ ${WRKSRC}/src/Compositor.cpp # Respect PREFIX for wallpapers @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/render/OpenGL.cpp # XXX Replace linprocfs(4) with sysctl(3) @${REINPLACE_CMD} -e 's,/proc,${LINUXBASE}&,g' \ ${WRKSRC}/src/desktop/Window.cpp \ ${WRKSRC}/src/plugins/HookSystem.cpp post-install: # Plugin API installs all headers (no private vs. public) @(cd ${STAGEDIR}${PREFIX} && ${FIND} include/${PORTNAME} ! -type d) >>${TMPPLIST} update-hash: # https://docs.github.com/en/rest/commits/commits#get-a-commit # Pretend to be curl(1) for pretty-printed JSON to help parse with sed(1) @${REINPLACE_CMD} -i '' -e "/^GH_HASH=/s/=.*/= $$(\ ${SETENV} HTTP_USER_AGENT=curl ${FETCH_CMD} -qo- \ https://api.github.com/repos/${GH_ACCOUNT}/${GH_PROJECT}/commits/${GH_TAGNAME} | \ ${SED} -n '/sha/ { s/.*\"\([0-9a-f]\{40\}\).*/\1/p; q; }' \ )/" \ ${.CURDIR}/Makefile .include # XXX COMPILER_TYPE is defined after USES was already parsed .if "${CHOSEN_COMPILER_TYPE}-${_OSRELEASE:C/.*-//}" == "clang-CURRENT" llvm_ARGS= build .include "${USESDIR}/llvm.mk" .endif # XXX Work around !target(makesum) makesum: update-hash diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile index d72ec7513138..2e2cfc3ca1bb 100644 --- a/x11/hyprcursor/Makefile +++ b/x11/hyprcursor/Makefile @@ -1,29 +1,30 @@ PORTNAME= hyprcursor DISTVERSIONPREFIX= v DISTVERSION= 0.1.12 +PORTREVISION= 1 CATEGORIES= x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland cursor format, library and utilities WWW= https://github.com/hyprwm/hyprcursor LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libzip.so:archivers/libzip \ libhyprlang.so:devel/hyprlang \ libtomlplusplus.so:devel/tomlplusplus RUN_DEPENDS= xcur2png:x11/xcur2png USES= compiler:c++11-lib cmake:testing gnome pathfix pkgconfig USE_GITHUB= yes USE_GNOME= cairo librsvg2 GH_ACCOUNT= hyprwm PLIST_SUB= VERSION=${DISTVERSION:C/-.*//} post-patch: # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp .include diff --git a/x11/hypridle/Makefile b/x11/hypridle/Makefile index 3144006df543..f60ebd25c5b9 100644 --- a/x11/hypridle/Makefile +++ b/x11/hypridle/Makefile @@ -1,40 +1,40 @@ PORTNAME= hypridle DISTVERSIONPREFIX= v DISTVERSION= 0.1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland's idle daemon #' WWW= https://github.com/hyprwm/hypridle LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libsdbus-c++.so:devel/sdbus-cpp \ libwayland-client.so:graphics/wayland USES= compiler:c++11-lib cmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= hyprwm GH_TUPLE= hyprwm:hyprland-protocols:v0.6.2:hyprland_protocols/subprojects/hyprland-protocols LDFLAGS+= -Wl,--as-needed # sdbus-cpp deps PLIST_FILES= bin/${PORTNAME} \ lib/systemd/user/${PORTNAME}.service \ share/hypr/${PORTNAME}.conf post-patch: # https://github.com/ConsoleKit2/ConsoleKit2/issues/150 # https://github.com/ConsoleKit2/ConsoleKit2/issues/151 @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ -e 's,logind,consolekit2,' \ -e 's,GetSession,&ByPID,' \ -e 's,string{"auto"},to_string(getpid()),' \ ${WRKSRC}/src/core/Hypridle.cpp .include diff --git a/x11/hyprland-qtutils/Makefile b/x11/hyprland-qtutils/Makefile index 4530953a9e0f..84b981bce5ce 100644 --- a/x11/hyprland-qtutils/Makefile +++ b/x11/hyprland-qtutils/Makefile @@ -1,26 +1,26 @@ PORTNAME= hyprland-qtutils DISTVERSIONPREFIX= v DISTVERSION= 0.1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland QT/qml utility apps WWW= https://github.com/hyprwm/hyprland-qtutils LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhyprutils.so:devel/hyprutils RUN_DEPENDS= hyprland-qt-support>0:x11-toolkits/hyprland-qt-support USES= cmake compiler:c++11-lib pkgconfig qt:6 USE_GITHUB= yes USE_QT= base declarative wayland:build GH_ACCOUNT= hyprwm LDFLAGS+= -Wl,--as-needed # Qt deps PLIST_FILES= bin/hyprland-dialog \ bin/hyprland-donate-screen \ bin/hyprland-update-screen .include diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index a530cd68d4a9..ce13582540a2 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,46 +1,47 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v DISTVERSION= 0.8.2 +PORTREVISION= 1 CATEGORIES= x11 wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Hyprland's GPU-accelerated screen locking utility #' WWW= https://github.com/hyprwm/hyprlock LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.4:devel/hyprwayland-scanner \ wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libsdbus-c++.so:devel/sdbus-cpp \ libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= unix-selfauth-helper>0:security/unix-selfauth-helper USES= cmake compiler:c++11-lib gl gnome jpeg pkgconfig USE_GITHUB= yes USE_GL= egl gbm USE_GNOME= cairo pango GH_ACCOUNT= hyprwm LDFLAGS+= -Wl,--as-needed # pango deps PLIST_FILES= bin/${PORTNAME} \ etc/pam.d/${PORTNAME} \ share/hypr/${PORTNAME}.conf # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282377 .if exists(/usr/lib/libc++.so) LIB_DEPENDS+= libdate-tz.so:devel/date USES+= localbase:ldflags post-patch: libcxx-post-patch libcxx-post-patch: @${REINPLACE_CMD} '/_LIBCPP_VERSION/s/$$/ || defined(_LIBCPP_HAS_NO_TIME_ZONE_DATABASE)/' \ ${WRKSRC}/src/renderer/widgets/IWidget.cpp .endif .include diff --git a/x11/hyprpaper/Makefile b/x11/hyprpaper/Makefile index ae66b6b427b4..418059726e6f 100644 --- a/x11/hyprpaper/Makefile +++ b/x11/hyprpaper/Makefile @@ -1,46 +1,47 @@ PORTNAME= hyprpaper DISTVERSIONPREFIX= v DISTVERSION= 0.7.5 +PORTREVISION= 1 CATEGORIES= x11 wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Blazing fast Wayland wallpaper utility with IPC controls WWW= https://github.com/hyprwm/hyprpaper LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE 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 \ libhyprgraphics.so:graphics/hyprgraphics \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp USES= compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm PLIST_FILES= bin/${PORTNAME} post-patch: # Extract (snapshot) version from the port instead of Git @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^include/{//p;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} -e '/pango/d' \ -e '/OpenGL/d; /GLESv2/d' \ -e '/ rt)/d' \ -e '/install.*systemd/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} '/GLES3/d' ${WRKSRC}/src/includes.hpp # Respect consolekit2 as XDG_RUNTIME_DIR fallback @${REINPLACE_CMD} 's,/run/user,/var&,' \ ${WRKSRC}/src/ipc/Socket.cpp .include diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile index 1b80838ea334..61ab10134c61 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -1,55 +1,56 @@ PORTNAME= hyprpicker DISTVERSIONPREFIX= v DISTVERSION= 0.4.5 +PORTREVISION= 1 CATEGORIES= x11 wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= Color picker and magnifier for Wayland WWW= https://github.com/hyprwm/hyprpicker LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.0:devel/hyprwayland-scanner \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libhyprutils.so:devel/hyprutils \ libwayland-client.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon USES= compiler:c++11-lib cmake gnome localbase:ldflags pkgconfig USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm 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/,/^include/{//p;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} -e '/pango/d' \ -e '/libjpeg/d' \ -e 's/pthread $${CMAKE_THREAD_LIBS_INIT}//' \ -e '/ rt)/d' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/pthread\.h/d' \ ${WRKSRC}/src/includes.hpp 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/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile index deb5a10ad5ab..d369f2e0de3c 100644 --- a/x11/xdg-desktop-portal-hyprland/Makefile +++ b/x11/xdg-desktop-portal-hyprland/Makefile @@ -1,39 +1,39 @@ PORTNAME= xdg-desktop-portal-hyprland DISTVERSIONPREFIX= v DISTVERSION= 1.3.9 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11 wayland -MAINTAINER= ports@FreeBSD.org +MAINTAINER= tagattie@FreeBSD.org COMMENT= xdg-desktop-portal backend for hyprland WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hyprwayland-scanner>=0.4.2:devel/hyprwayland-scanner \ wayland-protocols>=1.33:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libsdbus-c++.so:devel/sdbus-cpp \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland \ libpipewire-0.3.so:multimedia/pipewire RUN_DEPENDS= xdg-desktop-portal>0:deskutils/xdg-desktop-portal \ grim:x11/grim \ slurp:x11/slurp USES= cmake compiler:c++11-lib gl pkgconfig qt:6 USE_GITHUB= yes USE_GL= gbm USE_QT= base wayland:run GH_ACCOUNT= hyprwm GH_TUPLE= hyprwm:hyprland-protocols:v0.2:hyprland_protocols/subprojects/hyprland-protocols LDFLAGS+= -Wl,--as-needed # GL, sdbus-cpp deps PLIST_FILES= bin/hyprland-share-picker \ lib/systemd/user/${PORTNAME}.service \ libexec/${PORTNAME} \ share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \ share/xdg-desktop-portal/portals/hyprland.portal .include