From d613f2966b9aead18ea0f95f1d48b7a062555e2f Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sun, 8 Nov 2020 11:49:50 +0000 Subject: libvdpau-va-gl: updated cmake syntax --- libvdpau-va-gl/.signature | 4 ++-- libvdpau-va-gl/Pkgfile | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'libvdpau-va-gl') diff --git a/libvdpau-va-gl/.signature b/libvdpau-va-gl/.signature index 77fa4c4a2..77c0f23fa 100644 --- a/libvdpau-va-gl/.signature +++ b/libvdpau-va-gl/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF38UYZ9P8GtgxH1UaK6r16GB0oM4XP7BTiuPiLwzdl2Hamhpak/VNA8K16mcXQTIxut4G1NIxUyDs4u/xH9NJOA8= -SHA256 (Pkgfile) = 899b5602479444b21b327c379bbeea5d9e85205460f498b12d63cc49f43c4186 +RWSagIOpLGJF3/HQf/9I/NfKGsUG+9Ieisri81MdbZasVBKLkyi4dlxe+VMLPj/Yb4eSqe7I/9CEyzKJNcNP5E0t2/LzQ6ZY+Qs= +SHA256 (Pkgfile) = 2877b6697a51036618f5c1c7d59a1bae7b951365635b9c85fa1430dbfb6b42a2 SHA256 (.footprint) = aa9a5c50ec20618e02369ba1811a3ade9cb8150181e9d538b82850d9bcb331d5 SHA256 (libvdpau-va-gl-0.4.2.tar.gz) = 7d9121540658eb0244859e63da171ca3869e784afbeaf202f44471275c784af4 diff --git a/libvdpau-va-gl/Pkgfile b/libvdpau-va-gl/Pkgfile index 6f8b08d56..b05050e47 100644 --- a/libvdpau-va-gl/Pkgfile +++ b/libvdpau-va-gl/Pkgfile @@ -9,9 +9,12 @@ release=1 source=(https://github.com/i-rinat/libvdpau-va-gl/archive/v$version/$name-$version.tar.gz) build() { - cmake -S$name-$version -Bbuild -GNinja \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr + cmake -S $name-$version -B build -G Ninja \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \ + -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build } -- cgit v1.2.3