mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 20:54:42 +08:00
28 lines
806 B
Bash
28 lines
806 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libva
|
|
|
|
pkgname=libva
|
|
pkgver=1.7.0
|
|
pkgrel=1
|
|
pkgdesc='Video Acceleration (VA) API for Linux'
|
|
arch=('x86_64')
|
|
url="http://freedesktop.org/wiki/Software/vaapi"
|
|
license=('MIT')
|
|
depends=('libgl' 'libdrm' 'libxfixes')
|
|
makedepends=('mesa')
|
|
optdepends=('libva-vdpau-driver: backend for Nvidia and AMD cards'
|
|
'libva-intel-driver: backend for Intel cards')
|
|
source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('7309097b790de8dbc9641ed6393eab9f')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|