blob: 5c446e48c739bb2d9d44ceb09b2a0476c1beddd6 (
plain)
1 # Description: Linux application sandboxing and distribution framework (formerly xdg-app)
2 # URL: https://flatpak.org
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: appstream-glib brotli bubblewrap json-glib libseccomp ostree polkit python3-pyparsing
5 # Optional: docbook-xsl libxslt xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-kde
6
7 name=flatpak
8 version=1.12.7
9 release=1
10 source=(https://github.com/flatpak/flatpak/releases/download/$version/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14
15 prt-get isinst libxslt docbook-xsl || PKGMK_FLATPAK+=' --disable-documentation'
16
17 ./configure $PKGMK_FLATPAK \
18 --prefix=/usr \
19 --libexecdir=/usr/lib \
20 --with-system-bubblewrap \
21 --with-priv-mode=setuid \
22 --with-profile-dir=/etc/profile.d \
23 --with-dbus-config-dir=/usr/share/dbus-1/system.d \
24 --with-system-helper-user=flatpak \
25 --disable-static \
26 --disable-nls
27 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
28 make
29 make DESTDIR=$PKG install
30 rm -fr $PKG/usr/lib/{systemd,sysusers.d}
31 rm -fr $PKG/usr/share/{gtk-doc,doc,selinux,fish}
32 }
|