1
0
forked from ports/contrib

libvdpau-va-gl: fixed cmake flags

This commit is contained in:
Tim Biermann 2020-12-06 23:57:57 +00:00
parent d09bba64ba
commit d605e1037b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/HQf/9I/NfKGsUG+9Ieisri81MdbZasVBKLkyi4dlxe+VMLPj/Yb4eSqe7I/9CEyzKJNcNP5E0t2/LzQ6ZY+Qs=
SHA256 (Pkgfile) = 2877b6697a51036618f5c1c7d59a1bae7b951365635b9c85fa1430dbfb6b42a2
RWSagIOpLGJF3wVFGP1HlLRxghhuY+qxa0QqOC1RPdCxOz9VzD7dj4u+pCBdZGfwNW74rzr3aboAdy0giGjLljM8+LrF/8zT1AM=
SHA256 (Pkgfile) = b5f423ae1efe90f0daa7186cb34cb6aa2fa8c2a0c12c6eff4deebc4f6be3e9b9
SHA256 (.footprint) = aa9a5c50ec20618e02369ba1811a3ade9cb8150181e9d538b82850d9bcb331d5
SHA256 (libvdpau-va-gl-0.4.2.tar.gz) = 7d9121540658eb0244859e63da171ca3869e784afbeaf202f44471275c784af4

View File

@ -12,8 +12,8 @@ build() {
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" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build