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
|
2020-05-25 12:28:51 +02:00
|
|
|
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 \
|
2020-12-07 00:57:57 +01:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-08 12:49:50 +01:00
|
|
|
-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
|
|
|
}
|