Create Pkgfile

This commit is contained in:
Jay Lanagan 2023-08-01 01:01:37 -04:00
parent 96d6ebb15c
commit fe49ee7be7

31
cogl/Pkgfile Normal file
View File

@ -0,0 +1,31 @@
# 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
./autogen.sh
./configure --prefix=/usr \
--enable-gles2 \
--enable-{kms,wayland}-egl-platform \
--enable-wayland-egl-server \
--disable-nls \
--disable-static \
--disable-debug
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR="$PKG" install
}
# vim:set sw=2 et: