From bde39945a3472cd5048fcf9fbd5a652462f44229 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 30 Jan 2014 19:37:48 -0200 Subject: lib32-libvdpau: add new package on [libre-multilib], dependency of lib32-mesa-libcl --- libre-multilib/lib32-libvdpau/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libre-multilib/lib32-libvdpau/PKGBUILD diff --git a/libre-multilib/lib32-libvdpau/PKGBUILD b/libre-multilib/lib32-libvdpau/PKGBUILD new file mode 100644 index 000000000..0e776abcb --- /dev/null +++ b/libre-multilib/lib32-libvdpau/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Lara Maia +# Contributor: josephgbr +# Contributor: TryA +# Contributor: Ionut Biru + +_pkgbase=libvdpau +pkgname=lib32-libvdpau +pkgver=0.7 +pkgrel=1 +pkgdesc="Nvidia VDPAU library (32-bit)" +arch=('x86_64') +url=http://cgit.freedesktop.org/~aplattner/libvdpau +license=('custom') +depends=('lib32-gcc-libs' 'lib32-libxext' "${_pkgbase}") #libx11 +makedepends=('gcc-multilib' 'dri2proto' ) +options=('!libtool') +source=(http://people.freedesktop.org/~aplattner/vdpau/${_pkgbase}-${pkgver}.tar.gz) +sha256sums=('24dc08467ce8c59d6cfbf0d34d2dd1f86b4ff62e90777e0a8f513c5c9de9bce0') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd ${_pkgbase}-${pkgver} + ./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc + make +} + +package() { + make -C ${_pkgbase}-${pkgver} DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/{etc,usr/include} + + install -dm755 "$pkgdir"/usr/share/licenses + ln -s $_pkgbase "$pkgdir"/usr/share/licenses/$pkgname +} -- cgit v1.2.3