summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAaron Plattner2016-03-23 15:26:21 -0700
committerAaron Plattner2016-03-23 15:39:38 -0700
commit57673850b273dcf3db6c85abe9bc1d45d090eaf4 (patch)
treed2c8d2c105402dc8c1508a8a902658207d9e2e0c /PKGBUILD
parentfe7908b6f16617ee43b0ea601c738ff4ed760b7a (diff)
downloadaur-57673850b273dcf3db6c85abe9bc1d45d090eaf4.tar.gz
Apply Miguel's patches to add support for EGLStreams
See https://lists.freedesktop.org/archives/wayland-devel/2016-March/027547.html Use weston-launch -- --use-egldevice to start. Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD44
1 files changed, 36 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4cb8d1c6c3e..0f6494f9b58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,49 @@
-# $Id: PKGBUILD 162349 2016-02-18 12:04:33Z seblu $
-# Maintainer: S├ębastien Luttringer
+# Maintainer: Aaron Plattner <aplattner@nvidia.com>
+# Contributor: S├ębastien Luttringer
# Contributor: Joel Teichroeb <joel@teichroeb.net>
-pkgname=weston
+pkgname=weston-eglstream
pkgver=1.10.0
pkgrel=1
-pkgdesc='Reference implementation of a Wayland compositor'
+pkgdesc='Reference implementation of a Wayland compositor with EGLStream support'
arch=('i686' 'x86_64')
url='http://wayland.freedesktop.org'
license=('MIT')
depends=('wayland' 'libxkbcommon' 'libinput' 'libunwind' 'poppler-glib' 'mtdev' 'libxcursor' 'glu' 'pango' 'colord')
makedepends=('wayland-protocols')
-source=("http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz")
-sha1sums=('c9c2c8e2e798b25e7bf6b31bf0c4ef08724a7ebb')
+provides=('weston')
+conflicts=('weston')
+source=("http://wayland.freedesktop.org/releases/weston-$pkgver.tar.xz"
+ '0001-gl-renderer-Renaming-of-things-and-minor-improvement.patch'
+ '0002-gl-renderer-Refactor-gl_renderer_output_window_creat.patch'
+ '0003-gl-renderer-Implement-use-check_extension.patch'
+ '0004-gl-renderer-Add-support-for-EGLDevice-EGLOutput.patch'
+ '0005-compositor-drm-Gracefully-handle-vblank-and-flip-inv.patch'
+ '0006-compositor-drm-Renaming-of-gbm-fields.patch'
+ '0007-compositor-drm-Add-support-for-EGLDevice-EGLOutput.patch')
+sha1sums=('c9c2c8e2e798b25e7bf6b31bf0c4ef08724a7ebb'
+ 'c623cdf628a20a4bde5a98cc40867c32a8300e79'
+ '3441d0a7da0ae64835a5b29545caab4bc7977417'
+ 'f6742fadb973ec6c2b55e5500127309e70579312'
+ '31e3a447a1209712d604d739d0ac7e5b1925e940'
+ 'b483f21b3f880d3978cc678bf5f97802f7ddddaf'
+ '13d217d76a0811f5eb8d7180d31ec7a69fbbaabd'
+ '6bab10ac02a7e69b1bb1bf1982b5804e87870e0e')
+
+prepare() {
+ cd weston-$pkgver
+
+ patch -Np1 -i "${srcdir}/0001-gl-renderer-Renaming-of-things-and-minor-improvement.patch"
+ patch -Np1 -i "${srcdir}/0002-gl-renderer-Refactor-gl_renderer_output_window_creat.patch"
+ patch -Np1 -i "${srcdir}/0003-gl-renderer-Implement-use-check_extension.patch"
+ patch -Np1 -i "${srcdir}/0004-gl-renderer-Add-support-for-EGLDevice-EGLOutput.patch"
+ patch -Np1 -i "${srcdir}/0005-compositor-drm-Gracefully-handle-vblank-and-flip-inv.patch"
+ patch -Np1 -i "${srcdir}/0006-compositor-drm-Renaming-of-gbm-fields.patch"
+ patch -Np1 -i "${srcdir}/0007-compositor-drm-Add-support-for-EGLDevice-EGLOutput.patch"
+}
build() {
- cd $pkgname-$pkgver
+ cd weston-$pkgver
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/weston \
@@ -25,7 +53,7 @@ build() {
}
package() {
- cd $pkgname-$pkgver
+ cd weston-$pkgver
make DESTDIR="$pkgdir" install
# license
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"