mesa-demos: revbump for libOSMesa removal

- distfiles changed to
https://archive.mesa3d.org/demos/mesa-demos-${version}.tar.xz
- move new 'identity' binary to 'mesa-identity'
it conflicts with the 'identity' package
This commit is contained in:
zlice 2025-05-20 16:19:53 -04:00 committed by classabbyamp
parent 923115fcba
commit 6cd7a53109

View file

@ -1,7 +1,7 @@
# Template file for 'mesa-demos' # Template file for 'mesa-demos'
pkgname=mesa-demos pkgname=mesa-demos
version=9.0.0 version=9.0.0
revision=1 revision=2
build_style=meson build_style=meson
configure_args="-Dwith-system-data-files=true" configure_args="-Dwith-system-data-files=true"
hostmakedepends="pkg-config glslang wayland-devel" hostmakedepends="pkg-config glslang wayland-devel"
@ -12,11 +12,12 @@ short_desc="Mesa 3D demos and tools"
maintainer="John <me@johnnynator.dev>" maintainer="John <me@johnnynator.dev>"
license="MIT" license="MIT"
homepage="https://gitlab.freedesktop.org/mesa/demos" homepage="https://gitlab.freedesktop.org/mesa/demos"
distfiles="https://mesa.freedesktop.org/archive/demos/mesa-demos-${version}.tar.xz" distfiles="https://archive.mesa3d.org/demos/mesa-demos-${version}.tar.xz"
checksum=3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b checksum=3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b
post_install() { post_install() {
sed -n '2,20p' src/vulkan/vkgears.c > LICENSE.MIT sed -n '2,20p' src/vulkan/vkgears.c > LICENSE.MIT
mv ${DESTDIR}/usr/bin/identity ${DESTDIR}/usr/bin/mesa-identity
vlicense LICENSE.MIT vlicense LICENSE.MIT
} }