summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-12-21 14:16:02 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-12-21 14:16:02 +0000
commita10738d5d16983331b5c6bd0eea6582cf71a8a40 (patch)
tree707e1340bfa07332f0ee01438a9eceaaee3618c0 /x11
parentx11/mako: add new port (diff)
x11/xdg-desktop-portal-wlr: add new port
xdg-desktop-portal backend for wlroots https://github.com/emersion/xdg-desktop-portal-wlr
Notes
Notes: svn path=/head/; revision=558828
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/xdg-desktop-portal-wlr/Makefile32
-rw-r--r--x11/xdg-desktop-portal-wlr/distinfo9
-rw-r--r--x11/xdg-desktop-portal-wlr/pkg-descr3
4 files changed, 45 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 11d587201dfc..d7d30c77f33f 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -414,6 +414,7 @@
SUBDIR += xconsole
SUBDIR += xcursorgen
SUBDIR += xcut
+ SUBDIR += xdg-desktop-portal-wlr
SUBDIR += xditview
SUBDIR += xdm
SUBDIR += xdo
diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile
new file mode 100644
index 000000000000..b3368581e429
--- /dev/null
+++ b/x11/xdg-desktop-portal-wlr/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= xdg-desktop-portal-wlr
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.1.0
+CATEGORIES= x11
+
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 7e9f693e5d2a.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/73
+PATCHFILES+= 485af2c45ab0.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/73
+PATCHFILES+= 08ad7e4182e6.patch:-p1 # https://github.com/emersion/xdg-desktop-portal-wlr/pull/73
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= xdg-desktop-portal backend for wlroots
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>=1.14:graphics/wayland-protocols
+LIB_DEPENDS= libwayland-client.so:graphics/wayland \
+ libpipewire-0.3.so:multimedia/pipewire \
+ libbasu.so:sysutils/basu
+
+USES= compiler:c11 meson pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= emersion
+MESON_ARGS= -Dsd-bus-provider=basu
+PLIST_FILES= libexec/${PORTNAME} \
+ share/dbus-1/services/org.freedesktop.impl.portal.desktop.wlr.service \
+ share/xdg-desktop-portal/portals/wlr.portal
+
+.include <bsd.port.mk>
diff --git a/x11/xdg-desktop-portal-wlr/distinfo b/x11/xdg-desktop-portal-wlr/distinfo
new file mode 100644
index 000000000000..20b61e9b27e1
--- /dev/null
+++ b/x11/xdg-desktop-portal-wlr/distinfo
@@ -0,0 +1,9 @@
+TIMESTAMP = 1588688317
+SHA256 (emersion-xdg-desktop-portal-wlr-v0.1.0_GH0.tar.gz) = 69d67c236f4bd498323af509d44ec4a1b826da337f7ee64bbfbdb98bfda8e541
+SIZE (emersion-xdg-desktop-portal-wlr-v0.1.0_GH0.tar.gz) = 20600
+SHA256 (7e9f693e5d2a.patch) = 9d867dcbe464cfe380c145f11221a6cec3936ec8a6462619952065d8f66f8d78
+SIZE (7e9f693e5d2a.patch) = 2640
+SHA256 (485af2c45ab0.patch) = 11342439626c34a33717c6ef8b8162021ef971c5d506a448f94ec2b22f5cb566
+SIZE (485af2c45ab0.patch) = 1877
+SHA256 (08ad7e4182e6.patch) = 2897a83b6e42cc7fc247266ffbd855dcee01ffd3d87395b753db338610e778d2
+SIZE (08ad7e4182e6.patch) = 959
diff --git a/x11/xdg-desktop-portal-wlr/pkg-descr b/x11/xdg-desktop-portal-wlr/pkg-descr
new file mode 100644
index 000000000000..ddd4c36f87a1
--- /dev/null
+++ b/x11/xdg-desktop-portal-wlr/pkg-descr
@@ -0,0 +1,3 @@
+xdg-desktop-portal backend for wlroots
+
+WWW: https://github.com/emersion/xdg-desktop-portal-wlr