debian swirl logo

Back to the packages list cogl

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

GNOME_MODULE = cogl

DEB_DH_MAKESHLIBS_ARGS_libcogl20 += -V -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcogl-path20 += -V -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcogl-pango20 += -V -- -c4
DEB_DH_MAKESHLIBS_ARGS_libcogl-gles2-20 += -V -- -c4

DEB_CONFIGURE_EXTRA_FLAGS += \
		--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
		--enable-gtk-doc \
		--enable-gdk-pixbuf \
		--enable-cogl-pango \
		--enable-introspection=yes \
		--enable-gl=yes

ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),armel armhf))
        DEB_CONFIGURE_EXTRA_FLAGS += --with-default-driver=gles2
else
        DEB_CONFIGURE_EXTRA_FLAGS += --with-default-driver=gl
endif

DEB_CONFIGURE_EXTRA_FLAGS += \
		--enable-xlib-egl-platform=yes \
		--enable-cogl-gles2=yes \
		--with-gles2-libname=libGLESv2.so.2 \
		--enable-gles2=yes

ifeq ($(DEB_HOST_ARCH_OS),linux)
DEB_CONFIGURE_EXTRA_FLAGS += \
		--enable-wayland-egl-platform \
		--enable-wayland-egl-server \
		--enable-kms-egl-platform=yes
endif

common-binary-predeb-arch:: list-missing

Builds:

gir1.2-cogl-1.0
gobject introspection data for the cogl 1.0 library
gir1.2-coglpango-1.0
gobject introspection data for the coglpango 1.0 library
libcogl20-dbg
object oriented gl/gles abstraction/utility layer (debug files)
libcogl20
object oriented gl/gles abstraction/utility layer
libcogl-common
object oriented gl/gles abstraction/utility layer (common files)
libcogl-dev
object oriented gl/gles abstraction/utility layer (development files)
libcogl-doc
object oriented gl/gles abstraction/utility layer (documentation)
libcogl-gles2-20
object oriented gl/gles abstraction/utility layer
libcogl-gles2-dev
object oriented gl/gles abstraction/utility layer (development files)
libcogl-pango20-dbg
object oriented gl/gles abstraction/utility layer (debug files)
libcogl-pango20
object oriented gl/gles abstraction/utility layer
libcogl-pango-dev
object oriented gl/gles abstraction/utility layer (development files)
libcogl-path20
object oriented gl/gles abstraction/utility layer
libcogl-path-dev
object oriented gl/gles abstraction/utility layer (development files)