blob: 48819048222f82f41b39218bddcc1dffd8c7c440 (
plain) (
blame)
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
|
# Description: A toolkit for creating fast, portable, compelling dynamic UIs
# URL: https://blogs.gnome.org/clutter/
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: gtk3 cogl libinput json-glib
# Optional: egl-wayland
name=clutter
version=1.26.4
release=2
source=(https://download.gnome.org/sources/$name/1.26/$name-$version.tar.xz)
build() {
cd $name-$version
prt-get isinst egl-wayland && ls /usr/lib/pkgconfig/cogl-gles2-1.0.pc && ls /usr/lib/xkbcommon/xkbcli-interactive-wayland && PKGMK_CLUTTER+=' --enable-wayland-backend --enable-wayland-compositor --enable-egl-backend --enable-evdev-input' || PKGMK_CLUTTER+=' --enable-egl-backend=no'
./configure --prefix=/usr $PKGMK_CLUTTER \
--enable-gdk-backend \
--enable-x11-backend \
--enable-introspection=no \
--disable-gtk-doc \
--disable-nls \
--disable-static \
--disable-debug
make
make DESTDIR="$PKG" install
rm -f $PKG/usr/lib/*.la
rm -rf $PKG/usr/share
}
|