mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 05:47:14 +08:00
27 lines
793 B
Bash
27 lines
793 B
Bash
|
# $Id: $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
pkgname=libvdpau
|
||
|
pkgver=0.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="Nvidia VDPAU library"
|
||
|
arch=(i686 x86_64)
|
||
|
url=http://cgit.freedesktop.org/~aplattner/libvdpau
|
||
|
depends=('gcc-libs>=4.4.2')
|
||
|
conflicts=('nvidia-utils<190.42-2')
|
||
|
options=('!libtool' 'force')
|
||
|
license=('custom')
|
||
|
source=(http://people.freedesktop.org/~aplattner/vdpau/${pkgname}-${pkgver}.tar.gz)
|
||
|
makedepends=('libx11')
|
||
|
sha256sums=('530c630e0784cc65bc31e5b487bd11fccd4049bc861d16844702048821262faa')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
|
||
|
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
||
|
}
|