mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 05:14:48 +08:00
34 lines
984 B
Bash
34 lines
984 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libva
|
|
|
|
pkgname=libva
|
|
pkgver=2.1.0
|
|
pkgrel=1
|
|
pkgdesc='Video Acceleration (VA) API for Linux'
|
|
arch=('x86_64')
|
|
url='https://01.org/linuxmedia/vaapi'
|
|
license=('MIT')
|
|
depends=('glibc' 'libdrm' 'libgl' 'libx11' 'libxext' 'libxfixes' 'wayland')
|
|
makedepends=('mesa')
|
|
optdepends=('libva-vdpau-driver: backend for Nvidia and AMD cards'
|
|
'libva-intel-driver: backend for Intel cards')
|
|
provides=('libva-drm.so' 'libva-glx.so' 'libva-wayland.so' 'libva-x11.so' 'libva.so')
|
|
source=("https://github.com/01org/libva/releases/download/${pkgver}/libva-${pkgver}.tar.bz2")
|
|
sha256sums=('f3fa953a11d3210c3a4ee79031abdbe0863d5ce13d9b3f93f315f1eec60a4b0f')
|
|
|
|
build() {
|
|
cd libva-${pkgver}
|
|
|
|
./configure \
|
|
--prefix='/usr'
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd libva-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libva
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|