summaryrefslogtreecommitdiff
path: root/xdg-desktop-portal/Pkgfile
blob: 6c41c03dbad582503a2f9f49fa3a150a2c582bb2 (plain)
    1 # Description: Desktop integration portals for sandboxed apps
    2 # URL: https://github.com/flatpak/xdg-desktop-portal
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: flatpak fuse3 libportal
    5 # Optional: geoclue pipewire
    6 
    7 name=xdg-desktop-portal
    8 version=1.15.0
    9 release=1
   10 source=(https://github.com/flatpak/xdg-desktop-portal/archive/$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   meson setup $name-$version build \
   14     --prefix=/usr \
   15     --libexecdir=lib/$name \
   16     --buildtype=plain \
   17     --wrap-mode nodownload \
   18     -D b_lto=true \
   19     -D b_pie=true \
   20     -D systemd=disabled \
   21     -D docbook-docs=disabled
   22 
   23   meson compile -C build
   24   DESTDIR=$PKG meson install -C build
   25 
   26   rm -r $PKG/usr/{lib/systemd,share/locale}
   27 }

Generated by cgit