# Template file for 'flatpak' pkgname=flatpak version=1.15.2 revision=1 build_style=gnu-configure build_helper="gir" configure_args=" --with-curl --with-system-bubblewrap --with-system-dbus-proxy --with-system-helper-user=_flatpak --enable-selinux-module=no --enable-gdm-env-file $(vopt_enable gir introspection)" hostmakedepends="bubblewrap gettext glib-devel libxslt pkg-config bison python3-parsing xmlto docbook-xml docbook-xsl xdg-dbus-proxy" makedepends="AppStream-devel libarchive-devel gpgme-devel json-glib-devel libcap-devel libostree-devel libseccomp-devel polkit-devel dconf-devel fuse3-devel libcurl-devel libxml2-devel gdk-pixbuf-devel" depends="bubblewrap gnupg>=2 xdg-dbus-proxy" checkdepends="attr-progs bubblewrap dbus gnupg socat which xdg-dbus-proxy" short_desc="Application sandboxing and distribution framework" maintainer="Duncaen " license="LGPL-2.1-or-later" homepage="https://flatpak.org/" changelog="https://github.com/flatpak/flatpak/raw/main/NEWS" distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz" checksum=292e383d8d1bc1d1fdfd031f3802b0550d90bc4fd300b3e4fd9c2cb0750a8d63 build_options="gir" build_options_default="gir" system_accounts="_flatpak" post_patch() { vsed -i -e '/cp.*usr.lib.locale.C/d' tests/make-test-runtime.sh } post_install() { rm -rf $DESTDIR/usr/lib/systemd } flatpak-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision} libglib-devel libostree-devel" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.so" if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi } }