mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-02-11 10:04:42 +08:00
lib32-libva: import as lib32-mesa new depedency
This commit is contained in:
parent
15e5bfe2ae
commit
68e003f451
37
lib32-libva/PKGBUILD
Normal file
37
lib32-libva/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Contributions from Arch
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
|
||||
# Contributor: kokoko3k <kokoko3k at gmail dot com>
|
||||
# Contributor: Ionut Biru <ibiru at archlinux dot org>
|
||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux dot org>
|
||||
|
||||
pkgname=lib32-libva
|
||||
pkgver=1.7.0
|
||||
pkgrel=1
|
||||
pkgdesc='Video Acceleration (VA) API for Linux (32-bit)'
|
||||
arch=(x86_64)
|
||||
url='https://freedesktop.org/wiki/Software/vaapi'
|
||||
license=('MIT')
|
||||
depends=(lib32-libdrm lib32-libgl lib32-wayland lib32-libxext lib32-libxfixes libva)
|
||||
makedepends=(mesa lib32-gcc-libs)
|
||||
optdepends=('lib32-libva-vdpau-driver: vdpau back-end for nvidia'
|
||||
'lib32-libva-intel-driver: back-end for intel cards')
|
||||
source=(http://freedesktop.org/software/vaapi/releases/libva/libva-${pkgver}.tar.bz2)
|
||||
sha256sums=('a689bccbcc81a66b458e448377f108c057d3eee44a2e21a23c92c549dc8bc95f')
|
||||
|
||||
build() {
|
||||
export CC='gcc -m32'
|
||||
export CXX='g++ -m32'
|
||||
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
|
||||
|
||||
cd "${pkgname#*-}-${pkgver}"
|
||||
./configure --prefix=/usr --libdir='/usr/lib32'
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname#*-}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
rm -rfv "${pkgdir}/usr/"{include,bin}
|
||||
install -m644 -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
||||
}
|
Loading…
Reference in New Issue
Block a user