wok diff mesa/receipt @ rev 23961

Add caprice32 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 01 15:38:46 2020 +0000 (2020-10-01)
parents a78610b2eb47
children 89c8d8b6cf48
line diff
     1.1 --- a/mesa/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/mesa/receipt	Thu Oct 01 15:38:46 2020 +0000
     1.3 @@ -1,42 +1,45 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mesa"
     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 +WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL"
    1.21 +
    1.22  PROVIDE="libgl"
    1.23 -
    1.24 -DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
    1.25 -libpthread-stubs"
    1.26 -BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
    1.27 -xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
    1.28 -talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
    1.29 -xorg-server-dev udev-dev file libdrm-nouveau llvm libpthread-stubs-dev \
    1.30 -libtool automake autoconf"
    1.31 +SUGGESTED="nvidia"
    1.32 +DEPENDS="expat libdrm libpthread-stubs udev xorg-libXdamage xorg-libXt 
    1.33 +	xorg-libXxf86vm"
    1.34 +BUILD_DEPENDS="autoconf automake expat-dev file lesstif-dev libdrm-dev 
    1.35 +	libdrm-nouveau libpthread-stubs-dev libtool libxml2-python llvm 
    1.36 +	pkg-config talloc udev-dev xorg-dri2proto xorg-glproto xorg-imake 
    1.37 +	xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev 
    1.38 +	xorg-makedepend xorg-server-dev"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42  {
    1.43  	find . -name 'nouveau*.h' | \
    1.44  		xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
    1.45 -	./autogen.sh \
    1.46 -		--prefix=/usr \
    1.47 +
    1.48 +	./autogen.sh		\
    1.49 +		--prefix=/usr	\
    1.50  		$CONFIGURE_ARGS &&
    1.51 -	make $MAKEFLAGS && make install
    1.52 +	make $MAKEFLAGS &&
    1.53 +	make install
    1.54  }
    1.55  
    1.56  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.57  genpkg_rules()
    1.58  {
    1.59  	mkdir -p $fs/usr/lib
    1.60 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.61 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.62  
    1.63  	# libGLU is included in the package libglu-mesa
    1.64  	rm -r -f $fs/usr/lib/libGLU*
    1.65 @@ -47,4 +50,3 @@
    1.66  	#libEGL is included in the package libegl-mesa
    1.67  	rm -r -f $fs/usr/lib/libEGL*
    1.68  }
    1.69 -