New package: flatpak-builder-0.10.6.
This commit is contained in:
parent
eb37a761b3
commit
249d3cef08
2 changed files with 36 additions and 0 deletions
13
srcpkgs/flatpak-builder/patches/fix-temp-failure-retry.patch
Normal file
13
srcpkgs/flatpak-builder/patches/fix-temp-failure-retry.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
index 0000000..878bd82
|
||||
--- /dev/null
|
||||
+++ libglnx/config.h
|
||||
@@ -0,0 +1,9 @@
|
||||
+/* taken from glibc unistd.h and fixes musl */
|
||||
+#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
|
23
srcpkgs/flatpak-builder/template
Normal file
23
srcpkgs/flatpak-builder/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'flatpak-builder'
|
||||
pkgname=flatpak-builder
|
||||
version=0.10.6
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config libxslt docbook-xml docbook-xsl xmlto"
|
||||
makedepends="flatpak-devel libcap-devel libsoup-devel json-glib-devel libxml2-devel
|
||||
elfutils-devel"
|
||||
short_desc="Tool to build flatpaks from source"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="LGPL-2.1"
|
||||
homepage="https://github.com/flatpak/flatpak-builder"
|
||||
distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz"
|
||||
checksum=65d2df6c30dda1c4a898e19b9a12ddbedef572cd16f253a061689a42f3e48879
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" flatpak-devel"
|
||||
fi
|
||||
|
||||
do_check() {
|
||||
# XXX: find out why tests fail
|
||||
:
|
||||
}
|
Loading…
Reference in a new issue