contrib/libvdpau-va-gl/Pkgfile

21 lines
623 B
Plaintext
Raw Normal View History

2013-10-05 15:29:26 +02:00
# Description: VDPAU driver for OpenGL/VAAPI
2020-05-24 16:15:44 +02:00
# URL: https://github.com/i-rinat/libvdpau-va-gl
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: cmake libglvnd libva
2013-10-05 15:29:26 +02:00
name=libvdpau-va-gl
2017-05-08 01:11:05 +02:00
version=0.4.2
2013-10-05 15:29:26 +02:00
release=1
source=(https://github.com/i-rinat/libvdpau-va-gl/archive/v$version/$name-$version.tar.gz)
2013-10-05 15:29:26 +02:00
build() {
2020-11-08 12:49:50 +01:00
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
2020-05-24 16:15:44 +02:00
cmake --build build
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
2013-10-05 15:29:26 +02:00
}