From e4a1308917542da356290049c5a35ef8bf5e1e85 Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 19 Sep 2021 19:02:44 +0200 Subject: [PATCH] xdg-desktop-portal: initial commit, version 1.10.0 --- xdg-desktop-portal/.footprint | 60 +++++++++++++++++++++++++++++++++++ xdg-desktop-portal/.signature | 5 +++ xdg-desktop-portal/Pkgfile | 26 +++++++++++++++ xdg-desktop-portal/REPO | 3 ++ 4 files changed, 94 insertions(+) create mode 100644 xdg-desktop-portal/.footprint create mode 100644 xdg-desktop-portal/.signature create mode 100644 xdg-desktop-portal/Pkgfile create mode 100644 xdg-desktop-portal/REPO diff --git a/xdg-desktop-portal/.footprint b/xdg-desktop-portal/.footprint new file mode 100644 index 000000000..084ad1486 --- /dev/null +++ b/xdg-desktop-portal/.footprint @@ -0,0 +1,60 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/xdg-desktop-portal +-rwxr-xr-x root/root usr/lib/xdg-document-portal +-rwxr-xr-x root/root usr/lib/xdg-permission-store +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/interfaces/ +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Access.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Account.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.AppChooser.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Background.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Email.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.FileChooser.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Inhibit.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Lockdown.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Notification.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.PermissionStore.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Print.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.RemoteDesktop.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Request.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.ScreenCast.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Screenshot.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Secret.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Session.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Settings.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.impl.portal.Wallpaper.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Account.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Background.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Camera.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Device.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Documents.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Email.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.FileChooser.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.FileTransfer.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.GameMode.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Location.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.MemoryMonitor.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.NetworkMonitor.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Notification.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.OpenURI.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.PowerProfileMonitor.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Print.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.ProxyResolver.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.RemoteDesktop.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Request.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.ScreenCast.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Screenshot.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Secret.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Session.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Settings.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Trash.xml +-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.portal.Wallpaper.xml +drwxr-xr-x root/root usr/share/dbus-1/services/ +-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.impl.portal.PermissionStore.service +-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.portal.Desktop.service +-rw-r--r-- root/root usr/share/dbus-1/services/org.freedesktop.portal.Documents.service +drwxr-xr-x root/root usr/share/pkgconfig/ +-rw-r--r-- root/root usr/share/pkgconfig/xdg-desktop-portal.pc diff --git a/xdg-desktop-portal/.signature b/xdg-desktop-portal/.signature new file mode 100644 index 000000000..738856300 --- /dev/null +++ b/xdg-desktop-portal/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF32DJSL8h13xuBaWD0r+c7slrYlogjRPXA+Q0rXyJTErkZa1/lTXiKFPz0ih978IRtneWHi7flT70ryIm6Is+cwY= +SHA256 (Pkgfile) = 72611ef0ddd29087662b7697689393fb6edb58d0696a2f342b6adea451d93161 +SHA256 (.footprint) = 0fde83305177bfaad291bdf2c06130107adcbee1b8fbd27bf47faee0c2d5a3cd +SHA256 (xdg-desktop-portal-1.10.0.tar.gz) = 739c7b3a681e10fb4276e0d3fd5af5728273c3581fd5fa69338e1535b06be41f diff --git a/xdg-desktop-portal/Pkgfile b/xdg-desktop-portal/Pkgfile new file mode 100644 index 000000000..a0189f29d --- /dev/null +++ b/xdg-desktop-portal/Pkgfile @@ -0,0 +1,26 @@ +# Description: Desktop integration portals for sandboxed apps +# URL: https://github.com/flatpak/xdg-desktop-portal +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: fontconfig fuse json-glib libportal +# Optional: pipewire geoclue + +name=xdg-desktop-portal +version=1.10.0 +release=1 +source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + + prt-get isinst pipewire && PKGMK_XDGDP+=' --enable-pipewire' ||PKGMK_XDGDP+=' --disable-pipewire' + prt-get isinst geoclue && PKGMK_XDGDP+=' --enable-geoclue' ||PKGMK_XDGDP+=' --disable-geoclue' + + NOCONFIGURE=1 ./autogen.sh + ./configure --prefix=/usr $PKGMK_XDGDP \ + --libexecdir=/usr/lib \ + --disable-libportal \ + --disable-nls + make + make DESTDIR=$PKG install + rm -fr $PKG/usr/{lib/systemd,share/doc} +} diff --git a/xdg-desktop-portal/REPO b/xdg-desktop-portal/REPO new file mode 100644 index 000000000..ae8a6a91d --- /dev/null +++ b/xdg-desktop-portal/REPO @@ -0,0 +1,3 @@ +f:1b102c0ca6f2473406d087fb6d3a3cf8:.signature +f:e77bc0dab76408d219ed364e0e7f2308:.footprint +f:6b9c1cb79cc73b025c187999a3290a4f:Pkgfile