New package: libostree-2017.3

fixes #6184
This commit is contained in:
Duncaen 2017-04-13 17:36:46 +02:00
parent 0fbc2aed81
commit e24db203a6
4 changed files with 42 additions and 0 deletions

View file

@ -2815,3 +2815,4 @@ libmutter-cogl-path-0.so mutter-3.24.0_1
libmutter-cogl-0.so mutter-3.24.0_1
libmutter-cogl-pango-0.so mutter-3.24.0_1
libmozjs-.so mozjs38-38.8.0_1
libostree-1.so.1 libostree-2017.4_1

1
srcpkgs/libostree-devel Symbolic link
View file

@ -0,0 +1 @@
libostree

View file

@ -0,0 +1,15 @@
--- config.h.in.orig
+++ config.h.in
@@ -154,3 +154,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

View file

@ -0,0 +1,25 @@
# Template file for 'libostree'
pkgname=libostree
version=2017.3
revision=1
build_style=gnu-configure
configure_args="--with-builtin-grub2-mkconfig --with-openssl"
hostmakedepends="bison libxslt pkg-config"
makedepends="e2fsprogs-devel fuse-devel glib-devel gpgme-devel libarchive-devel
liblzma-devel libressl-devel libsoup-devel"
short_desc="Operating system and container binary deployment and upgrades"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-2"
homepage="https://ostree.readthedocs.io/en/latest/"
distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz"
checksum=15e8d2956449c860bd404a2defb1f43a18cf9c4a4e27827b28d467ecf3eaba44
libostree-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}