New package: cogl-1.8.0, required by clutter-1.8.0.

This commit is contained in:
Juan RP 2011-09-28 16:37:23 +02:00
parent 8a99b6ffc9
commit 7c66879526
5 changed files with 73 additions and 0 deletions

1
srcpkgs/cogl-devel Symbolic link
View File

@ -0,0 +1 @@
cogl

View File

@ -0,0 +1,20 @@
# Template file for 'cogl-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libXcomposite-devel
Add_dependency run libXdamage-devel
Add_dependency run pango-devel
Add_dependency run gdk-pixbuf-devel
Add_dependency run cogl
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,share}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/gir* ${DESTDIR}/usr/share
}

2
srcpkgs/cogl/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.8.0"
api_depends="${abi_depends}"

49
srcpkgs/cogl/template Normal file
View File

@ -0,0 +1,49 @@
# Template file for 'cogl'
pkgname=cogl
version=1.8.0
distfiles="${GNOME_SITE}/$pkgname/1.8/$pkgname-$version.tar.xz"
build_style=gnu_configure
configure_args="--enable-introspection"
short_desc="Library for using 3D graphics hardware for rendering"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.clutter-project.org"
license="LGPL-2.1"
checksum=b1551c129d5570b63e7130971622fc2ab8d4ecbf0dc1773df1c54fa9c1cb0a2c
long_desc="
cogl is a small open source library for using 3D graphics hardware for
rendering. The API departs from the flat state machine style of OpenGL and is
designed to make it easy to write orthogonal components that can render without
stepping on each others toes.
As well as aiming for a nice API, we think having a single library as opposed
to an API specification like OpenGL has a few advantages too; like being
able to paper over the inconsistencies/bugs of different OpenGL
implementations in a centralized place, not to mention the myriad of OpenGL
extensions. It also means we are in a better position to provide utility
APIs that help software developers since they only need to be implemented
once and there is no risk of inconsistency between implementations.
Having other backends, besides OpenGL, such as drm, Gallium or D3D are
options we are interested in for the future."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run gdk-pixbuf
Add_dependency run libdrm
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXdamage
Add_dependency run libXfixes
Add_dependency run libXcomposite
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build gobject-introspection
Add_dependency build libXcomposite-devel
Add_dependency build libXdamage-devel
Add_dependency build pango-devel
Add_dependency build gdk-pixbuf-devel

View File

@ -834,3 +834,4 @@ libmx-gtk-1.0.so mx mx-devel
libcheese.so cheese cheese-devel
libcheese-gtk.so.20 cheese cheese-devel
libjson.so json-c json-c-devel
libcogl.so cogl cogl-devel