mirror of
https://github.com/mac-a-r0ni/crux-xfce4.git
synced 2025-01-22 14:52:19 +01:00
30 lines
899 B
Plaintext
30 lines
899 B
Plaintext
# 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 xorg-libxcomposite gdk-pixbuf pango
|
|
# Optional: egl-wayland
|
|
|
|
name=cogl
|
|
version=1.22.8
|
|
release=2
|
|
source=(https://download.gnome.org/sources/cogl/1.22/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
|
|
prt-get isinst egl-wayland && PKGMK_COGL+=' --enable-gles2 --enable-wayland-egl-server --enable-kms-egl-platform --enable-wayland-egl-platform ' || PKGMK_COGL+=' --disable-gles2 --disable-wayland-egl-server --disable-kms-egl-platform --disable-wayland-egl-platform '
|
|
|
|
cd $name-$version
|
|
./configure $PKGMK_COGL --prefix=/usr \
|
|
--disable-nls \
|
|
--disable-static \
|
|
--disable-debug \
|
|
--enable-gtk-doc=no \
|
|
--enable-introspection=no
|
|
|
|
make
|
|
make DESTDIR="$PKG" install
|
|
|
|
rm -f $PKG/usr/lib/*.la
|
|
rm -rf $PKG/usr/share
|
|
}
|