diff --git a/accessibility/hyprsunset/Makefile b/accessibility/hyprsunset/Makefile index e3dc75254a99..e46da37885cd 100644 --- a/accessibility/hyprsunset/Makefile +++ b/accessibility/hyprsunset/Makefile @@ -1,24 +1,25 @@ PORTNAME= hyprsunset DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= accessibility wayland MAINTAINER= jbeich@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.4.0:hyprland_protocols/subprojects/hyprland-protocols PLIST_FILES= bin/${PORTNAME} .include diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile index e67a6af2568e..d4cb16b1bc9e 100644 --- a/devel/hyprlang/Makefile +++ b/devel/hyprlang/Makefile @@ -1,25 +1,26 @@ PORTNAME= hyprlang DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= jbeich@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 553f374f5d3f..6eefefbe7ea2 100644 --- a/devel/hyprutils/Makefile +++ b/devel/hyprutils/Makefile @@ -1,25 +1,28 @@ PORTNAME= hyprutils DISTVERSIONPREFIX= v -DISTVERSION= 0.2.6 +DISTVERSION= 0.3.0 CATEGORIES= devel MAINTAINER= jbeich@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/-.*//} +# XXX tests +USES+= localbase:ldflags + post-patch: # Respect PREFIX for system-wide config @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/src/path/Path.cpp .include diff --git a/devel/hyprutils/distinfo b/devel/hyprutils/distinfo index c8effcf53517..5123d1abfdaa 100644 --- a/devel/hyprutils/distinfo +++ b/devel/hyprutils/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731702627 -SHA256 (hyprwm-hyprutils-v0.2.6_GH0.tar.gz) = c6a6098590da0da2a755c2ea8e91629c810d20784c236d1a9e2c46eebb2c1a3f -SIZE (hyprwm-hyprutils-v0.2.6_GH0.tar.gz) = 24051 +TIMESTAMP = 1734908734 +SHA256 (hyprwm-hyprutils-v0.3.0_GH0.tar.gz) = 07bf2d199aeb0e41e1bfe072572742acaf201f0af2bf76ff86a718605d2431bb +SIZE (hyprwm-hyprutils-v0.3.0_GH0.tar.gz) = 25301 diff --git a/devel/hyprutils/pkg-plist b/devel/hyprutils/pkg-plist index dc1cac2ff84d..1c0b83d38672 100644 --- a/devel/hyprutils/pkg-plist +++ b/devel/hyprutils/pkg-plist @@ -1,19 +1,20 @@ include/hyprutils/math/Box.hpp include/hyprutils/math/Edges.hpp include/hyprutils/math/Mat3x3.hpp include/hyprutils/math/Misc.hpp include/hyprutils/math/Region.hpp include/hyprutils/math/Vector2D.hpp include/hyprutils/memory/SharedPtr.hpp include/hyprutils/memory/WeakPtr.hpp +include/hyprutils/os/FileDescriptor.hpp include/hyprutils/os/Process.hpp include/hyprutils/path/Path.hpp include/hyprutils/signal/Listener.hpp include/hyprutils/signal/Signal.hpp include/hyprutils/string/String.hpp include/hyprutils/string/VarList.hpp include/hyprutils/utils/ScopeGuard.hpp lib/libhyprutils.so -lib/libhyprutils.so.1 +lib/libhyprutils.so.2 lib/libhyprutils.so.%%VERSION%% libdata/pkgconfig/hyprutils.pc diff --git a/graphics/hyprgraphics/Makefile b/graphics/hyprgraphics/Makefile index 82ed9a136ddf..ca1f535befb0 100644 --- a/graphics/hyprgraphics/Makefile +++ b/graphics/hyprgraphics/Makefile @@ -1,28 +1,29 @@ PORTNAME= hyprgraphics DISTVERSIONPREFIX= v DISTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= graphics PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= 0f9b8ca692b3.patch:-p1 # https://github.com/hyprwm/hyprgraphics/pull/3 MAINTAINER= jbeich@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 \ 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 22cdaa32e7e5..b8572935bdb6 100644 --- a/x11-toolkits/aquamarine/Makefile +++ b/x11-toolkits/aquamarine/Makefile @@ -1,39 +1,40 @@ PORTNAME= aquamarine DISTVERSIONPREFIX= v DISTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= x11-toolkits MAINTAINER= jbeich@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.4 EOL around 2026-01-31 # 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-wm/hyprland/Makefile b/x11-wm/hyprland/Makefile index 158de326fb6c..9190c60f1350 100644 --- a/x11-wm/hyprland/Makefile +++ b/x11-wm/hyprland/Makefile @@ -1,100 +1,101 @@ PORTNAME= hyprland DISTVERSIONPREFIX= v DISTVERSION= 0.46.2 +PORTREVISION= 1 CATEGORIES= x11-wm wayland MAINTAINER= jbeich@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 \ hyprwayland-scanner>=0.3.10:devel/hyprwayland-scanner \ wayland-protocols>=1.35:graphics/wayland-protocols LIB_DEPENDS= libhyprlang.so:devel/hyprlang \ libhyprutils.so:devel/hyprutils \ libre2.so:devel/re2 \ libtomlplusplus.so:devel/tomlplusplus \ libhyprgraphics.so:graphics/hyprgraphics \ libdrm.so:graphics/libdrm \ libwayland-server.so:graphics/wayland \ libuuid.so:misc/e2fsprogs-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.4.0: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= 0bd541f2fd902dbfa04c3ea2ccf679395e316887 # XXX Drop after FreeBSD 13.4 EOL around 2026-01-31 # 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= X11 OPTIONS_DEFAULT=X11 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 Work around !target(makesum) makesum: update-hash diff --git a/x11/hypridle/Makefile b/x11/hypridle/Makefile index e7b2aad4d2e6..626a4bc0dd51 100644 --- a/x11/hypridle/Makefile +++ b/x11/hypridle/Makefile @@ -1,37 +1,38 @@ PORTNAME= hypridle DISTVERSIONPREFIX= v DISTVERSION= 0.1.5 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Hyprland's idle daemon #' WWW= https://github.com/hyprwm/hypridle LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= 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 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,"auto",uint32_t{getpid()},' \ ${WRKSRC}/src/core/Hypridle.cpp .include diff --git a/x11/hyprlock/Makefile b/x11/hyprlock/Makefile index 0b652600823b..631ddbdfbd0d 100644 --- a/x11/hyprlock/Makefile +++ b/x11/hyprlock/Makefile @@ -1,48 +1,49 @@ PORTNAME= hyprlock DISTVERSIONPREFIX= v DISTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= x11 wayland PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= d12b4a7fbaf5.patch:-p1 # https://github.com/hyprwm/hyprlock/pull/589 MAINTAINER= jbeich@FreeBSD.org COMMENT= Hyprland's GPU-accelerated screen locking utility #' WWW= https://github.com/hyprwm/hyprlock LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0: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 81cdb8ae5903..22e1371014ae 100644 --- a/x11/hyprpaper/Makefile +++ b/x11/hyprpaper/Makefile @@ -1,45 +1,46 @@ PORTNAME= hyprpaper DISTVERSIONPREFIX= v DISTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@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 # 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 31f06cfffecf..0cf0cc3e105d 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -1,55 +1,56 @@ PORTNAME= hyprpicker DISTVERSIONPREFIX= v DISTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@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 077cf4dffd64..371e33eb0204 100644 --- a/x11/xdg-desktop-portal-hyprland/Makefile +++ b/x11/xdg-desktop-portal-hyprland/Makefile @@ -1,38 +1,39 @@ PORTNAME= xdg-desktop-portal-hyprland DISTVERSIONPREFIX= v DISTVERSION= 1.3.9 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@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