🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: 'xdg-desktop-portal-gtk'
pkgver: '1.15.3'
pkgrel: '5'
pkgdesc: 'A backend implementation for xdg-desktop-portal using GTK'
url: 'https://github.com/flatpak/xdg-desktop-portal-gtk'
arch: x86_64
license:
- 'LGPL-2.0-or-later'
depends:
- 'gsettings-desktop-schemas'
- 'xdg-desktop-portal'
# `gnome-desktop` był tylko w `makedepends`, a backend go linkował
# (`libgnome-desktop-3.so.20`), więc usługa kończyła się kodem 127 i portal
# wisiał na aktywacji (Flatpak: „Settings portal not found … timeout”).
# Biblioteka jest potrzebna **wyłącznie** portalowi tapety, którego Luna nie
# używa (tapetę ustawia powłoka) — budujemy z `-Dwallpaper=disabled`, więc
# nie ciągniemy żadnych komponentów GNOME.
- 'gtk3'
- 'gdk-pixbuf'
- 'fontconfig'
makedepends:
- git
- python
- gtk3
source:
- 'https://github.com/flatpak/${pkgname}.git'
sha256sums:
- SKIP
build: |
meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true -Dwallpaper=disabled xdg-desktop-portal-gtk-1.15.3 builddir
meson compile -C builddir
DESTDIR=${PKGDIR} meson install -C builddir
package: |
find . -maxdepth 3 -iname 'COPYING*' -exec install -Dm644 {} ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING \; 2>/dev/null || true