[arch-commits] Commit in wlc/repos/community-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Sat May 30 21:27:31 UTC 2020


    Date: Saturday, May 30, 2020 @ 21:27:30
  Author: arojas
Revision: 637534

archrelease: copy trunk to community-x86_64

Added:
  wlc/repos/community-x86_64/PKGBUILD
    (from rev 637533, wlc/trunk/PKGBUILD)
  wlc/repos/community-x86_64/wlc-missing-header.patch
    (from rev 637533, wlc/trunk/wlc-missing-header.patch)
Deleted:
  wlc/repos/community-x86_64/PKGBUILD

--------------------------+
 PKGBUILD                 |   98 +++++++++++++++++++++++----------------------
 wlc-missing-header.patch |   22 ++++++++++
 2 files changed, 73 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-30 21:26:28 UTC (rev 637533)
+++ PKGBUILD	2020-05-30 21:27:30 UTC (rev 637534)
@@ -1,47 +0,0 @@
-# $Id$
-pkgname=wlc
-pkgver=0.0.11
-pkgrel=1
-pkgdesc="Wayland Compositor Library"
-url="https://github.com/Cloudef/wlc"
-arch=("i686" "x86_64")
-license=("MIT")
-depends=(
-	"libdrm" "pixman" "xcb-util-image" "xcb-util-wm"
-	"wayland" "wayland-protocols" "libxkbcommon" "libinput" "libgl"
-)
-makedepends=("cmake")
-source=(
-	"https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
-	"https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2.asc"
-)
-sha256sums=(
-	"c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22"
-	"SKIP"
-)
-validpgpkeys=(
-	"C2AA3C3A6F9B1F932014879EF769BB961AF6D26A"
-	"9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A"  # Drew DeVault <sway at cmpwn.com>
-)
-
-
-build() {
-	mkdir -p build
-	cd build
-	cmake "$srcdir/$pkgname-$pkgver" \
-		-DCMAKE_BUILD_TYPE=Upstream \
-		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
-}
-
-check() {
-	cd build
-	make test
-}
-
-package() {
-	cd build
-	make DESTDIR="$pkgdir" install
-	install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: wlc/repos/community-x86_64/PKGBUILD (from rev 637533, wlc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-30 21:27:30 UTC (rev 637534)
@@ -0,0 +1,51 @@
+pkgname=wlc
+pkgver=0.0.11
+pkgrel=2
+pkgdesc="Wayland Compositor Library"
+url="https://github.com/Cloudef/wlc"
+arch=("x86_64")
+license=("MIT")
+depends=(
+	"libdrm" "pixman" "xcb-util-image" "xcb-util-wm"
+	"wayland" "wayland-protocols" "libxkbcommon" "libinput" "libgl"
+)
+makedepends=("cmake")
+source=(
+	"https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2"
+	"https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2.asc"
+        wlc-missing-header.patch
+)
+sha256sums=('c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22'
+            'SKIP'
+            '605a7d7b5d5d3b5c771ee9e262836b6073be89aa5737328b66ebe835bec828a6')
+validpgpkeys=(
+	"C2AA3C3A6F9B1F932014879EF769BB961AF6D26A"
+	"9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A"  # Drew DeVault <sway at cmpwn.com>
+)
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../wlc-missing-header.patch
+}
+
+build() {
+	mkdir -p build
+	cd build
+        CFLAGS+=' -fcommon'
+	cmake "$srcdir/$pkgname-$pkgver" \
+		-DCMAKE_BUILD_TYPE=Upstream \
+		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+}
+
+check() {
+	cd build
+	make test
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+	install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: wlc/repos/community-x86_64/wlc-missing-header.patch (from rev 637533, wlc/trunk/wlc-missing-header.patch)
===================================================================
--- wlc-missing-header.patch	                        (rev 0)
+++ wlc-missing-header.patch	2020-05-30 21:27:30 UTC (rev 637534)
@@ -0,0 +1,22 @@
+--- wlc-0.0.11/src/platform/render/gles2.c.orig	2020-05-30 20:59:49.759731716 +0000
++++ wlc-0.0.11/src/platform/render/gles2.c	2020-05-30 21:00:29.300322929 +0000
+@@ -4,6 +4,9 @@
+ #include <dlfcn.h>
+ #include <GLES2/gl2.h>
+ #include <GLES2/gl2ext.h>
++#include <EGL/egl.h>
++#include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>
+ #include <wayland-server.h>
+ #include <chck/string/string.h>
+ #include "internal.h"
+--- wlc-0.0.11/src/platform/context/egl.c.orig	2020-05-30 21:02:22.835353572 +0000
++++ wlc-0.0.11/src/platform/context/egl.c	2020-05-30 20:57:57.000000000 +0000
+@@ -4,6 +4,7 @@
+ #include <assert.h>
+ #include <EGL/egl.h>
+ #include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>
+ #include <wayland-server.h>
+ #include <chck/string/string.h>
+ #include "internal.h"



More information about the arch-commits mailing list