[arch-commits] Commit in directx-headers/repos (extra-x86_64 extra-x86_64/PKGBUILD)

Laurent Carlier lcarlier at gemini.archlinux.org
Fri Dec 31 09:17:34 UTC 2021


    Date: Friday, December 31, 2021 @ 09:17:34
  Author: lcarlier
Revision: 433277

archrelease: copy trunk to extra-x86_64

Added:
  directx-headers/repos/extra-x86_64/
  directx-headers/repos/extra-x86_64/PKGBUILD
    (from rev 433276, directx-headers/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: directx-headers/repos/extra-x86_64/PKGBUILD (from rev 433276, directx-headers/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2021-12-31 09:17:34 UTC (rev 433277)
@@ -0,0 +1,26 @@
+# Maintainer: Laurent Carlier <lordheavym at archlinux.org>
+# Contributor: Cyano Hao <c at cyano.cn>
+
+pkgname=directx-headers
+pkgdesc="DirectX headers for using D3D12"
+pkgver=1.4.9
+pkgrel=1
+arch=('x86_64')
+makedepends=('meson')
+url="https://github.com/microsoft/DirectX-Headers"
+license=('MIT')
+source=(https://github.com/microsoft/DirectX-Headers/archive/refs/tags/v${pkgver}.tar.gz)
+sha256sums=('a30fb05ba012343a7aa42afb5c32c6474f15c18d3650438ecee7ce2092806195')
+
+build() {
+  # LTO breaks mesa...
+  export CXXFLAGS="$CXXFLAGS -fno-lto"
+
+  arch-meson DirectX-Headers-$pkgver build \
+    -Dbuild-test=false
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list