46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Template file for 'cogl'
|
|
pkgname=cogl
|
|
version=1.22.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--enable-cairo=yes --enable-cogl-pango=yes
|
|
--enable-gdk-pixbuf=yes --enable-cogl-gst=yes --enable-kms-egl-platform
|
|
--enable-wayland-egl-platform --enable-wayland-egl-server
|
|
$(vopt_enable gir introspection)"
|
|
hostmakedepends="automake libtool gettext gettext-devel pkg-config intltool
|
|
glib-devel gobject-introspection"
|
|
makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
|
|
gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel"
|
|
short_desc="Library for using 3D graphics hardware for rendering"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.clutter-project.org"
|
|
distfiles="${GNOME_SITE}/cogl/${version%.*}/cogl-${version}.tar.xz"
|
|
checksum=a805b2b019184710ff53d0496f9f0ce6dcca420c141a0f4f6fcc02131581d759
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
# Needs a GL environment
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
cogl-devel_package() {
|
|
depends="${makedepends} cogl>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
}
|
|
}
|