New package: flatpak-0.9.2

This commit is contained in:
Duncaen 2017-04-13 17:37:23 +02:00
parent e24db203a6
commit b4b7ed67a3
3 changed files with 40 additions and 0 deletions

8
srcpkgs/flatpak/INSTALL Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
#
# This scripts setups directories in /var/lib/flatpak.
#
case "${ACTION}" in
post) flatpak remote-list >/dev/null ;;
esac

View File

@ -0,0 +1,15 @@
--- config.h.in.orig
+++ config.h.in
@@ -151,3 +151,12 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#ifndef TEMP_FAILURE_RETRY
+#define TEMP_FAILURE_RETRY(expression) \
+ (__extension__ \
+ ({ long int __result; \
+ do __result = (long int) (expression); \
+ while (__result == -1L && errno == EINTR); \
+ __result; }))
+#endif

17
srcpkgs/flatpak/template Normal file
View File

@ -0,0 +1,17 @@
# Template file for 'flatpak'
pkgname=flatpak
version=0.9.2
revision=1
build_style=gnu-configure
configure_args="--disable-documentation --with-system-bubblewrap"
hostmakedepends="bubblewrap libxslt pkg-config"
makedepends="elfutils-devel fuse-devel glib-devel gpgme-devel json-glib-devel
libarchive-devel libcap-devel libostree-devel libseccomp-devel libsoup-devel
libXau-devel polkit-devel"
depends="bubblewrap"
short_desc="Application sandboxing and distribution framework"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://flatpak.org/"
distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz"
checksum=f6ff5f8188c46408e1e291c64a683caac82753278a839c250cd9279d22380e1c