blob: d3d233383214d41c3dec3f0e656952b603b66606 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=clutter
pkgver=1.26.4
pkgrel=4
pkgdesc="A toolkit for creating fast, portable, compelling dynamic UIs"
url="https://blogs.gnome.org/clutter/"
arch=(x86_64)
license=(LGPL)
depends=(gtk3 cogl libinput)
makedepends=(gobject-introspection gtk-doc git glib2-devel)
_commit=fd85623d34a54b3f5607011086cf19cb2c756a6a # tags/1.26.4^0
source=("git+https://gitlab.gnome.org/Archive/clutter.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./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() {
depends+=(libcogl{,-pango,-path}.so)
provides+=(libclutter-1.0.so)
cd "$pkgname"
make DESTDIR="$pkgdir" install
}
# vim:set sw=2 et:
|