🔒 Repository is read-only – file editing is disabled.

recipes/utils/libvpl/PAGBUILD.yaml main

37 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637
pkgname: libvpl
pkgver: '2023.4.0'
pkgrel: 1
pkgdesc: Intel Video Processing Library
url: 'https://intel.github.io/libvpl/'
arch: x86_64
license:
- MIT
depends: []
makedepends:
- cmake
source:
- 'https://github.com/intel/libvpl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
  export CFLAGS+=' -DNDEBUG'
  export CXXFLAGS+=' -DNDEBUG'
  cmake -B build -S "libvpl-${pkgver}" \
  -G 'Unix Makefiles' \
  -DCMAKE_BUILD_TYPE:STRING='None' \
  -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
  -DCMAKE_INSTALL_SYSCONFDIR:PATH='/etc' \
  -DBUILD_EXAMPLES:BOOL='OFF' \
  -DBUILD_TESTS:BOOL='ON' \
  -DCMAKE_CXX_FLAGS:STRING='-include cstdint' \
  -DVPL_INSTALL_LICENSEDIR:PATH="share/licenses/${pkgname}" \
  -Wno-dev

  cmake --build build

  DESTDIR=${PKGDIR} cmake --install build
  rm -r ${PKGDIR}/usr/share/vpl/examples

  rm ${PKGDIR}/{etc/vpl/vars.sh,usr/include/vpl/preview/{,legacy/}README.txt}
package: |
  true