2011-09-28 16:37:23 +02:00
|
|
|
# Template file for 'cogl'
|
|
|
|
pkgname=cogl
|
2015-02-24 09:15:42 +01:00
|
|
|
version=1.20.0
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-08-23 17:58:53 +02:00
|
|
|
configure_args="--enable-cogl-gst=yes
|
2013-10-20 07:01:29 +02:00
|
|
|
--enable-gles1 --enable-gles2 --enable-kms-egl-platform
|
2015-02-24 09:15:42 +01:00
|
|
|
--enable-wayland-egl-platform --enable-wayland-egl-server
|
|
|
|
$(vopt_enable gir introspection)"
|
2014-08-23 17:58:53 +02:00
|
|
|
hostmakedepends="automake libtool gettext-devel pkg-config intltool
|
|
|
|
glib-devel gobject-introspection"
|
|
|
|
makedepends="libXcomposite-devel libXrandr-devel MesaLib-devel pango-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
gdk-pixbuf-devel gst-plugins-base1-devel wayland-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="gst-plugins-base1>=1:1.2.0"
|
2011-09-28 16:37:23 +02:00
|
|
|
short_desc="Library for using 3D graphics hardware for rendering"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-09-28 16:37:23 +02:00
|
|
|
homepage="http://www.clutter-project.org"
|
|
|
|
license="LGPL-2.1"
|
2013-03-28 08:18:48 +01:00
|
|
|
distfiles="${GNOME_SITE}/cogl/${version%.*}/cogl-${version}.tar.xz"
|
2015-02-24 09:15:42 +01:00
|
|
|
checksum=729e35495829e7d31fafa3358e47b743ba21a2b08ff9b6cd28fb74c0de91192b
|
2013-09-15 13:34:09 +02:00
|
|
|
|
2014-08-23 17:58:53 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2013-04-12 08:55:23 +02:00
|
|
|
cogl-devel_package() {
|
2014-08-23 17:58:53 +02:00
|
|
|
depends="${makedepends} cogl>=${version}_${revision}"
|
2013-09-15 13:34:09 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-09-15 13:34:09 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-08-23 17:58:53 +02:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|