diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2021-06-13 13:10:14 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2021-06-13 14:32:48 +0000 |
commit | 821433d6ee70977c4713b447c8938eff4e1739a0 (patch) | |
tree | 87050d3c75fff593c43e9d16bf403c4d47ed8497 /deskutils/xdg-desktop-portal | |
parent | e06c7c5297c43b9b5cb85078a2bd284b88f22058 (diff) | |
download | ports-821433d6ee70977c4713b447c8938eff4e1739a0.tar.gz ports-821433d6ee70977c4713b447c8938eff4e1739a0.zip |
deskutils/xdg-desktop-portal: + A portal frontend service for Flatpak.
Diffstat (limited to 'deskutils/xdg-desktop-portal')
-rw-r--r-- | deskutils/xdg-desktop-portal/Makefile | 36 | ||||
-rw-r--r-- | deskutils/xdg-desktop-portal/distinfo | 5 | ||||
-rw-r--r-- | deskutils/xdg-desktop-portal/pkg-descr | 10 | ||||
-rw-r--r-- | deskutils/xdg-desktop-portal/pkg-plist | 78 |
4 files changed, 129 insertions, 0 deletions
diff --git a/deskutils/xdg-desktop-portal/Makefile b/deskutils/xdg-desktop-portal/Makefile new file mode 100644 index 000000000000..8619ed9cf75a --- /dev/null +++ b/deskutils/xdg-desktop-portal/Makefile @@ -0,0 +1,36 @@ +PORTNAME= xdg-desktop-portal +PORTVERSION= 1.8.1 +CATEGORIES= deskutils + +PATCH_SITES= https://patch-diff.githubusercontent.com/raw/flatpak/xdg-desktop-portal/pull/:freebsd_compat +PATCHFILES= 532.patch:-p1:freebsd_compat + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Portal frontend service for Flatpak + +LICENSE= LGPL21 + +LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs \ + libgeoclue-2.so:net/geoclue \ + libjson-glib-1.0.so:devel/json-glib \ + libpipewire-0.3.so:multimedia/pipewire \ + libportal.so:deskutils/libportal + +USES= autoreconf gettext-tools gmake gnome libtool pkgconfig + +USE_GNOME= glib20 + +GNU_CONFIGURE= yes + +USE_GITHUB= yes +GH_ACCOUNT= flatpak + +.include <bsd.port.pre.mk> + +.if (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400008) \ + || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300501) \ + || ${OSVERSION} < 1300000 +IGNORE= requires O_PATH support in open(2) +.endif + +.include <bsd.port.post.mk> diff --git a/deskutils/xdg-desktop-portal/distinfo b/deskutils/xdg-desktop-portal/distinfo new file mode 100644 index 000000000000..a87ce38e4c8c --- /dev/null +++ b/deskutils/xdg-desktop-portal/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1623580906 +SHA256 (flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz) = 4e73693fb7e380decec181fc14398c5c622046d9a2f8ae2a902c334075fee847 +SIZE (flatpak-xdg-desktop-portal-1.8.1_GH0.tar.gz) = 275112 +SHA256 (532.patch) = 0fae7b692bb1d7b3ca123c3149ece5375f30d49e0ad29e82aa2282887b710c72 +SIZE (532.patch) = 9095 diff --git a/deskutils/xdg-desktop-portal/pkg-descr b/deskutils/xdg-desktop-portal/pkg-descr new file mode 100644 index 000000000000..e10911e6a4ba --- /dev/null +++ b/deskutils/xdg-desktop-portal/pkg-descr @@ -0,0 +1,10 @@ +Flatpak is a technology for packaging and distributing standalone dekstop +applications. It uses interfaces called "portals" to communicate with the +rest of the system. + +xdg-desktop-portal works by exposing a series of D-Bus interfaces known as +portals under a well-known name (org.freedesktop.portal.Desktop) and object +path (/org/freedesktop/portal/desktop). The portal interfaces include APIs for +file access, opening URIs, printing and others. + +WWW: https://github.com/flatpak/xdg-desktop-portal diff --git a/deskutils/xdg-desktop-portal/pkg-plist b/deskutils/xdg-desktop-portal/pkg-plist new file mode 100644 index 000000000000..53fc7ef04eb2 --- /dev/null +++ b/deskutils/xdg-desktop-portal/pkg-plist @@ -0,0 +1,78 @@ +lib/systemd/user/xdg-desktop-portal.service +lib/systemd/user/xdg-document-portal.service +lib/systemd/user/xdg-permission-store.service +libexec/xdg-desktop-portal +libexec/xdg-document-portal +libexec/xdg-permission-store +share/dbus-1/interfaces/org.freedesktop.impl.portal.Access.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Account.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.AppChooser.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Background.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Email.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Inhibit.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Lockdown.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.PermissionStore.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Print.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.RemoteDesktop.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.ScreenCast.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Screenshot.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Secret.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Settings.xml +share/dbus-1/interfaces/org.freedesktop.impl.portal.Wallpaper.xml +share/dbus-1/interfaces/org.freedesktop.portal.Account.xml +share/dbus-1/interfaces/org.freedesktop.portal.Background.xml +share/dbus-1/interfaces/org.freedesktop.portal.Camera.xml +share/dbus-1/interfaces/org.freedesktop.portal.Device.xml +share/dbus-1/interfaces/org.freedesktop.portal.Documents.xml +share/dbus-1/interfaces/org.freedesktop.portal.Email.xml +share/dbus-1/interfaces/org.freedesktop.portal.FileChooser.xml +share/dbus-1/interfaces/org.freedesktop.portal.FileTransfer.xml +share/dbus-1/interfaces/org.freedesktop.portal.GameMode.xml +share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml +share/dbus-1/interfaces/org.freedesktop.portal.Location.xml +share/dbus-1/interfaces/org.freedesktop.portal.MemoryMonitor.xml +share/dbus-1/interfaces/org.freedesktop.portal.NetworkMonitor.xml +share/dbus-1/interfaces/org.freedesktop.portal.Notification.xml +share/dbus-1/interfaces/org.freedesktop.portal.OpenURI.xml +share/dbus-1/interfaces/org.freedesktop.portal.Print.xml +share/dbus-1/interfaces/org.freedesktop.portal.ProxyResolver.xml +share/dbus-1/interfaces/org.freedesktop.portal.RemoteDesktop.xml +share/dbus-1/interfaces/org.freedesktop.portal.Request.xml +share/dbus-1/interfaces/org.freedesktop.portal.ScreenCast.xml +share/dbus-1/interfaces/org.freedesktop.portal.Screenshot.xml +share/dbus-1/interfaces/org.freedesktop.portal.Secret.xml +share/dbus-1/interfaces/org.freedesktop.portal.Session.xml +share/dbus-1/interfaces/org.freedesktop.portal.Settings.xml +share/dbus-1/interfaces/org.freedesktop.portal.Trash.xml +share/dbus-1/interfaces/org.freedesktop.portal.Wallpaper.xml +share/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service +share/dbus-1/services/org.freedesktop.portal.Desktop.service +share/dbus-1/services/org.freedesktop.portal.Documents.service +share/locale/cs/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/da/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/de/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/en_GB/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/es/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/fr/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/gl/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/hr/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/hu/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/id/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/it/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/lt/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/pl/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/pt_BR/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/ru/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/sk/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/sr/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/sv/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/tr/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/uk/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo +share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo +share/pkgconfig/xdg-desktop-portal.pc + |