wok-current diff mesa-wayland/receipt @ rev 24269

updated perl-xml-rss (1.61 -> 1.62)
author Hans-G?nter Theisgen
date Sun Jan 02 10:37:59 2022 +0100 (2022-01-02)
parents a78610b2eb47
children 4ce52a0b72fd
line diff
     1.1 --- a/mesa-wayland/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/mesa-wayland/receipt	Sun Jan 02 10:37:59 2022 +0100
     1.3 @@ -1,32 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mesa-wayland"
     1.7 -VERSION="9.1.3"
     1.8 +VERSION="9.2.5"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -SUGGESTED="nvidia"
    1.14 +WEB_SITE="https://www.mesa3d.org/"
    1.15 +
    1.16  SOURCE="Mesa"
    1.17  TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
    1.18 -WEB_SITE="https://www.mesa3d.org/"
    1.19 -WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
    1.20 -#HOST_ARCH="arm i486"
    1.21 +WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL"
    1.22  
    1.23  # Have Wayland support by default ?
    1.24 -PROVIDE="libgl libegl-mesa libglw-mesa"
    1.25 +PROVIDE="libegl-mesa libgl libglw-mesa"
    1.26  
    1.27 -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
    1.28 -wayland"
    1.29 -BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
    1.30 -xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
    1.31 -lesstif libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev"
    1.32 +SUGGESTED="nvidia"
    1.33 +DEPENDS="expat libdrm udev wayland xorg-libXdamage xorg-libXt xorg-libXxf86vm"
    1.34 +BUILD_DEPENDS="expat-dev lesstif-dev libdrm-dev libxml2-python pkg-config 
    1.35 +	udev-dev wayland-dev xorg-dri2proto xorg-glproto \
    1.36 +	xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev xorg-server-dev"
    1.37 +
    1.38 +#HOST_ARCH="arm i486"
    1.39  
    1.40  # Use some build system tools
    1.41  case "$ARCH" in
    1.42  	i?86) 
    1.43 -		BUILD_DEPENDS="$BUILD_DEPENDS talloc xorg-makedepend xorg-imake \
    1.44 -		file libdrm-nouveau llvm libtool automake autoconf libpthread-stubs-dev" ;;
    1.45 +		BUILD_DEPENDS="$BUILD_DEPENDS autoconf automake file libdrm-nouveau 
    1.46 +		libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;;
    1.47  esac
    1.48  
    1.49  # Rules to configure and make the package.
    1.50 @@ -34,26 +35,29 @@
    1.51  {
    1.52  	find . -name 'nouveau*.h' | \
    1.53  		xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
    1.54 -	./autogen.sh \
    1.55 -		--prefix=/usr \
    1.56 -		--sysconfdir=/etc/X11/${PACKAGE} \
    1.57 -		--enable-gles2 \
    1.58 -		--disable-gallium-egl \
    1.59 -		--with-egl-platforms=x11,wayland,drm \
    1.60 -		--enable-gbm \
    1.61 -		--enable-shared-glapi \
    1.62 -		--with-gallium-drivers=r300,r600,swrast,nouveau \
    1.63 +
    1.64 +	./autogen.sh						\
    1.65 +		--prefix=/usr					\
    1.66 +		--sysconfdir=/etc/X11/${PACKAGE}		\
    1.67 +		--enable-gles2					\
    1.68 +		--disable-gallium-egl				\
    1.69 +		--with-egl-platforms=x11,wayland,drm		\
    1.70 +		--enable-gbm					\
    1.71 +		--enable-shared-glapi				\
    1.72 +		--with-gallium-drivers=r300,r600,swrast,nouveau	\
    1.73  		$CONFIGURE_ARGS &&
    1.74 -	make $MAKEFLAGS && make install
    1.75 +	make $MAKEFLAGS &&
    1.76 +	make install
    1.77  }
    1.78  
    1.79  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.80  genpkg_rules()
    1.81  {
    1.82  	mkdir -p $fs/usr/lib/dri
    1.83 -	cp -a $install/etc $fs
    1.84 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.85 -	cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
    1.86 +
    1.87 +	cp -a $install/etc			$fs
    1.88 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.89 +	cp -a $install/usr/lib/dri/*.so*	$fs/usr/lib/dri
    1.90  
    1.91  	# libGLU is included in the package libglu-mesa
    1.92  	#rm -r -f $fs/usr/lib/libGLU*
    1.93 @@ -64,4 +68,3 @@
    1.94  	#libEGL is included in the package libegl-mesa
    1.95  	#rm -r -f $fs/usr/lib/libEGL*
    1.96  }
    1.97 -