2023-08-01 01:01:37 -04:00
|
|
|
# Description: An object oriented GL/GLES Abstraction/Utility Layer
|
|
|
|
# URL: https://blogs.gnome.org/clutter/
|
|
|
|
# Maintainer: mac-a-r0ni, j at lngn dot net
|
|
|
|
# Depends on: mesa libdrm xorg-libxext xorg-libxdamage xorg-libxcomposite gdk-pixbuf pango xorg-libxrandr
|
|
|
|
|
|
|
|
name=cogl
|
|
|
|
version=1.22.8
|
|
|
|
release=1
|
|
|
|
source=(https://download.gnome.org/core/43/43.2/sources/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-gles2 \
|
|
|
|
--enable-{kms,wayland}-egl-platform \
|
|
|
|
--enable-wayland-egl-server \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-static \
|
2023-08-01 01:08:23 -04:00
|
|
|
--disable-debug \
|
|
|
|
--enable-gtk-doc=no \
|
|
|
|
--enable-introspection=no
|
2023-08-01 01:01:37 -04:00
|
|
|
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR="$PKG" install
|
|
|
|
|
2023-08-01 01:43:32 -04:00
|
|
|
rm -rf $PKG/usr/share
|
2023-08-01 01:01:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# vim:set sw=2 et:
|