forked from ports/compat-32
mesa3d-32: 18.3.6 -> 19.0.5
This commit is contained in:
parent
7be70c071d
commit
e5fc3281df
@ -13,43 +13,29 @@ drwxr-xr-x root/root usr/lib32/dri/
|
||||
-rwxr-xr-x root/root usr/lib32/dri/radeonsi_dri.so
|
||||
-rwxr-xr-x root/root usr/lib32/dri/swrast_dri.so
|
||||
-rwxr-xr-x root/root usr/lib32/dri/vmwgfx_dri.so
|
||||
-rwxr-xr-x root/root usr/lib32/libEGL_mesa.la
|
||||
lrwxrwxrwx root/root usr/lib32/libEGL_mesa.so -> libEGL_mesa.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libEGL_mesa.so -> libEGL_mesa.so.0
|
||||
lrwxrwxrwx root/root usr/lib32/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libEGL_mesa.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libGLX_indirect.so.0 -> libGLX_mesa.so.0
|
||||
-rwxr-xr-x root/root usr/lib32/libGLX_mesa.la
|
||||
lrwxrwxrwx root/root usr/lib32/libGLX_mesa.so -> libGLX_mesa.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libGLX_mesa.so -> libGLX_mesa.so.0
|
||||
lrwxrwxrwx root/root usr/lib32/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libGLX_mesa.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libOSMesa.la
|
||||
lrwxrwxrwx root/root usr/lib32/libOSMesa.so -> libOSMesa.so.8.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libOSMesa.so -> libOSMesa.so.8
|
||||
lrwxrwxrwx root/root usr/lib32/libOSMesa.so.8 -> libOSMesa.so.8.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libOSMesa.so.8.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCnouveau.so -> libXvMCnouveau.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCnouveau.so.1 -> libXvMCnouveau.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCnouveau.so.1.0 -> libXvMCnouveau.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libXvMCnouveau.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCr600.so -> libXvMCr600.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCr600.so.1 -> libXvMCr600.so.1.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libXvMCr600.so.1.0 -> libXvMCr600.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libXvMCr600.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libgbm.la
|
||||
lrwxrwxrwx root/root usr/lib32/libgbm.so -> libgbm.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libXvMCnouveau.so
|
||||
-rwxr-xr-x root/root usr/lib32/libXvMCr600.so
|
||||
lrwxrwxrwx root/root usr/lib32/libgbm.so -> libgbm.so.1
|
||||
lrwxrwxrwx root/root usr/lib32/libgbm.so.1 -> libgbm.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libgbm.so.1.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libglapi.la
|
||||
lrwxrwxrwx root/root usr/lib32/libglapi.so -> libglapi.so.0.0.0
|
||||
lrwxrwxrwx root/root usr/lib32/libglapi.so -> libglapi.so.0
|
||||
lrwxrwxrwx root/root usr/lib32/libglapi.so.0 -> libglapi.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libglapi.so.0.0.0
|
||||
-rwxr-xr-x root/root usr/lib32/libvulkan_intel.la
|
||||
-rwxr-xr-x root/root usr/lib32/libvulkan_intel.so
|
||||
-rwxr-xr-x root/root usr/lib32/libvulkan_radeon.la
|
||||
-rwxr-xr-x root/root usr/lib32/libvulkan_radeon.so
|
||||
-rwxr-xr-x root/root usr/lib32/libxatracker.la
|
||||
lrwxrwxrwx root/root usr/lib32/libxatracker.so -> libxatracker.so.2.4.0
|
||||
lrwxrwxrwx root/root usr/lib32/libxatracker.so.2 -> libxatracker.so.2.4.0
|
||||
-rwxr-xr-x root/root usr/lib32/libxatracker.so.2.4.0
|
||||
lrwxrwxrwx root/root usr/lib32/libxatracker.so -> libxatracker.so.2
|
||||
lrwxrwxrwx root/root usr/lib32/libxatracker.so.2 -> libxatracker.so.2.5.0
|
||||
-rwxr-xr-x root/root usr/lib32/libxatracker.so.2.5.0
|
||||
drwxr-xr-x root/root usr/lib32/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/dri.pc
|
||||
-rw-r--r-- root/root usr/lib32/pkgconfig/egl.pc
|
||||
|
@ -1,5 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/compat-32.pub
|
||||
RWSwxGo/zH7eXcJbvBG3758qgR0nmndqT8bgdBoyazh/mrZWm3/A2Fp3oHsCsyQDQ8dv2qE3/aDlkw01G+PF3hfHPuYTi/cGhQA=
|
||||
SHA256 (Pkgfile) = a94714522853e61315b08e7a3f70fefdf652dfe76e4bb1d6b7ae496621bda0aa
|
||||
SHA256 (.footprint) = db856afcc51c9dd3820f7872f7422bc9ecfc8390f5158a73ded6a6a5494b9269
|
||||
SHA256 (mesa-18.3.6.tar.xz) = aaf17638dcf5a90b93b6389e152fdc9ef147768b09598f24d2c5cf482fcfc705
|
||||
RWSwxGo/zH7eXTcuDAvzg9YPKBdsvnUbo0HXUxI6GF2Lzx2sdh7Qsm9W5zaqlRR5tlzhzZdS2J5QoFkhvkOJRsBKH9NaMRx0xgs=
|
||||
SHA256 (Pkgfile) = cfec208c8fb7fb98bd0e65ccd128555ffdda489f95098899eac3e42f38570151
|
||||
SHA256 (.footprint) = 6f1047e4d869a5578a2f6d57b600e69861f3ee55964d61a9cec65d60db93a100
|
||||
SHA256 (mesa-19.0.5.tar.xz) = 6aecb7f67c136768692fb3c33a54196186c6c4fcafab7973516a355e1a54f831
|
||||
SHA256 (x86-linux-gnu) = 448877bbe3efe8bdfe6282c8e730fe8a8b6bf3c07f659e71b7292aceca22d8bd
|
||||
|
@ -4,44 +4,33 @@
|
||||
# Depends on: elfutils-32 expat-32 libdrm-32 libglvnd-32 libvdpau-32 llvm-32 xorg-libxdamage-32 xorg-libxshmfence-32 xorg-libxvmc-32 xorg-libxxf86vm-32 xorg-libxrandr-32 mesa3d
|
||||
|
||||
name=mesa3d-32
|
||||
version=18.3.6
|
||||
version=19.0.5
|
||||
release=1
|
||||
source=(https://mesa.freedesktop.org/archive/mesa-$version.tar.xz)
|
||||
source=(https://mesa.freedesktop.org/archive/mesa-$version.tar.xz
|
||||
x86-linux-gnu)
|
||||
|
||||
build() {
|
||||
cd mesa-$version
|
||||
|
||||
local f
|
||||
for f in $(grep -r -l llvm-config | xargs); do
|
||||
sed -i -e 's|llvm-config|llvm-config-32|g' $f
|
||||
done
|
||||
|
||||
autoreconf --force --install --symlink
|
||||
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
./configure \
|
||||
meson build \
|
||||
--cross-file=$SRC/x86-linux-gnu \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--libdir=/usr/lib32 \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--enable-llvm \
|
||||
--enable-gbm \
|
||||
--enable-gles1 \
|
||||
--enable-gles2 \
|
||||
--enable-glx-tls \
|
||||
--enable-osmesa \
|
||||
--enable-texture-float \
|
||||
--enable-xa \
|
||||
--enable-vdpau \
|
||||
--enable-llvm-shared-libs \
|
||||
--disable-dependency-tracking \
|
||||
--with-platforms=x11,drm \
|
||||
--with-gallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau \
|
||||
--with-vulkan-drivers=intel,radeon \
|
||||
--enable-libglvnd
|
||||
--sysconfdir=/etc \
|
||||
-Dllvm=true \
|
||||
-Dgbm=true \
|
||||
-Dgles1=true \
|
||||
-Dgles2=true \
|
||||
-Dosmesa=gallium \
|
||||
-Dgallium-xa=true \
|
||||
-Dgallium-vdpau=true \
|
||||
-Dshared-llvm=true \
|
||||
-Dplatforms=x11,drm \
|
||||
-Dgallium-drivers=r300,r600,svga,swrast,radeonsi,nouveau \
|
||||
-Dvulkan-drivers=amd,intel \
|
||||
-Dglvnd=true
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
|
||||
|
||||
# indirect rendering symlink
|
||||
ln -s libGLX_mesa.so.0 $PKG/usr/lib32/libGLX_indirect.so.0
|
||||
|
19
mesa3d-32/x86-linux-gnu
Normal file
19
mesa3d-32/x86-linux-gnu
Normal file
@ -0,0 +1,19 @@
|
||||
[binaries]
|
||||
c = '/usr/bin/gcc'
|
||||
cpp = '/usr/bin/g++'
|
||||
ar = '/usr/bin/gcc-ar'
|
||||
strip = '/usr/bin/strip'
|
||||
pkgconfig = '/usr/bin/pkg-config'
|
||||
llvm-config = '/usr/bin/llvm-config-32'
|
||||
|
||||
[properties]
|
||||
c_args = ['-m32']
|
||||
c_link_args = ['-m32']
|
||||
cpp_args = ['-m32']
|
||||
cpp_link_args = ['-m32']
|
||||
|
||||
[host_machine]
|
||||
system = 'linux'
|
||||
cpu_family = 'x86'
|
||||
cpu = 'i686'
|
||||
endian = 'little'
|
Loading…
x
Reference in New Issue
Block a user