diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2019-04-14 12:31:38 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-14 17:30:21 +0000 |
commit | 635287922089941c42f8f3dfffd6e851039afa5b (patch) | |
tree | b51180b526a3e48b81197588a41efd896b0ee335 /testing/weston/APKBUILD | |
parent | 67a75bd9ea11c739c8f98ab521ae81fc90d936ec (diff) | |
download | aports-635287922089941c42f8f3dfffd6e851039afa5b.tar.bz2 aports-635287922089941c42f8f3dfffd6e851039afa5b.tar.xz |
testing/weston: upgrade to 6.0.0
Diffstat (limited to 'testing/weston/APKBUILD')
-rw-r--r-- | testing/weston/APKBUILD | 40 |
1 files changed, 17 insertions, 23 deletions
diff --git a/testing/weston/APKBUILD b/testing/weston/APKBUILD index 8756cf7f7f..bbe3dece46 100644 --- a/testing/weston/APKBUILD +++ b/testing/weston/APKBUILD @@ -1,19 +1,20 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=weston -pkgver=5.0.0 +pkgver=6.0.0 pkgrel=0 _libname=lib$pkgname _libdir=$_libname-${pkgver%%.*} pkgdesc="The reference Wayland server" url="https://wayland.freedesktop.org/" -arch="all !s390x !x86 !ppc64le" +arch="all !s390x !ppc64le" license="MIT" depends="" makedepends="wayland-protocols libxkbcommon-dev xkeyboard-config libinput-dev libunwind-dev mtdev-dev libxcursor-dev glu-dev pango-dev colord-dev libwebp-dev libva-dev dbus-dev - linux-pam-dev wayland-dev + linux-pam-dev wayland-dev libevdev-dev libjpeg-turbo-dev + freerdp-dev lcms2-dev gstreamer-dev gst-plugins-base-dev meson " _cms="cms-colord cms-static" _shell="shell-desktop shell-fullscreen shell-ivi" @@ -39,30 +40,23 @@ install="$pkgname.pre-install" build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --libexecdir=/usr/lib/$pkgname \ - --enable-screen-sharing \ - --enable-vaapi-recorder \ - --enable-clients \ - --enable-demo-clients-install - make + meson \ + -Dprefix=/usr \ + -Dlauncher-logind=false \ + -Dsystemd=false \ + -Dsimple-dmabuf-drm=auto \ + build + ninja -C build } # Does not run through, see also: # https://github.com/alpinelinux/aports/pull/1689 check() { - make -C "$builddir" check - return 0 + ninja -C "$builddir"/build test } package() { - make -C "$builddir" DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" ninja -C "$builddir"/build install } libs() { @@ -72,19 +66,19 @@ libs() { _libd() { pkgdesc="Desktop shells abstraction library for libweston compositors" - mkdir -p "$subpkgdir"/usr/lib || return 1 + mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/*desktop* "$subpkgdir"/usr/lib } clients() { pkgdesc="Weston example clients" - mkdir -p "$subpkgdir"/usr/bin || return 1 + mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/$pkgname-* "$subpkgdir"/usr/bin } xwayland() { pkgdesc="Wayland module to run X Clients" - mkdir -p "$subpkgdir"/usr/lib/$_libdir || return 1 + mkdir -p "$subpkgdir"/usr/lib/$_libdir mv "$pkgdir"/usr/lib/$_libdir/xwayland.so \ "$subpkgdir"/usr/lib/$_libdir } @@ -129,6 +123,6 @@ _sub() { mv "$pkgdir"/$path/$name "$subpkgdir"/$path } -sha512sums="b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf weston-5.0.0.tar.xz +sha512sums="127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f weston-6.0.0.tar.xz 3e596af4bf0a6b06a5d28376043db111fe1c161ead04501fa6d2c667b5a21889cca3354d1bdc4ac794841bef68ed5e1a7a84e44e7d510e947e3673195706caed timespec.patch 3f742a29075fd447995cdda283d12655910925811b22a28fc279bcc7cf5c7c1a888cd391bec42d934b3bad24578504c642882100f15647178f6f6f89a8405916 weston-launch-custom-error-function.patch" |