cogl: enable gir
This commit is contained in:
parent
ef5004e7c2
commit
edf11516c1
1 changed files with 8 additions and 6 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'cogl'
|
||||
pkgname=cogl
|
||||
version=1.22.2
|
||||
revision=2
|
||||
revision=3
|
||||
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
|
||||
|
@ -13,7 +14,7 @@ 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="Juan RP <xtraeme@voidlinux.org>"
|
||||
license="LGPL-2.1"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="http://www.clutter-project.org"
|
||||
distfiles="${GNOME_SITE}/cogl/${version%.*}/cogl-${version}.tar.xz"
|
||||
checksum=39a718cdb64ea45225a7e94f88dddec1869ab37a21b339ad058a9d898782c00d
|
||||
|
@ -21,10 +22,11 @@ checksum=39a718cdb64ea45225a7e94f88dddec1869ab37a21b339ad058a9d898782c00d
|
|||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
|
Loading…
Reference in a new issue