wok-next diff mesa/receipt @ rev 21250

updated drbd-utils (8.9.1 -> 9.11.0)
author Hans-G?nter Theisgen
date Fri Dec 06 08:40:38 2019 +0100 (2019-12-06)
parents d5aab818505e
children
line diff
     1.1 --- a/mesa/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/mesa/receipt	Fri Dec 06 08:40:38 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="mesa"
     1.7 -VERSION="17.3.4"
     1.8 +VERSION="18.3.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Open-source implementaton of OpenGL"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -9,29 +9,64 @@
    1.13  WEB_SITE="https://www.mesa3d.org/"
    1.14  LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/mesa.html"
    1.15  
    1.16 -TARBALL="mesa-$VERSION.tar.xz"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18  WGET_URL="https://mesa.freedesktop.org/archive/$TARBALL"
    1.19 +TARBALL_SHA1="50ba2d37647fea77ea19416e8a6ffed34c313330"
    1.20  
    1.21 -BUILD_DEPENDS="autoconf automake libtool python libdrm-dev libgcrypt-dev \
    1.22 -eudev-dev xorg-xorgproto \
    1.23 -xorg-libxcb-dev xorg-libxshmfence-dev xorg-libX11-dev xorg-libXext-dev \
    1.24 -xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXxf86vm-dev expat-dev \
    1.25 -elfutils-dev llvm-dev xorg-libpciaccess-dev wayland-dev libva-dev libvdpau-dev \
    1.26 -wayland-protocols-dev libatomic zlib-dev xorg-libXi-dev"
    1.27 -BUILD_DEPENDS="${BUILD_DEPENDS/libva-dev/}"
    1.28 -SPLIT="$PACKAGE-dri $PACKAGE-libegl $PACKAGE-libgbm $PACKAGE-osmesa \
    1.29 -$PACKAGE-libswrAVX $PACKAGE-libwayland-egl $PACKAGE-libxatracker $PACKAGE-vdpau \
    1.30 -$PACKAGE $PACKAGE-dev"
    1.31 +BUILD_DEPENDS="python libdrm-dev libgcrypt-dev eudev-dev xorgproto \
    1.32 +libxcb-dev libxshmfence-dev libx11-dev libxext-dev libxdamage-dev \
    1.33 +libxfixes-dev libxxf86vm-dev expat-dev elfutils-dev llvm-dev libpciaccess-dev \
    1.34 +wayland-dev libva-dev libvdpau-dev wayland-protocols-dev libatomic zlib-dev \
    1.35 +libxi-dev libxrandr-dev"
    1.36 +BUILD_DEPENDS="${BUILD_DEPENDS/libva-dev/}" # dep loop mesa<->libva
    1.37 +SPLIT="\
    1.38 +$PACKAGE-dri    $PACKAGE-libegl       $PACKAGE-libgbm \
    1.39 +$PACKAGE-osmesa $PACKAGE-libxatracker $PACKAGE-vdpau \
    1.40 +$PACKAGE        $PACKAGE-dev"
    1.41 +
    1.42 +COPY_dri="lib/dri/ 90-DRI.conf"
    1.43 +COPY_libegl="libEGL.so*"
    1.44 +COPY_libgbm="libgbm.so*"
    1.45 +COPY_osmesa="libOSMesa.so*"
    1.46 +COPY_libxatracker="libxatracker.so*"
    1.47 +COPY_vdpau="lib/vdpau/"
    1.48 +COPY_std="@std @rm"
    1.49 +
    1.50 +DEPENDS_dri="elfutils expat libdrm libdrm-amdgpu libdrm-etnaviv libdrm-intel \
    1.51 +libdrm-nouveau libdrm-radeon libllvm mesa zlib"
    1.52 +DEPENDS_libegl="expat libdrm libx11 libxcb libxshmfence mesa mesa-libgbm wayland zlib"
    1.53 +DEPENDS_libgbm="expat libdrm wayland zlib"
    1.54 +DEPENDS_osmesa="mesa zlib"
    1.55 +DEPENDS_libxatracker="expat libdrm libdrm-intel libdrm-nouveau libllvm zlib"
    1.56 +DEPENDS_vdpau="elfutils expat libdrm libdrm-amdgpu libdrm-nouveau \
    1.57 +libdrm-radeon libllvm libx11 libxcb libxshmfence zlib"
    1.58 +DEPENDS_std="expat libdrm libx11 libxcb libxdamage libxext libxfixes \
    1.59 +libxshmfence libxxf86vm"
    1.60 +DEPENDS_dev="$PACKAGE $PACKAGE-dri $PACKAGE-libegl $PACKAGE-libgbm \
    1.61 +$PACKAGE-osmesa $PACKAGE-libxatracker $PACKAGE-vdpau \
    1.62 +libdrm-dev wayland-dev libx11-dev libxcb-dev libxdamage-dev libxext-dev \
    1.63 +libxfixes-dev libxxf86vm-dev"
    1.64 +
    1.65 +CAT_dri="x-window|Direct Rendering Infrastructure"
    1.66 +CAT_libegl="x-window|EGL library"
    1.67 +CAT_libgbm="x-window|Graphics Buffer Manager library"
    1.68 +CAT_osmesa="x-window|Off-screen Rendering library"
    1.69 +CAT_libxatracker="x-window|Xorg Gallium3D acceleration library"
    1.70 +CAT_vdpau="x-window|VDPAU drivers"
    1.71 +CAT_std="x-window|main OpenGL libraries"
    1.72 +
    1.73 +SUGGESTED_std="nvidia"
    1.74 +PROVIDE_std="libgl"
    1.75 +CONFIG_FILES_std="/etc/drirc"
    1.76  
    1.77  compile_rules() {
    1.78 -	# Removed from the full list: freedreno,vc4
    1.79 -	# because we haven't appropriate libdrm-* packages (they are only for ARM)
    1.80 -	GLL_DRV="i915,nouveau,r300,r600,radeonsi,svga,swrast,swr,virgl,etnaviv,imx"
    1.81 +	# Removed from the full list:
    1.82 +	#  - freedreno,vc4 (they are only for ARM)
    1.83 +	#  - swr (it doesn't build)
    1.84 +	GLL_DRV="i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl,etnaviv,imx"
    1.85  
    1.86 -	sed -i "/pthread_stubs_possible=/s/yes/no/" configure.ac
    1.87 -	./autogen.sh \
    1.88 -		CFLAGS='-O2' CXXFLAGS='-O2' \
    1.89 -		--enable-texture-float \
    1.90 +	./configure \
    1.91 +		CFLAGS='-O2' CXXFLAGS='-O2' LDFLAGS=-lLLVM \
    1.92  		--enable-gles1 \
    1.93  		--enable-gles2 \
    1.94  		--enable-osmesa \
    1.95 @@ -48,71 +83,3 @@
    1.96  	cook_pick_docs docs/*
    1.97  	install -Dm644 $stuff/90-DRI.conf $install/etc/X11/xorg.conf.d/90-DRI.conf
    1.98  }
    1.99 -
   1.100 -genpkg_rules() {
   1.101 -	case $PACKAGE in
   1.102 -		*-dri)
   1.103 -			copy lib/dri/ 90-DRI.conf
   1.104 -			CAT="x-window|Direct Rendering Infrastructure"
   1.105 -			DEPENDS="elfutils expat libdrm libdrm-amdgpu libdrm-etnaviv \
   1.106 -			libdrm-intel libdrm-nouveau libdrm-radeon llvm-libs mesa \
   1.107 -			xorg-libX11 xorg-libxcb xorg-libxshmfence zlib"
   1.108 -			;;
   1.109 -		*-libegl)
   1.110 -			copy libEGL.so*
   1.111 -			CAT="x-window|EGL library"
   1.112 -			DEPENDS="expat libdrm mesa-libgbm wayland xorg-libX11 \
   1.113 -			xorg-libxcb xorg-libxshmfence zlib"
   1.114 -			;;
   1.115 -		*-libgbm)
   1.116 -			copy libgbm.so*
   1.117 -			CAT="x-window|Graphics Buffer Manager library"
   1.118 -			DEPENDS="expat libdrm wayland"
   1.119 -			;;
   1.120 -		*-osmesa)
   1.121 -			copy libOSMesa.so*
   1.122 -			CAT="x-window|Off-screen Rendering library"
   1.123 -			DEPENDS="mesa zlib"
   1.124 -			;;
   1.125 -		*-libwayland-egl)
   1.126 -			copy libwayland-egl.so*
   1.127 -			CAT="x-window|Wayland EGL library"
   1.128 -			DEPENDS=" "
   1.129 -			;;
   1.130 -		*-libxatracker)
   1.131 -			copy libxatracker.so*
   1.132 -			CAT="x-window|Xorg Gallium3D acceleration library"
   1.133 -			DEPENDS="expat libdrm libdrm-intel libdrm-nouveau llvm-libs zlib"
   1.134 -			;;
   1.135 -		*-vdpau)
   1.136 -			copy lib/vdpau/
   1.137 -			CAT="x-window|VDPAU drivers"
   1.138 -			DEPENDS="elfutils expat libdrm libdrm-amdgpu libdrm-nouveau \
   1.139 -			libdrm-radeon llvm-libs xorg-libX11 xorg-libxcb xorg-libxshmfence \
   1.140 -			zlib"
   1.141 -			;;
   1.142 -		*-libswrAVX)
   1.143 -			copy libswrAVX*so*
   1.144 -			CAT="x-window|Fast software rendering driver for CPU with AVX"
   1.145 -			DEPENDS=" "
   1.146 -			;;
   1.147 -		mesa)
   1.148 -			copy @std @rm
   1.149 -			CAT="x-window|main OpenGL libraries"
   1.150 -			DEPENDS="expat libdrm xorg-libX11 xorg-libXdamage xorg-libXext \
   1.151 -			xorg-libXfixes xorg-libXxf86vm xorg-libxcb xorg-libxshmfence"
   1.152 -			SUGGESTED="nvidia"
   1.153 -			PROVIDE="libgl"
   1.154 -			CONFIG_FILES="/etc/drirc"
   1.155 -			;;
   1.156 -		*-dev)
   1.157 -			copy @dev
   1.158 -			DEPENDS="mesa mesa-dri mesa-libegl mesa-libgbm \
   1.159 -			mesa-osmesa mesa-libwayland-egl mesa-libxatracker \
   1.160 -			mesa-vdpau \
   1.161 -			libdrm-dev wayland-dev xorg-libX11-dev xorg-libXdamage-dev \
   1.162 -			xorg-libXext-dev xorg-libXfixes-dev xorg-libXxf86vm-dev \
   1.163 -			xorg-libxcb-dev"
   1.164 -			;;
   1.165 -	esac
   1.166 -}