wok-current rev 25710

Build full mesa features and split it
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 10 19:04:54 2024 +0000 (6 months ago)
parents 9cfcf18b0d6c
children 427d888cd171
files clang/receipt directx-headers/receipt libclc/receipt libd3d9-mesa/receipt libgbm-mesa/receipt libglapi-mesa/receipt libglvnd-dev/receipt libglvnd/receipt libglx-mesa/receipt libopencl-mesa/receipt libos-mesa/receipt libva-dev/receipt libva/receipt libxatracker-mesa/receipt libxvmc-mesa/receipt llvm-lib/receipt llvm/receipt mesa-dri-ati/receipt mesa-dri-crocus/receipt mesa-dri-d3d12/receipt mesa-dri-intel/receipt mesa-dri-iris/receipt mesa-dri-nouveau/receipt mesa-dri-virtio/receipt mesa-dri-vmwgfx/receipt mesa-dri/receipt mesa-va/receipt mesa-vdpau/receipt mesa-vulkan/receipt mesa/receipt spirv-headers/receipt spirv-llvm-translator/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/clang/receipt	Mon Jun 10 19:04:54 2024 +0000
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="clang"
     1.7 +VERSION="13.0.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="C language family frontend for LLVM."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://clang.llvm.org/"
    1.13 +TARBALL="$PACKAGE-$VERSION.src.tar.xz"
    1.14 +WGET_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS="llvm-lib"
    1.17 +BUILD_DEPENDS="llvm ninja cmake"
    1.18 +
    1.19 +# What is the latest version available today?
    1.20 +current_version()
    1.21 +{
    1.22 +	wget -O - https://github.com/llvm/llvm-project/releases 2>/dev/null | \
    1.23 +	sed '/-rc/d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
    1.24 +}
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	# Use MinSizeRel instead Release to reduce size
    1.30 +
    1.31 +	mkdir build && cd build
    1.32 +	CC=gcc CXX=g++ \
    1.33 +	cmake \
    1.34 +	    -DCMAKE_INSTALL_PREFIX=/usr \
    1.35 +	    -DCMAKE_BUILD_TYPE=MinSizeRel \
    1.36 +	    -DCLANG_LINK_CLANG_DYLIB=ON \
    1.37 +	    -DLLVM_ENABLE_RTTI=ON \
    1.38 +	    -DLLVM_LINK_LLVM_DYLIB=ON \
    1.39 +	    -Wno-dev \
    1.40 +	    -G Ninja \
    1.41 +	..
    1.42 +
    1.43 +	ninja
    1.44 +	DESTDIR=$install ninja install
    1.45 +}
    1.46 +
    1.47 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.48 +genpkg_rules()
    1.49 +{
    1.50 +	mkdir -p $fs/usr/lib
    1.51 +	cp -a $install/usr/bin $fs/usr
    1.52 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.53 +	cp -a $install/usr/lib/clang $fs/usr/lib
    1.54 +	cp -a $install/usr/lib	$fs/usr
    1.55 +	cp -a $install/usr/include $fs/usr
    1.56 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/directx-headers/receipt	Mon Jun 10 19:04:54 2024 +0000
     2.3 @@ -0,0 +1,41 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="directx-headers"
     2.7 +VERSION="1.600.10"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Direct3D 12 headers"
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="https://github.com/microsoft/DirectX-Headers"
    2.14 +WGET_URL="git|https://github.com/microsoft/DirectX-Headers.git"
    2.15 +BRANCH="v$VERSION"
    2.16 +
    2.17 +DEPENDS=""
    2.18 +BUILD_DEPENDS="git meson"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +        mkdir mbuild && cd mbuild
    2.24 +        meson setup \
    2.25 +            --prefix=/usr \
    2.26 +            --libdir=lib \
    2.27 +            --bindir=/usr/bin \
    2.28 +            --sbindir=/usr/sbin \
    2.29 +            --buildtype=release \
    2.30 +	-D build-test=false \
    2.31 +        ..
    2.32 +
    2.33 +        ninja build
    2.34 +        DESTDIR=$install ninja install
    2.35 +}
    2.36 +
    2.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.38 +genpkg_rules()
    2.39 +{
    2.40 +	mkdir -p $fs/usr/lib
    2.41 +	cp -a $install/usr/lib/lib* $fs/usr/lib
    2.42 +	cp -a $install/usr/include $fs/usr
    2.43 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.44 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libclc/receipt	Mon Jun 10 19:04:54 2024 +0000
     3.3 @@ -0,0 +1,38 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libclc"
     3.7 +VERSION="13.0.0"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="OpenCL 1.1 libraries"
    3.10 +MAINTAINER="maintainer@slitaz.org"
    3.11 +LICENSE="MIT"
    3.12 +WEB_SITE="https://libclc.llvm.org/"
    3.13 +TARBALL="$PACKAGE-$VERSION.src.tar.xz"
    3.14 +WGET_URL="https://github.com/llvm/llvm-project/releases/download/llvmorg-$VERSION/$TARBALL"
    3.15 +
    3.16 +BUILD_DEPENDS="clang spirv-llvm-translator cmake"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +        mkdir build && cd build
    3.22 +        CC=gcc CXX=g++ \
    3.23 +        cmake \
    3.24 +            -DCMAKE_INSTALL_PREFIX=/usr \
    3.25 +            -DCMAKE_BUILD_TYPE=Release \
    3.26 +	    -DCMAKE_INSTALL_DATADIR=/usr/lib \
    3.27 +            -Wno-dev \
    3.28 +        ..
    3.29 +
    3.30 +	make
    3.31 +	make DESTDIR=$install install
    3.32 +}
    3.33 +
    3.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.35 +genpkg_rules()
    3.36 +{
    3.37 +        mkdir -p $fs/usr/lib
    3.38 +	cp -a $install/usr/include          $fs/usr
    3.39 +	cp -a $install/usr/lib/clc          $fs/usr/lib
    3.40 +        cp -a $install/usr/lib/pkgconfig    $fs/usr/lib
    3.41 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/libd3d9-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
     4.3 @@ -0,0 +1,19 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="libd3d9-mesa"
     4.7 +VERSION="21.3.5"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="Mesa Direct3D9 API."
    4.10 +MAINTAINER="maintainer@slitaz.org"
    4.11 +LICENSE="MIT"
    4.12 +WEB_SITE="https://www.mesa3d.org/"
    4.13 +
    4.14 +DEPENDS="libdrm mesa-dri"
    4.15 +WANTED="mesa"
    4.16 +
    4.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 +genpkg_rules()
    4.19 +{
    4.20 +        mkdir -p $fs/usr/lib
    4.21 +        cp -a $install/usr/lib/d3d $fs/usr/lib
    4.22 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/libgbm-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
     5.3 @@ -0,0 +1,19 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="libgbm-mesa"
     5.7 +VERSION="21.3.5"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="Mesa gbm library."
    5.10 +MAINTAINER="maintainer@slitaz.org"
    5.11 +LICENSE="MIT"
    5.12 +WEB_SITE="https://www.mesa3d.org/"
    5.13 +
    5.14 +DEPENDS="libdrm"
    5.15 +WANTED="mesa"
    5.16 +
    5.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 +genpkg_rules()
    5.19 +{
    5.20 +        mkdir -p $fs/usr/lib
    5.21 +        cp -a $install/usr/lib/libgbm.so* $fs/usr/lib
    5.22 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/libglapi-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
     6.3 @@ -0,0 +1,19 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="libglapi-mesa"
     6.7 +VERSION="21.3.5"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="OpenGL API library."
    6.10 +MAINTAINER="maintainer@slitaz.org"
    6.11 +LICENSE="MIT"
    6.12 +WEB_SITE="https://www.mesa3d.org/"
    6.13 +
    6.14 +DEPENDS=""
    6.15 +WANTED="mesa"
    6.16 +
    6.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.18 +genpkg_rules()
    6.19 +{
    6.20 +        mkdir -p $fs/usr/lib
    6.21 +        cp -a $install/usr/lib/libglapi.so* $fs/usr/lib
    6.22 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/libglvnd-dev/receipt	Mon Jun 10 19:04:54 2024 +0000
     7.3 @@ -0,0 +1,18 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="libglvnd-dev"
     7.7 +VERSION="1.3.3"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="Vendor neutral GL dispatch library - development files"
    7.10 +MAINTAINER="maintainerd@slitaz.org"
    7.11 +LICENSE="MIT"
    7.12 +WEB_SITE="https://gitlab.freedesktop.org/glvnd/libglvnd"
    7.13 +WANTED="libglvnd"
    7.14 +
    7.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    7.16 +genpkg_rules()
    7.17 +{
    7.18 +	mkdir -p $fs/usr/lib
    7.19 +	cp -a $install/usr/include		$fs/usr
    7.20 +	cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
    7.21 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libglvnd/receipt	Mon Jun 10 19:04:54 2024 +0000
     8.3 @@ -0,0 +1,34 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="libglvnd"
     8.7 +VERSION="1.3.3"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="Vendor neutral GL dispatch library"
    8.10 +MAINTAINER="maintainer@slitaz.org"
    8.11 +LICENSE="MIT"
    8.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.13 +WEB_SITE="https://gitlab.freedesktop.org/glvnd/libglvnd"
    8.14 +WGET_URL="git|https://gitlab.freedesktop.org/glvnd/libglvnd.git"
    8.15 +BRANCH="0f0d49f0"
    8.16 +
    8.17 +DEPENDS=""
    8.18 +BUILD_DEPENDS="git automake libtool xorg-glproto"
    8.19 +
    8.20 +# Rules to configure and make the package.
    8.21 +compile_rules()
    8.22 +{
    8.23 +	NOCONFIGURE=1 ./autogen.sh
    8.24 +	autoreconf -vif
    8.25 +
    8.26 +	./configure \
    8.27 +		--prefix=/usr \
    8.28 +		$CONFIGURE_ARGS &&
    8.29 +	make $MAKEFLAGS && make install
    8.30 +}
    8.31 +
    8.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.33 +genpkg_rules()
    8.34 +{
    8.35 +	mkdir -p $fs/usr/lib
    8.36 +	cp -a $install/usr/lib/lib*so* $fs/usr/lib
    8.37 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/libglx-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
     9.3 @@ -0,0 +1,20 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="libglx-mesa"
     9.7 +VERSION="21.3.5"
     9.8 +CATEGORY="development"
     9.9 +SHORT_DESC="OpenGL GLX vendor library."
    9.10 +MAINTAINER="pascal.bellard@slitaz.org"
    9.11 +LICENSE="MIT"
    9.12 +WEB_SITE="https://www.mesa3d.org/"
    9.13 +
    9.14 +PROVIDE="libglx"
    9.15 +DEPENDS="gcc-lib-base glibc-base mesa"
    9.16 +WANTED="mesa"
    9.17 +
    9.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.19 +genpkg_rules()
    9.20 +{
    9.21 +	mkdir -p $fs/usr/lib
    9.22 +	cp -a $install/usr/lib/libGLX*.so* $fs/usr/lib
    9.23 +}
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/libopencl-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
    10.3 @@ -0,0 +1,21 @@
    10.4 +# SliTaz package receipt.
    10.5 +
    10.6 +PACKAGE="libopencl-mesa"
    10.7 +VERSION="21.3.5"
    10.8 +CATEGORY="x-window"
    10.9 +SHORT_DESC="Mesa OpenCL ICD library."
   10.10 +MAINTAINER="maintainer@slitaz.org"
   10.11 +LICENSE="MIT"
   10.12 +WEB_SITE="https://www.mesa3d.org/"
   10.13 +
   10.14 +DEPENDS="libdrm"
   10.15 +WANTED="mesa"
   10.16 +
   10.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   10.18 +genpkg_rules()
   10.19 +{
   10.20 +        mkdir -p $fs/usr/lib
   10.21 +	cp -a $install/etc $fs
   10.22 +	cp -a $install/usr/lib/gallium-pipe $fs/usr/lib
   10.23 +        cp -a $install/usr/lib/lib*OpenCL*.so* $fs/usr/lib
   10.24 +}
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/libos-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
    11.3 @@ -0,0 +1,19 @@
    11.4 +# SliTaz package receipt.
    11.5 +
    11.6 +PACKAGE="libos-mesa"
    11.7 +VERSION="21.3.5"
    11.8 +CATEGORY="x-window"
    11.9 +SHORT_DESC="Mesa off-screen library."
   11.10 +MAINTAINER="maintainer@slitaz.org"
   11.11 +LICENSE="MIT"
   11.12 +WEB_SITE="https://www.mesa3d.org/"
   11.13 +
   11.14 +DEPENDS="llvm-lib libglapi-mesa"
   11.15 +WANTED="mesa"
   11.16 +
   11.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   11.18 +genpkg_rules()
   11.19 +{
   11.20 +        mkdir -p $fs/usr/lib
   11.21 +        cp -a $install/usr/lib/libOS*.so* $fs/usr/lib
   11.22 +}
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/libva-dev/receipt	Mon Jun 10 19:04:54 2024 +0000
    12.3 @@ -0,0 +1,20 @@
    12.4 +# SliTaz package receipt.
    12.5 +
    12.6 +PACKAGE="libva-dev"
    12.7 +VERSION="2.13.0"
    12.8 +CATEGORY="development"
    12.9 +SHORT_DESC="VA (Video Acceleration API) devel"
   12.10 +MAINTAINER="maintainer@slitaz.org"
   12.11 +LICENSE="MIT"
   12.12 +WANTED="libva"
   12.13 +WEB_SITE="https://github.com/intel/libva"
   12.14 +
   12.15 +DEPENDS="libva"
   12.16 +
   12.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 +genpkg_rules()
   12.19 +{
   12.20 +	mkdir -p $fs/usr/lib
   12.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   12.22 +	cp -a $install/usr/include $fs/usr
   12.23 +}
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/libva/receipt	Mon Jun 10 19:04:54 2024 +0000
    13.3 @@ -0,0 +1,37 @@
    13.4 +# SliTaz package receipt.
    13.5 +
    13.6 +PACKAGE="libva"
    13.7 +VERSION="2.13.0"
    13.8 +CATEGORY="x-window"
    13.9 +SHORT_DESC="VA (Video Acceleration API) library"
   13.10 +MAINTAINER="maintainer@slitaz.org"
   13.11 +LICENSE="MIT"
   13.12 +WEB_SITE="https://github.com/intel/libva"
   13.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.14 +WGET_URL="https://github.com/intel/libva/archive/refs/tags/$VERSION.tar.gz"
   13.15 +
   13.16 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev \
   13.17 +xorg-dev-proto libdrm-dev meson"
   13.18 +
   13.19 +# Rules to configure and make the package.
   13.20 +compile_rules()
   13.21 +{
   13.22 +	mkdir mbuild && cd mbuild
   13.23 +        meson setup \
   13.24 +            --prefix=/usr \
   13.25 +            --libdir=lib \
   13.26 +            --bindir=/usr/bin \
   13.27 +            --sbindir=/usr/sbin \
   13.28 +            --buildtype=release \
   13.29 +	..
   13.30 +
   13.31 +	ninja build
   13.32 +	DESTDIR=$install ninja install
   13.33 +}
   13.34 +
   13.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
   13.36 +genpkg_rules()
   13.37 +{
   13.38 +        mkdir -p $fs/usr/lib
   13.39 +        cp -a $install/usr/lib/*.so*    $fs/usr/lib
   13.40 +}
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/libxatracker-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
    14.3 @@ -0,0 +1,19 @@
    14.4 +# SliTaz package receipt.
    14.5 +
    14.6 +PACKAGE="libxatracker-mesa"
    14.7 +VERSION="21.3.5"
    14.8 +CATEGORY="x-window"
    14.9 +SHORT_DESC="Mesa XA tracker for vmware library."
   14.10 +MAINTAINER="maintainer@slitaz.org"
   14.11 +LICENSE="MIT"
   14.12 +WEB_SITE="https://www.mesa3d.org/"
   14.13 +
   14.14 +DEPENDS="libdrm"
   14.15 +WANTED="mesa"
   14.16 +
   14.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 +genpkg_rules()
   14.19 +{
   14.20 +        mkdir -p $fs/usr/lib
   14.21 +        cp -a $install/usr/lib/libxatracker.so* $fs/usr/lib
   14.22 +}
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/libxvmc-mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
    15.3 @@ -0,0 +1,19 @@
    15.4 +# SliTaz package receipt.
    15.5 +
    15.6 +PACKAGE="libxvmc-mesa"
    15.7 +VERSION="21.3.5"
    15.8 +CATEGORY="x-window"
    15.9 +SHORT_DESC="Mesa XvMC drivers."
   15.10 +MAINTAINER="maintainer@slitaz.org"
   15.11 +LICENSE="MIT"
   15.12 +WEB_SITE="https://www.mesa3d.org/"
   15.13 +
   15.14 +DEPENDS="libdrm llvm-lib libdrm-nouveau libdrm-radeon"
   15.15 +WANTED="mesa"
   15.16 +
   15.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   15.18 +genpkg_rules()
   15.19 +{
   15.20 +        mkdir -p $fs/usr/lib
   15.21 +        cp -a $install/usr/lib/libXvMC*.so* $fs/usr/lib
   15.22 +}
    16.1 --- a/llvm-lib/receipt	Mon Jun 03 16:29:38 2024 +0000
    16.2 +++ b/llvm-lib/receipt	Mon Jun 10 19:04:54 2024 +0000
    16.3 @@ -9,6 +9,8 @@
    16.4  WEB_SITE="https://llvm.org/"
    16.5  WANTED="llvm"
    16.6  
    16.7 +DEPENDS="libatomic libffi libtinfo libxml2"
    16.8 +
    16.9  # Rules to gen a SliTaz package suitable for Tazpkg.
   16.10  genpkg_rules()
   16.11  {
    17.1 --- a/llvm/receipt	Mon Jun 03 16:29:38 2024 +0000
    17.2 +++ b/llvm/receipt	Mon Jun 10 19:04:54 2024 +0000
    17.3 @@ -32,6 +32,7 @@
    17.4  	cmake \
    17.5  	    -DCMAKE_INSTALL_PREFIX=/usr \
    17.6  	    -DLLVM_ENABLE_FFI=ON \
    17.7 +	    -DLLVM_ENABLE_RTTI=ON \
    17.8  	    -DCMAKE_BUILD_TYPE=MinSizeRel \
    17.9  	    -DLLVM_BUILD_LLVM_DYLIB=ON \
   17.10  	    -DLLVM_LINK_LLVM_DYLIB=ON \
    18.1 --- a/mesa-dri-ati/receipt	Mon Jun 03 16:29:38 2024 +0000
    18.2 +++ b/mesa-dri-ati/receipt	Mon Jun 10 19:04:54 2024 +0000
    18.3 @@ -9,7 +9,7 @@
    18.4  WEB_SITE="https://www.mesa3d.org/"
    18.5  
    18.6  #PROVIDE="xorg-xf86-video-ati"
    18.7 -DEPENDS="libdrm-radeon mesa mesa-dri"
    18.8 +DEPENDS="libdrm-radeon mesa-dri"
    18.9  WANTED="mesa"
   18.10  
   18.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    19.1 --- a/mesa-dri-crocus/receipt	Mon Jun 03 16:29:38 2024 +0000
    19.2 +++ b/mesa-dri-crocus/receipt	Mon Jun 10 19:04:54 2024 +0000
    19.3 @@ -8,7 +8,7 @@
    19.4  LICENSE="MIT"
    19.5  WEB_SITE="https://www.mesa3d.org/"
    19.6  
    19.7 -DEPENDS="libdrm-intel mesa mesa-dri"
    19.8 +DEPENDS="libdrm-intel mesa-dri"
    19.9  WANTED="mesa"
   19.10  
   19.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/mesa-dri-d3d12/receipt	Mon Jun 10 19:04:54 2024 +0000
    20.3 @@ -0,0 +1,19 @@
    20.4 +# SliTaz package receipt.
    20.5 +
    20.6 +PACKAGE="mesa-dri-d3d12"
    20.7 +VERSION="21.3.5"
    20.8 +CATEGORY="x-window"
    20.9 +SHORT_DESC="Mesa classic DRI + Gallium3D drivers for D3D12 API."
   20.10 +MAINTAINER="pascal.bellard@slitaz.org"
   20.11 +LICENSE="MIT"
   20.12 +WEB_SITE="https://www.mesa3d.org/"
   20.13 +
   20.14 +DEPENDS="libdrm-nouveau mesa-dri"
   20.15 +WANTED="mesa"
   20.16 +
   20.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   20.18 +genpkg_rules()
   20.19 +{
   20.20 +	mkdir -p $fs/usr/lib/dri
   20.21 +	ln -s kms_swrast_dri.so $fs/usr/lib/dri/d3d12_dri.so
   20.22 +}
    21.1 --- a/mesa-dri-intel/receipt	Mon Jun 03 16:29:38 2024 +0000
    21.2 +++ b/mesa-dri-intel/receipt	Mon Jun 10 19:04:54 2024 +0000
    21.3 @@ -8,7 +8,7 @@
    21.4  LICENSE="MIT"
    21.5  WEB_SITE="https://www.mesa3d.org/"
    21.6  
    21.7 -DEPENDS="libdrm-intel mesa mesa-dri"
    21.8 +DEPENDS="libdrm-intel mesa-dri"
    21.9  WANTED="mesa"
   21.10  
   21.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    22.1 --- a/mesa-dri-iris/receipt	Mon Jun 03 16:29:38 2024 +0000
    22.2 +++ b/mesa-dri-iris/receipt	Mon Jun 10 19:04:54 2024 +0000
    22.3 @@ -8,7 +8,7 @@
    22.4  LICENSE="MIT"
    22.5  WEB_SITE="https://www.mesa3d.org/"
    22.6  
    22.7 -DEPENDS="libdrm-intel mesa mesa-dri"
    22.8 +DEPENDS="libdrm-intel mesa-dri"
    22.9  WANTED="mesa"
   22.10  
   22.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    23.1 --- a/mesa-dri-nouveau/receipt	Mon Jun 03 16:29:38 2024 +0000
    23.2 +++ b/mesa-dri-nouveau/receipt	Mon Jun 10 19:04:54 2024 +0000
    23.3 @@ -8,7 +8,7 @@
    23.4  LICENSE="MIT"
    23.5  WEB_SITE="https://www.mesa3d.org/"
    23.6  
    23.7 -DEPENDS="libdrm-nouveau mesa"
    23.8 +DEPENDS="libdrm-nouveau mesa-dri"
    23.9  WANTED="mesa"
   23.10  
   23.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    24.1 --- a/mesa-dri-virtio/receipt	Mon Jun 03 16:29:38 2024 +0000
    24.2 +++ b/mesa-dri-virtio/receipt	Mon Jun 10 19:04:54 2024 +0000
    24.3 @@ -8,7 +8,7 @@
    24.4  LICENSE="MIT"
    24.5  WEB_SITE="https://www.mesa3d.org/"
    24.6  
    24.7 -DEPENDS="libdrm mesa mesa-dri"
    24.8 +DEPENDS="libdrm mesa-dri"
    24.9  WANTED="mesa"
   24.10  
   24.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    25.1 --- a/mesa-dri-vmwgfx/receipt	Mon Jun 03 16:29:38 2024 +0000
    25.2 +++ b/mesa-dri-vmwgfx/receipt	Mon Jun 10 19:04:54 2024 +0000
    25.3 @@ -8,7 +8,7 @@
    25.4  LICENSE="MIT"
    25.5  WEB_SITE="https://www.mesa3d.org/"
    25.6  
    25.7 -DEPENDS="expat libdrm linux-agp linux-drm mesa mesa-dri"
    25.8 +DEPENDS="expat libdrm linux-agp linux-drm mesa-dri"
    25.9  WANTED="mesa"
   25.10  
   25.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    26.1 --- a/mesa-dri/receipt	Mon Jun 03 16:29:38 2024 +0000
    26.2 +++ b/mesa-dri/receipt	Mon Jun 10 19:04:54 2024 +0000
    26.3 @@ -10,7 +10,7 @@
    26.4  
    26.5  DEPENDS="expat libdrm linux-agp llvm-lib \
    26.6  linux-drm libdrm-amdgpu libdrm-radeon \
    26.7 -libdrm-nouveau libdrm-intel"
    26.8 +libdrm-nouveau libdrm-intel libglapi-mesa"
    26.9  WANTED="mesa"
   26.10  
   26.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/mesa-va/receipt	Mon Jun 10 19:04:54 2024 +0000
    27.3 @@ -0,0 +1,23 @@
    27.4 +# SliTaz package receipt.
    27.5 +
    27.6 +PACKAGE="mesa-va"
    27.7 +VERSION="21.3.5"
    27.8 +CATEGORY="x-window"
    27.9 +SHORT_DESC="Mesa VA-API drivers."
   27.10 +MAINTAINER="maintainer@slitaz.org"
   27.11 +LICENSE="MIT"
   27.12 +WEB_SITE="https://www.mesa3d.org/"
   27.13 +
   27.14 +DEPENDS="llvm-lib libdrm-radeon libdrm-nouveau libdrm-amdgpu"
   27.15 +WANTED="mesa"
   27.16 +
   27.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   27.18 +genpkg_rules()
   27.19 +{
   27.20 +        mkdir -p $fs/usr/lib/dri
   27.21 +	cp -a $install/usr/lib/dri/nouveau_drv_video.so $fs/usr/lib/dri/va_drv_video.so
   27.22 +
   27.23 +	for drv in "nouveau" "r300" "r600" "radeonsi"; do
   27.24 +	    ln -s va_drv_video.so $fs/usr/lib/dri/"$drv"_drv_video.so 
   27.25 +	done
   27.26 +}
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/mesa-vdpau/receipt	Mon Jun 10 19:04:54 2024 +0000
    28.3 @@ -0,0 +1,27 @@
    28.4 +# SliTaz package receipt.
    28.5 +
    28.6 +PACKAGE="mesa-vdpau"
    28.7 +VERSION="21.3.5"
    28.8 +CATEGORY="x-window"
    28.9 +SHORT_DESC="Mesa VDPAU drivers."
   28.10 +MAINTAINER="maintainer@slitaz.org"
   28.11 +LICENSE="MIT"
   28.12 +WEB_SITE="https://www.mesa3d.org/"
   28.13 +
   28.14 +DEPENDS="llvm-lib libdrm-nouveau libdrm-amdgpu"
   28.15 +WANTED="mesa"
   28.16 +
   28.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   28.18 +genpkg_rules()
   28.19 +{
   28.20 +        mkdir -p $fs/usr/lib/vdpau
   28.21 +
   28.22 +        cp -a $install/usr/lib/vdpau/libvdpau_nouveau.so.1.0.0 \
   28.23 +	    $fs/usr/lib/vdpau/libvdpau_drv.so
   28.24 +
   28.25 +        for drv in "nouveau" "r300" "r600" "radeonsi"; do
   28.26 +            ln -s libvdpau_drv.so $fs/usr/lib/vdpau/"$drv"_drv_video.so.1.0.0
   28.27 +	    ln -s libvdpau_drv.so $fs/usr/lib/vdpau/"$drv"_drv_video.so.1.0
   28.28 +	    ln -s libvdpau_drv.so $fs/usr/lib/vdpau/"$drv"_drv_video.so
   28.29 +        done
   28.30 +}
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/mesa-vulkan/receipt	Mon Jun 10 19:04:54 2024 +0000
    29.3 @@ -0,0 +1,20 @@
    29.4 +# SliTaz package receipt.
    29.5 +
    29.6 +PACKAGE="mesa-vulkan"
    29.7 +VERSION="21.3.5"
    29.8 +CATEGORY="development"
    29.9 +SHORT_DESC="Mesa Vulkan drivers."
   29.10 +MAINTAINER="maintainer@slitaz.org"
   29.11 +LICENSE="MIT"
   29.12 +WEB_SITE="https://www.mesa3d.org/"
   29.13 +
   29.14 +DEPENDS="libdrm llvm-lib"
   29.15 +WANTED="mesa"
   29.16 +
   29.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
   29.18 +genpkg_rules()
   29.19 +{
   29.20 +        mkdir -p $fs/usr/lib
   29.21 +	cp -a $install/usr/lib/libVk*.so* $fs/usr/lib
   29.22 +        cp -a $install/usr/lib/libvulkan*.so* $fs/usr/lib
   29.23 +}
    30.1 --- a/mesa/receipt	Mon Jun 03 16:29:38 2024 +0000
    30.2 +++ b/mesa/receipt	Mon Jun 10 19:04:54 2024 +0000
    30.3 @@ -2,7 +2,7 @@
    30.4  
    30.5  PACKAGE="mesa"
    30.6  VERSION="21.3.5"
    30.7 -CATEGORY="x-window"
    30.8 +CATEGORY="meta"
    30.9  SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
   30.10  MAINTAINER="pascal.bellard@slitaz.org"
   30.11  LICENSE="MIT"
   30.12 @@ -13,16 +13,18 @@
   30.13  PROVIDE="mesa"
   30.14  
   30.15  DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt \
   30.16 -xorg-libxshmfence udev libvdpau" #libpthread-stubs
   30.17 +xorg-libxshmfence udev" #libpthread-stubs
   30.18 +
   30.19 +DEPENDS="libegl-mesa libgbm-mesa libglapi-mesa libglx-mesa \
   30.20 +libopencl-mesa libos-mesa libxvmc-mesa libxatracker-mesa mesa-vulkan"
   30.21  
   30.22  BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
   30.23  xorg-libXxf86vm-dev xorg-libXt-dev xorg-libXvMC-dev xorg-libXv-dev \
   30.24  xorg-dri2proto xorg-glproto talloc xorg-makedepend lesstif-dev \
   30.25  libxml2-python xorg-imake xorg-libxshmfence-dev udev-dev file \
   30.26 -xorg-libpciaccess-dev libtool llvm meson054 python3-mako libvdpau-dev \
   30.27 -elfutils-dev"
   30.28 -# libpthread-stubs-dev llvm  xorg-dri3proto xorg-presentproto
   30.29 -# --with-gallium-drivers= \
   30.30 +xorg-libpciaccess-dev libtool meson054 llvm python3-mako libvdpau-dev \
   30.31 +elfutils-dev libglvnd-dev directx-headers libclc libva-dev clang polly cmake"
   30.32 +# libpthread-stubs-dev xorg-dri3proto xorg-presentproto
   30.33  
   30.34  # What is the latest version available today?
   30.35  current_version()
   30.36 @@ -35,15 +37,16 @@
   30.37  compile_rules()
   30.38  {
   30.39  	DRI_DRIVERS="i915,i965,r100,r200,nouveau"
   30.40 -	GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast,virgl,iris,crocus"
   30.41 -
   30.42 +	GALLIUM_DRIVERS="nouveau,r300,r600,svga,radeonsi,swrast,virgl,iris,crocus,d3d12"
   30.43  
   30.44  	# Use meson 0.54, issue with meson 0.62
   30.45  	# see https://gitlab.freedesktop.org/mesa/mesa/-/issues/5576
   30.46  
   30.47 -	# Disable vulkan drivers, seem issue with i486
   30.48 +	# use CFLAGS with arch i586 instead i486
   30.49  	# see https://bugs.freedesktop.org/show_bug.cgi?id=93089
   30.50 -	VULKAN_DRIVERS=""
   30.51 +	export CFLAGS="-march=i586 -Os -pipe -fomit-frame-pointer"
   30.52 +	export CXXFLAGS="$CFLAGS"
   30.53 +	VULKAN_DRIVERS="amd,intel,swrast"
   30.54  
   30.55  	meson _build \
   30.56              --prefix=/usr \
   30.57 @@ -54,9 +57,11 @@
   30.58  	-Dplatforms=x11 \
   30.59  	-Ddri-drivers=$DRI_DRIVERS \
   30.60  	-Dgallium-drivers=$GALLIUM_DRIVERS \
   30.61 +	-Dgallium-nine=true \
   30.62 +	-Dgallium-opencl=icd \
   30.63  	-Dvulkan-drivers=$VULKAN_DRIVERS \
   30.64  	-Dvulkan-layers=device-select \
   30.65 -	-Dglvnd=false \
   30.66 +	-Dglvnd=true \
   30.67  	-Dllvm=enabled \
   30.68  	-Dshared-llvm=enabled \
   30.69  	-Dshared-glapi=enabled \
   30.70 @@ -64,6 +69,7 @@
   30.71  	-Dgles1=enabled \
   30.72  	-Dgles2=enabled \
   30.73  	-Dopengl=true \
   30.74 +	-Dosmesa=true \
   30.75  	-Dglx=dri \
   30.76  	-Dstrip=true
   30.77  
   30.78 @@ -76,6 +82,11 @@
   30.79  {
   30.80          mkdir -p $fs/usr/lib
   30.81          cp -a $install/usr/lib/*.so*    $fs/usr/lib
   30.82 -        #cp -a $install/usr/include              $fs/usr
   30.83 -        #cp -a $install/usr/lib/pkgconfig        $fs/usr/lib
   30.84 +
   30.85 +	# Remove libs provide by others mesa split
   30.86 +	rm $fs/usr/lib/libEGL*.so* $fs/usr/lib/libGLX*.so*
   30.87 +	rm $fs/usr/lib/libOS*.so* $fs/usr/lib/libglapi.so*
   30.88 +	rm $fs/usr/lib/libvulkan*.so* $fs/usr/lib/libVk*.so*
   30.89 +	rm $fs/usr/lib/libgbm.so* $fs/usr/lib/libxatracker.so*
   30.90 +	rm $fs/usr/lib/lib*OpenCL* $fs/usr/lib/libXvMC*.so*
   30.91  }
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/spirv-headers/receipt	Mon Jun 10 19:04:54 2024 +0000
    31.3 @@ -0,0 +1,39 @@
    31.4 +# SliTaz package receipt.
    31.5 +
    31.6 +PACKAGE="spirv-headers"
    31.7 +VERSION="1.3.283.0"
    31.8 +CATEGORY="development"
    31.9 +SHORT_DESC="Direct3D 12 headers"
   31.10 +MAINTAINER="maintainer@slitaz.org"
   31.11 +LICENSE="MIT"
   31.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
   31.13 +WEB_SITE="https://github.com/KhronosGroup/SPIRV-Headers"
   31.14 +WGET_URL="https://github.com/KhronosGroup/SPIRV-Headers/archive/refs/tags/vulkan-sdk-$VERSION/$TARBALL"
   31.15 +
   31.16 +DEPENDS=""
   31.17 +BUILD_DEPENDS="cmake"
   31.18 +
   31.19 +# Rules to configure and make the package.
   31.20 +compile_rules()
   31.21 +{
   31.22 +	mkdir build && cd build
   31.23 +
   31.24 +        cmake \
   31.25 +            -DCMAKE_INSTALL_PREFIX=/usr \
   31.26 +            -DCMAKE_BUILD_TYPE=Release \
   31.27 +	    -DLIB_INSTALL_DIR=/usr/lib \
   31.28 +	    -DCMAKE_INSTALL_DATADIR=/usr/lib \
   31.29 +            -Wno-dev \
   31.30 +        ..
   31.31 +
   31.32 +	make
   31.33 +	make DESTDIR=$install install
   31.34 +}
   31.35 +
   31.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
   31.37 +genpkg_rules()
   31.38 +{
   31.39 +	mkdir -p $fs/usr/lib
   31.40 +	cp -a $install/usr/include $fs/usr
   31.41 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   31.42 +}
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/spirv-llvm-translator/receipt	Mon Jun 10 19:04:54 2024 +0000
    32.3 @@ -0,0 +1,49 @@
    32.4 +# SliTaz package receipt.
    32.5 +
    32.6 +PACKAGE="spirv-llvm-translator"
    32.7 +VERSION="13.0.1"
    32.8 +CATEGORY="development"
    32.9 +SHORT_DESC="LLVM/SPIR-V Bi-Directional Translator"
   32.10 +MAINTAINER="maintainer@slitaz.org"
   32.11 +LICENSE="MIT"
   32.12 +WEB_SITE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/"
   32.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   32.14 +WGET_URL="https://github.com/KhronosGroup/SPIRV-LLVM-Translator/archive/refs/tags/v$VERSION.tar.gz"
   32.15 +
   32.16 +DEPENDS="llvm"
   32.17 +BUILD_DEPENDS="cmake llvm spirv-headers"
   32.18 +
   32.19 +# What is the latest version available today?
   32.20 +current_version()
   32.21 +{
   32.22 +	wget -O - https://github.com/llvm/llvm-project/releases 2>/dev/null | \
   32.23 +	sed '/-rc/d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   32.24 +}
   32.25 +
   32.26 +# Rules to configure and make the package.
   32.27 +compile_rules()
   32.28 +{
   32.29 +        mkdir build && cd build
   32.30 +        cmake \
   32.31 +            -DCMAKE_INSTALL_PREFIX=/usr \
   32.32 +	    -DBUILD_SHARED_LIBS=ON \
   32.33 +	    -DLLVM_INCLUDE_TESTS=OFF \
   32.34 +	    -DCMAKE_BUILD_TYPE=Release \
   32.35 +	    -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR=/usr/include/spirv \
   32.36 +	    -G 'Unix Makefiles' \
   32.37 +	    -Wno-dev \
   32.38 +	..
   32.39 +
   32.40 +	make
   32.41 +	make llvm-spirv
   32.42 +	make install DESTDIR=$install
   32.43 +}
   32.44 +
   32.45 +# Rules to gen a SliTaz package suitable for Tazpkg.
   32.46 +genpkg_rules()
   32.47 +{
   32.48 +	mkdir -p $fs/usr/bin
   32.49 +	cp -a $src/build/tools/llvm-spirv/llvm-spirv $fs/usr/bin
   32.50 +	cp -a $install/usr/lib $fs/usr
   32.51 +	#cp -a $install/usr/include $fs/usr
   32.52 +}