2023-06-07 21:53:43 +02:00
|
|
|
# Description: Official DirectX headers available under an open source license
|
|
|
|
# URL: https://github.com/microsoft/DirectX-Headers
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
|
|
|
|
name=directx-headers
|
2024-03-22 01:39:10 +01:00
|
|
|
version=1.613.1
|
2023-06-07 21:53:43 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/microsoft/DirectX-Headers/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
meson setup DirectX-Headers-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=false \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D build-test=false
|
|
|
|
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
}
|