From b4b7ed67a34cf1ee11c09828c829a6e9957a21d3 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 13 Apr 2017 17:37:23 +0200 Subject: [PATCH] New package: flatpak-0.9.2 --- srcpkgs/flatpak/INSTALL | 8 ++++++++ srcpkgs/flatpak/patches/musl-macros.patch | 15 +++++++++++++++ srcpkgs/flatpak/template | 17 +++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 srcpkgs/flatpak/INSTALL create mode 100644 srcpkgs/flatpak/patches/musl-macros.patch create mode 100644 srcpkgs/flatpak/template diff --git a/srcpkgs/flatpak/INSTALL b/srcpkgs/flatpak/INSTALL new file mode 100644 index 0000000000..11be0c9bf5 --- /dev/null +++ b/srcpkgs/flatpak/INSTALL @@ -0,0 +1,8 @@ +#!/bin/sh +# +# This scripts setups directories in /var/lib/flatpak. +# + +case "${ACTION}" in +post) flatpak remote-list >/dev/null ;; +esac diff --git a/srcpkgs/flatpak/patches/musl-macros.patch b/srcpkgs/flatpak/patches/musl-macros.patch new file mode 100644 index 0000000000..a810d49d33 --- /dev/null +++ b/srcpkgs/flatpak/patches/musl-macros.patch @@ -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 diff --git a/srcpkgs/flatpak/template b/srcpkgs/flatpak/template new file mode 100644 index 0000000000..9e5a29551b --- /dev/null +++ b/srcpkgs/flatpak/template @@ -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 " +license="LGPL-2.1" +homepage="http://flatpak.org/" +distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz" +checksum=f6ff5f8188c46408e1e291c64a683caac82753278a839c250cd9279d22380e1c