blob: d369f2e0de3c3b830ec31ae7f9f18340849a794f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= xdg-desktop-portal-hyprland
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.9
PORTREVISION= 6
CATEGORIES= x11 wayland
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 <bsd.port.mk>
|