aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-08-09 14:05:20 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-26 00:03:11 +0000
commit26d7e4aafc2b02f64324f1df83c68b1962a2caf7 (patch)
tree03d42a077057337af646780e63f51a7df8dff142 /testing
parenta368e986191ef06268a8d59f5500195b72bc8ba2 (diff)
downloadaports-26d7e4aafc2b02f64324f1df83c68b1962a2caf7.tar.bz2
aports-26d7e4aafc2b02f64324f1df83c68b1962a2caf7.tar.xz
testing/weston: upgrade to 3.0.0
Diffstat (limited to 'testing')
-rw-r--r--testing/weston/APKBUILD11
-rw-r--r--testing/weston/timespec.patch10
2 files changed, 16 insertions, 5 deletions
diff --git a/testing/weston/APKBUILD b/testing/weston/APKBUILD
index 807ed42da2..bf09e29eee 100644
--- a/testing/weston/APKBUILD
+++ b/testing/weston/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=weston
-pkgver=2.0.0
+pkgver=3.0.0
pkgrel=0
_libname=lib$pkgname
_libdir=$_libname-${pkgver%%.*}
@@ -27,7 +27,8 @@ subpackages="$pkgname-dev $pkgname-doc $subpackages
$pkgname-clients $_libname-desktop:_libd $_libname:libs
$pkgname-xwayland $pkgname-desktop-x11:_x11:noarch
"
-source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"
+source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
+ timespec.patch"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
@@ -47,8 +48,7 @@ build() {
--enable-clients \
--enable-demo-clients-install \
--disable-weston-launch \
- --disable-setuid-install \
- || return 1
+ --disable-setuid-install
make
}
@@ -127,4 +127,5 @@ _sub() {
mv "$pkgdir"/$path/$name "$subpkgdir"/$path
}
-sha512sums="085a0ba278932d41b50edd6e89db5df31cd6a1179c6cfe9a8ac5ac64e63b25cfc3da1ad8c587259273c3812593029b803867195e2d82b12b5cdd2588ac59acc6 weston-2.0.0.tar.xz"
+sha512sums="b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58 weston-3.0.0.tar.xz
+3e596af4bf0a6b06a5d28376043db111fe1c161ead04501fa6d2c667b5a21889cca3354d1bdc4ac794841bef68ed5e1a7a84e44e7d510e947e3673195706caed timespec.patch"
diff --git a/testing/weston/timespec.patch b/testing/weston/timespec.patch
new file mode 100644
index 0000000000..7c2c8f62e9
--- /dev/null
+++ b/testing/weston/timespec.patch
@@ -0,0 +1,10 @@
+--- a/tests/timespec-test.c
++++ b/tests/timespec-test.c
+@@ -25,6 +25,7 @@
+
+ #include "config.h"
+
++#include <time.h>
+ #include <stdlib.h>
+ #include <stdint.h>
+ #include <stdio.h>