summaryrefslogtreecommitdiff
path: root/libvdpau-va-gl/Pkgfile
blob: b05050e478472ad881b983a3de4e52f5203031df (plain)
    1 # Description: VDPAU driver for OpenGL/VAAPI
    2 # URL: https://github.com/i-rinat/libvdpau-va-gl
    3 # Maintainer: Thomas Penteker, tek at serverop dot de
    4 # Depends on: cmake libglvnd libva
    5 
    6 name=libvdpau-va-gl
    7 version=0.4.2
    8 release=1
    9 source=(https://github.com/i-rinat/libvdpau-va-gl/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12   cmake -S $name-$version -B build -G Ninja \
   13     -D CMAKE_INSTALL_PREFIX=/usr \
   14     -D CMAKE_BUILD_TYPE=Release \
   15     -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
   16     -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
   17     -Wno-dev
   18   cmake --build build
   19   DESTDIR=$PKG cmake --install build
   20 }

Generated by cgit