Sign in with GitCafe ID:

Remember meForgot password?

Not a member?
Sign up now!

Red54 / aur-Red54

Red54's PKGBUILD repository.
94ddeb4c
Red54謝致邦: Add cmake as a dependency to libvdpau-va-gl.
PKGBUILD( 644 Bytes, 32 lines )
94ddeb4c謝致邦: Add cmake as a dependency to libvdpau-va-gl.
# Maintainer: Behem0th <grantipak@gmail.com>
# Contributor: 謝致邦 <Yeking@Red54.com>

pkgname=libvdpau-va-gl
_gitname=libvdpau-va-gl
pkgver=20130607
pkgrel=1
pkgdesc='VDPAU driver with OpenGL/VAAPI backend'
arch=('i686' 'x86_64')
url='https://github.com/i-rinat/libvdpau-va-gl'
license=('LGPL3')
depends=('glu' 'ffmpeg')
makedepends=('git' 'cmake')
provides=('libvdpau-va-gl')
source=('git://github.com/i-rinat/libvdpau-va-gl.git')
md5sums=('SKIP')

pkgver() {
  date +%Y%m%d
}

build() {
  cd $_gitname
  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd $_gitname
  make DESTDIR="$pkgdir" install
}