Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages / 
libvpl


Commits:
256685e5 by Daniel Bermond at 2024-05-02T18:22:05-03:00
upgpkg: 2.11.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,24 +1,20 @@
 pkgbase = libvpl
        pkgdesc = Intel Video Processing Library
-       pkgver = 2.10.2
+       pkgver = 2.11.0
        pkgrel = 1
        url = https://intel.github.io/libvpl/
        arch = x86_64
        license = MIT
        makedepends = cmake
-       makedepends = libpciaccess
-       makedepends = wayland-protocols
-       depends = libdrm
-       depends = libva
-       depends = libx11
-       depends = wayland
-       optdepends = intel-media-sdk: runtime for legacy Intel GPUs
-       optdepends = onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs
+       depends = gcc-libs
+       optdepends = intel-media-sdk: runtime implementation for legacy Intel 
GPUs
+       optdepends = vpl-gpu-rt: runtime implementation for Tiger Lake and 
newer GPUs
        provides = onevpl
        provides = libvpl.so
        conflicts = onevpl
        replaces = onevpl
-       source = 
https://github.com/intel/libvpl/archive/v2.10.2/libvpl-2.10.2.tar.gz
-       sha256sums = 
ad956ea7ecf14614325f59dfb44cc5ba08e2fcac373342d61c7db152ac651253
+       options = !emptydirs
+       source = 
https://github.com/intel/libvpl/archive/v2.11.0/libvpl-2.11.0.tar.gz
+       sha256sums = 
3e322ba6b3593da03e1cfdb8062f9f1545f6d9b1de39e36876de5934b26737d2
 
 pkgname = libvpl


=====================================
PKGBUILD
=====================================
@@ -1,21 +1,22 @@
 # Maintainer: Daniel Bermond <dberm...@archlinux.org>
 
 pkgname=libvpl
-pkgver=2.10.2
+pkgver=2.11.0
 pkgrel=1
 pkgdesc='Intel Video Processing Library'
 arch=('x86_64')
 url='https://intel.github.io/libvpl/'
 license=('MIT')
-depends=('libdrm' 'libva' 'libx11' 'wayland')
-optdepends=('intel-media-sdk: runtime for legacy Intel GPUs'
-            'onevpl-intel-gpu: runtime for Tiger Lake and newer GPUs')
-makedepends=('cmake' 'libpciaccess' 'wayland-protocols')
+depends=('gcc-libs')
+optdepends=('intel-media-sdk: runtime implementation for legacy Intel GPUs'
+            'vpl-gpu-rt: runtime implementation for Tiger Lake and newer GPUs')
+makedepends=('cmake')
 provides=('onevpl' 'libvpl.so')
 conflicts=('onevpl')
 replaces=('onevpl')
+options=('!emptydirs')
 
source=("https://github.com/intel/libvpl/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('ad956ea7ecf14614325f59dfb44cc5ba08e2fcac373342d61c7db152ac651253')
+sha256sums=('3e322ba6b3593da03e1cfdb8062f9f1545f6d9b1de39e36876de5934b26737d2')
 
 build() {
     export CFLAGS+=' -DNDEBUG'
@@ -27,7 +28,6 @@ build() {
         -DCMAKE_INSTALL_SYSCONFDIR:PATH='/etc' \
         -DBUILD_EXAMPLES:BOOL='OFF' \
         -DBUILD_TESTS:BOOL='ON' \
-        -DINSTALL_EXAMPLE_CODE:BOOL='OFF' \
         -DVPL_INSTALL_LICENSEDIR:PATH="share/licenses/${pkgname}" \
         -Wno-dev
     cmake --build build
@@ -39,13 +39,6 @@ check() {
 
 package() {
     DESTDIR="$pkgdir" cmake --install build
-    
-    local _file
-    while read -r -d '' _file
-    do
-        if ! grep -q '^vpl-' <<< "$_file"
-        then
-            mv "${pkgdir}/usr/bin"/{,vpl-}"$_file"
-        fi
-    done < <(find "${pkgdir}/usr/bin" -mindepth 1 -maxdepth 1 -type f -print0 
| sed -z 's|.*/||')
+    rm -r "${pkgdir}/usr/share/vpl/examples"
+    rm 
"${pkgdir}/"{etc/vpl/vars.sh,usr/include/vpl/preview/{,legacy/}README.txt}
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libvpl/-/commit/256685e5b73b228d1a9cd5d12a3b88c11a1868c7

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libvpl/-/commit/256685e5b73b228d1a9cd5d12a3b88c11a1868c7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to