2012-11-21 11:12:43 -06:00
|
|
|
# Description: Mesa 3D demos
|
2020-06-17 19:38:34 -05:00
|
|
|
# URL: https://www.mesa3d.org/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2022-06-16 21:50:26 +02:00
|
|
|
# Depends on: glew-32 glu-32 libglvnd-32
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
name=mesa-demos-32
|
2023-03-26 18:55:47 +02:00
|
|
|
version=9.0.0
|
2013-03-07 22:05:51 +11:00
|
|
|
release=1
|
2023-03-26 18:55:47 +02:00
|
|
|
source=(https://archive.mesa3d.org/demos/${name%-*}-$version.tar.xz)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2022-06-16 21:50:26 +02:00
|
|
|
meson setup ${name%-*}-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D gles1=disabled \
|
|
|
|
-D with-system-data-files=true \
|
|
|
|
-D osmesa=disabled
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2022-06-16 21:50:26 +02:00
|
|
|
local i
|
|
|
|
for i in $PKG/usr/bin/*; do mv "$i" "$i"-32; done
|
2012-11-21 11:12:43 -06:00
|
|
|
|
2022-06-16 21:50:26 +02:00
|
|
|
rm -r $PKG/usr/share/
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|