wok-next rev 21563

updated cogl (1.22.2 -> 1.22.8)
author Hans-G?nter Theisgen
date Mon Jun 22 15:09:06 2020 +0100 (2020-06-22)
parents 0d8bad9bbba4
children cee3e96c08f6
files cogl/receipt
line diff
     1.1 --- a/cogl/receipt	Mon Jun 22 14:58:35 2020 +0100
     1.2 +++ b/cogl/receipt	Mon Jun 22 15:09:06 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cogl"
     1.7 -VERSION="1.22.2"
     1.8 +VERSION="1.22.8"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Object oriented GL/GLES abstraction/utility layer"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -12,48 +12,49 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="glib-dev mesa-dev libxcomposite-dev libxrandr-dev \
    1.17 -gdk-pixbuf-dev gettext-dev cairo-dev pango-dev gobject-introspection-dev \
    1.18 -libxshmfence-dev expat-dev"
    1.19 +BUILD_DEPENDS="cairo-dev expat-devgdk-pixbuf-dev gettext-dev glib-dev
    1.20 +	gobject-introspection-dev libxcomposite-dev libxrandr-dev
    1.21 +	libxshmfence-dev mesa-dev pango-dev"
    1.22  SPLIT="$PACKAGE-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 +compile_rules()
    1.26 +{
    1.27  	sed -i 's/^#if COGL/#ifdef COGL/' cogl/winsys/cogl-winsys-egl.c
    1.28  
    1.29  	# --enable-kms-egl-platform, --enable-wayland-egl-platform,
    1.30  	# --enable-wayland-egl-server: for GNOME Wayland support.
    1.31  	# This added mesa-libwayland-egl to DEPENDS.
    1.32  	# --enable-xlib-egl-platform is default option.
    1.33 -	./configure \
    1.34 -		--enable-gles1 \
    1.35 -		--enable-gles2 \
    1.36 -		--enable-kms-egl-platform \
    1.37 -		--enable-wayland-egl-platform \
    1.38 -		--enable-xlib-egl-platform \
    1.39 -		--enable-wayland-egl-server \
    1.40 +	./configure				\
    1.41 +		--enable-gles1			\
    1.42 +		--enable-gles2			\
    1.43 +		--enable-kms-egl-platform	\
    1.44 +		--enable-wayland-egl-platform	\
    1.45 +		--enable-wayland-egl-server	\
    1.46 +		--enable-xlib-egl-platform	\
    1.47  		$CONFIGURE_ARGS &&
    1.48  	fix libtool &&
    1.49  	make &&
    1.50  	make install || return 1
    1.51  
    1.52  	# remove /usr/share/cogl/examples-data/crate.jpg with folder: no examples anyway
    1.53 -	rm -r $install/usr/share/cogl
    1.54 +	rm -r	$install/usr/share/cogl
    1.55  }
    1.56  
    1.57 -genpkg_rules() {
    1.58 +genpkg_rules()
    1.59 +{
    1.60  	case $PACKAGE in
    1.61  		cogl)
    1.62  			copy @std
    1.63 -			DEPENDS="libcairo gdk-pixbuf glib libdrm mesa-libegl mesa-libgbm \
    1.64 -			mesa-libwayland-egl pango wayland libx11 libxdamage \
    1.65 -			libxext libxfixes libxrandr"
    1.66 +			DEPENDS="gdk-pixbuf glib libcairo libdrm libx11 libxdamage
    1.67 +			libxext libxfixes libxrandr mesa-libegl mesa-libgbm
    1.68 +			mesa-libwayland-egl pango wayland"
    1.69  			;;
    1.70  		cogl-dev)
    1.71  			copy @dev
    1.72 -			DEPENDS="cogl cairo-dev gdk-pixbuf-dev glib-dev libdrm-dev \
    1.73 -			mesa-dev wayland-dev libx11-dev libxcomposite-dev \
    1.74 -			libxdamage-dev libxext-dev libxfixes-dev \
    1.75 -			libxrandr-dev"
    1.76 +			DEPENDS="cairo-dev cogl gdk-pixbuf-dev glib-dev libdrm-dev
    1.77 +			libx11-dev libxcomposite-dev libxdamage-dev libxext-dev
    1.78 +			libxfixes-dev libxrandr-dev mesa-dev wayland-dev"
    1.79  			;;
    1.80  	esac
    1.81  }