xfce4/clutter/Pkgfile
2023-08-01 01:36:25 -04:00

34 lines
789 B
Plaintext

# 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
name=clutter
version=1.26.4
release=1
source=(https://download.gnome.org/sources/$name/1.26/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--enable-egl-backend \
--enable-gdk-backend \
--enable-wayland-backend \
--enable-x11-backend \
--enable-evdev-input \
--enable-wayland-compositor \
--enable-introspection=no \
--disable-gtk-doc \
--disable-nls \
--disable-static \
--disable-debug
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
rm -rf $PKG/usr/share
}