diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-30 19:37:48 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-01-30 19:37:48 -0200 |
commit | bde39945a3472cd5048fcf9fbd5a652462f44229 (patch) | |
tree | 80b00b2f3256c3fb746436545995db2c6e01a627 /libre-multilib | |
parent | e1fa8bc042124f08d7c54e06477ca14358b89fdc (diff) | |
download | abslibre-bde39945a3472cd5048fcf9fbd5a652462f44229.tar.gz abslibre-bde39945a3472cd5048fcf9fbd5a652462f44229.tar.bz2 abslibre-bde39945a3472cd5048fcf9fbd5a652462f44229.zip |
lib32-libvdpau: add new package on [libre-multilib], dependency of lib32-mesa-libcl
Diffstat (limited to 'libre-multilib')
-rw-r--r-- | libre-multilib/lib32-libvdpau/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 <lara@craft.net.br> +# Contributor: josephgbr <rafael.f.f1@gmail.com> +# Contributor: TryA <tryagainprod {at} gmail.com> +# Contributor: Ionut Biru <ibiru@archlinux.org> + +_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 +} |