[arch-commits] Commit in deepin-clutter/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:25:22 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:25:21
  Author: felixonmars
Revision: 658452

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-clutter/repos/community-staging-x86_64/
  deepin-clutter/repos/community-staging-x86_64/PKGBUILD
    (from rev 658451, deepin-clutter/trunk/PKGBUILD)

----------+
 PKGBUILD |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

Copied: deepin-clutter/repos/community-staging-x86_64/PKGBUILD (from rev 658451, deepin-clutter/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:25:21 UTC (rev 658452)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=deepin-clutter
+pkgver=1.26.2
+pkgrel=3
+pkgdesc="A toolkit for creating fast, portable, compelling dynamic UIs for Deepin"
+arch=('x86_64')
+url="https://github.com/sonald/clutter"
+license=('LGPL')
+depends=('gtk3' 'deepin-cogl' 'libinput')
+makedepends=('gobject-introspection' 'gtk-doc')
+provides=("clutter=$pkgver")
+conflicts=('clutter')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sonald/clutter/archive/$pkgver.tar.gz")
+sha256sums=('08cc169af09b89a4fb09c38fa5732d7995f73f865783882f2bf91423830d97ba')
+
+prepare() {
+  cd clutter-$pkgver
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd clutter-$pkgver
+  ./configure --prefix=/usr \
+    --enable-introspection \
+    --enable-egl-backend \
+    --enable-gdk-backend \
+    --enable-wayland-backend \
+    --enable-x11-backend \
+    --enable-evdev-input \
+    --enable-wayland-compositor \
+    --enable-gtk-doc
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd clutter-$pkgver
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list