blob: 6bd475b565332d8d01deb22ed04e55603a517f4b (
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 bubblewrap json-glib libseccomp ostree polkit python3-pyparsing
5 # Optional: xdg-desktop-portal xdg-desktop-portal-gtk xdg-desktop-portal-kde libxslt docbook-xsl
6
7 name=flatpak
8 version=1.10.1
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 (prt-get isinst libxslt && prt-get isinst docbook-xsl) || PKGMK_FLATPAK+=' --disable-documentation'
15 ./configure $PKGMK_FLATPAK \
16 --prefix=/usr \
17 --libexecdir=/usr/lib \
18 --with-system-bubblewrap \
19 --with-priv-mode=setuid \
20 --with-profile-dir=/etc/profile.d \
21 --with-dbus-config-dir=/usr/share/dbus-1/system.d \
22 --with-system-helper-user=flatpak \
23 --disable-static \
24 --disable-nls
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
26 make
27 make DESTDIR=$PKG install
28 rm -fr $PKG/usr/lib/{systemd,sysusers.d}
29 rm -fr $PKG/usr/share/{gtk-doc,doc,selinux,fish}
30 }
|