1
0
forked from ports/contrib

xdg-desktop-portal: 1.14.6 -> 1.15.0

This commit is contained in:
Tim Biermann 2022-08-14 10:50:58 +02:00
parent d9f1039af8
commit 4aefd3b822
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 34 additions and 25 deletions

View File

@ -1,10 +1,20 @@
drwxr-xr-x root/root home/
drwxr-xr-x root/root home/ramdisk/
drwxr-xr-x root/root home/ramdisk/xdg-desktop-portal/
drwxr-xr-x root/root home/ramdisk/xdg-desktop-portal/src/
drwxr-xr-x root/root home/ramdisk/xdg-desktop-portal/src/foo/
-rw-r--r-- root/root home/ramdisk/xdg-desktop-portal/src/foo/xdg-desktop-portal-rewrite-launchers.service
-rw-r--r-- root/root home/ramdisk/xdg-desktop-portal/src/foo/xdg-desktop-portal.service
-rw-r--r-- root/root home/ramdisk/xdg-desktop-portal/src/foo/xdg-document-portal.service
-rw-r--r-- root/root home/ramdisk/xdg-desktop-portal/src/foo/xdg-permission-store.service
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-desktop-portal-rewrite-launchers
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal-validate-icon
-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/lib/xdg-desktop-portal/
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal/xdg-desktop-portal
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal/xdg-desktop-portal-rewrite-launchers
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal/xdg-desktop-portal-validate-icon
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal/xdg-document-portal
-rwxr-xr-x root/root usr/lib/xdg-desktop-portal/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/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yyJS3Z8C3dslrkKsV1GFL/4jM72dUOmiK8UVksua0UIxi+LCpxOzuHHse8AVMbkU9IZNlx5WWZPnMX8TJ4Bzw4=
SHA256 (Pkgfile) = 79c983e89d06d5fc0ae0659c2f476e09432646cc1ec23e60bd4711b95cc95960
SHA256 (.footprint) = e32e15df608561a9fd0947c07d40352fb5c62d7455f862d7f2f93802af6a0919
SHA256 (xdg-desktop-portal-1.14.6.tar.gz) = c47090e003e865a42e90c12b980d6c9b2dab5617ba6c5c56f614842c2aa291cc
RWSagIOpLGJF36wUlmrFSSEuMdS+k2scOV6IvrHKTLzIfc0MnYsBTw+44BA1N1Fufy3JUcY57tW7lr6qDEomVNNcY3ftfdFtZAQ=
SHA256 (Pkgfile) = 9a1898f553efafb00490f9a22f1fd6abb9b21084882d57dffed293502251a7f1
SHA256 (.footprint) = 0c36d0aaa6dd794e156316df8da2f6c9f25cd03f96dc698f807d6f2befba3a77
SHA256 (xdg-desktop-portal-1.15.0.tar.gz) = a0fc502e862dd4b23530bf4aa97899145415228b4c54bf6e6ef8b61e68ebb2bf

View File

@ -1,28 +1,27 @@
# 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: fuse3 json-glib libportal
# Optional: geoclue pipewire
# Depends on: flatpak fuse3
# Optional: geoclue libportal pipewire
name=xdg-desktop-portal
version=1.14.6
version=1.15.0
release=1
source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
build() {
cd $name-$version
meson setup $name-$version build \
--prefix=/usr \
--libexecdir=lib/$name \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true \
-D systemd=disabled \
-D docbook-docs=disabled
prt-get isinst pipewire && PKGMK_XDGDP+=' --enable-pipewire' || PKGMK_XDGDP+=' --disable-pipewire'
prt-get isinst geoclue && PKGMK_XDGDP+=' --enable-geoclue' || PKGMK_XDGDP+=' --disable-geoclue'
meson compile -C build
DESTDIR=$PKG meson install -C build
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr $PKGMK_XDGDP \
--libexecdir=/usr/lib \
--enable-libportal \
--without-systemd \
--disable-docbook-docs \
--disable-nls
make
make DESTDIR=$PKG install
rm -fr $PKG/usr/{lib/systemd,share/doc}
rm -r $PKG/usr/{lib/systemd,share/locale}
}