mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
x11/xdg-desktop-portal-hyprland: add new port
Due to reasons explained in hyprland-protocols, we have a separate desktop portal impl for Hyprland. Although -wlr *does* work with Hyprland, -hyprland offers more features.
This commit is contained in:
parent
1f514820ca
commit
0afb6d6c2f
@ -110,6 +110,7 @@
|
||||
SUBDIR += hhpc
|
||||
SUBDIR += hs-xmobar
|
||||
SUBDIR += hsetroot
|
||||
SUBDIR += hyprland-share-picker
|
||||
SUBDIR += hyprpaper
|
||||
SUBDIR += hyprpicker
|
||||
SUBDIR += i3blocks
|
||||
@ -470,6 +471,7 @@
|
||||
SUBDIR += xconsole
|
||||
SUBDIR += xcursorgen
|
||||
SUBDIR += xcut
|
||||
SUBDIR += xdg-desktop-portal-hyprland
|
||||
SUBDIR += xdg-desktop-portal-wlr
|
||||
SUBDIR += xdialog
|
||||
SUBDIR += xditview
|
||||
|
33
x11/hyprland-share-picker/Makefile
Normal file
33
x11/hyprland-share-picker/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
PORTNAME= hyprland-share-picker
|
||||
PORTVERSION= s20221213
|
||||
CATEGORIES= x11 wayland
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= Share picker for xdg-desktop-portal-hyprland
|
||||
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC:H}/LICENSE
|
||||
|
||||
FLAVORS= qt5 qt6
|
||||
|
||||
USES= compiler:c++11-lib cmake qt:5
|
||||
USE_GITHUB= yes
|
||||
USE_QT= qmake:build buildtools:build core gui wayland:run widgets
|
||||
GH_ACCOUNT= hyprwm
|
||||
GH_PROJECT= xdg-desktop-portal-hyprland
|
||||
GH_TAGNAME= 9fb4fae
|
||||
WRKSRC_SUBDIR= ${PORTNAME}
|
||||
LDFLAGS+= -Wl,--as-needed # GL
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
.if ${FLAVOR:U} == qt6
|
||||
PKGNAMESUFFIX= -${FLAVOR}
|
||||
USES:= ${USES:S/qt:5/qt:6/}
|
||||
USE_QT= base wayland:run
|
||||
CONFLICTS_INSTALL= ${PORTNAME}
|
||||
.else
|
||||
CONFLICTS_INSTALL= ${PORTNAME}-qt6
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/hyprland-share-picker/distinfo
Normal file
5
x11/hyprland-share-picker/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1670892912
|
||||
SHA256 (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = d845976ecd41be71562d29f408ca42101bf9890d2267a6ce21d5afde97a5eee1
|
||||
SIZE (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = 44761
|
||||
SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390b2551ea8969d0cbf82bd72e2a4a2ce2750552330
|
||||
SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852
|
1
x11/hyprland-share-picker/pkg-descr
Normal file
1
x11/hyprland-share-picker/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
Share picker for xdg-desktop-portal-hyprland.
|
39
x11/xdg-desktop-portal-hyprland/Makefile
Normal file
39
x11/xdg-desktop-portal-hyprland/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
PORTNAME= xdg-desktop-portal-hyprland
|
||||
PORTVERSION= s20221213
|
||||
CATEGORIES= x11 wayland
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
COMMENT= xdg-desktop-portal backend for hyprland
|
||||
WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= wayland-protocols>=1.24:graphics/wayland-protocols
|
||||
LIB_DEPENDS= libbasu.so:devel/basu \
|
||||
libinih.so:devel/inih \
|
||||
libepoll-shim.so:devel/libepoll-shim \
|
||||
libdrm.so:graphics/libdrm \
|
||||
libwayland-client.so:graphics/wayland \
|
||||
libpipewire-0.3.so:multimedia/pipewire
|
||||
RUN_DEPENDS= grim:x11/grim \
|
||||
hyprland-share-picker:x11/hyprland-share-picker
|
||||
|
||||
USES= compiler:c11 gl meson pkgconfig
|
||||
USE_GITHUB= yes
|
||||
USE_GL= gbm
|
||||
GH_ACCOUNT= hyprwm
|
||||
GH_TAGNAME= 9fb4fae
|
||||
GH_TUPLE= hyprwm:hyprland-protocols:301733a:hyprland_protocols/protocols/hyprland-protocols
|
||||
MESON_ARGS= -Dsd-bus-provider=basu
|
||||
PLIST_FILES= libexec/${PORTNAME} \
|
||||
share/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service \
|
||||
share/xdg-desktop-portal/portals/hyprland.portal
|
||||
|
||||
OPTIONS_DEFINE= SLURP
|
||||
OPTIONS_DEFAULT=SLURP
|
||||
|
||||
SLURP_DESC= Simple output chooser
|
||||
SLURP_RUN_DEPENDS= slurp:x11/slurp
|
||||
|
||||
.include <bsd.port.mk>
|
5
x11/xdg-desktop-portal-hyprland/distinfo
Normal file
5
x11/xdg-desktop-portal-hyprland/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
TIMESTAMP = 1670892912
|
||||
SHA256 (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = d845976ecd41be71562d29f408ca42101bf9890d2267a6ce21d5afde97a5eee1
|
||||
SIZE (hyprwm-xdg-desktop-portal-hyprland-s20221213-9fb4fae_GH0.tar.gz) = 44761
|
||||
SHA256 (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 3b3b4e948525f1d823313390b2551ea8969d0cbf82bd72e2a4a2ce2750552330
|
||||
SIZE (hyprwm-hyprland-protocols-301733a_GH0.tar.gz) = 4852
|
4
x11/xdg-desktop-portal-hyprland/pkg-descr
Normal file
4
x11/xdg-desktop-portal-hyprland/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Due to reasons explained in hyprland-protocols, we have a separate
|
||||
desktop portal impl for Hyprland.
|
||||
|
||||
Although -wlr *does* work with Hyprland, -hyprland offers more features.
|
Loading…
Reference in New Issue
Block a user