diff options
author | Tim Biermann <tbier@posteo.de> | 2020-11-08 11:49:50 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-11-08 13:41:14 +0000 |
commit | d613f2966b9aead18ea0f95f1d48b7a062555e2f (patch) | |
tree | 0a64438d98ade481a64f712ff03ff6ef5575236e /libvdpau-va-gl | |
parent | 90f7de16dca741644362d8568c1cee462be1f7b4 (diff) | |
download | contrib-d613f2966b9aead18ea0f95f1d48b7a062555e2f.tar.gz contrib-d613f2966b9aead18ea0f95f1d48b7a062555e2f.tar.xz |
libvdpau-va-gl: updated cmake syntax
Diffstat (limited to 'libvdpau-va-gl')
-rw-r--r-- | libvdpau-va-gl/.signature | 4 | ||||
-rw-r--r-- | libvdpau-va-gl/Pkgfile | 9 |
2 files changed, 8 insertions, 5 deletions
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 } |