Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: h31 <h31mail@yandex.com>
- # Contributor: julroy67 <julroy67 [AT] gmail.com>
- pkgname=libvpx-git
- pkgver=20100527
- pkgrel=1
- pkgdesc="The VP8 Codec SDK (from git)"
- arch=('i686' 'x86_64')
- url="http://www.webmproject.org/"
- license=('BSD')
- depends=()
- makedepends=('gcc-libs' 'git' 'yasm')
- provides=()
- conflicts=('libvpx')
- _gitroot='git://review.webmproject.org/libvpx.git'
- _gitname='libvpx'
- build() {
- msg "Connecting to the GIT server...."
- cd "$srcdir"
- if [[ -d $srcdir/$_gitname ]] ; then
- cd "$_gitname"
- git pull origin
- msg "The local files are updated."
- else
- git clone $_gitroot
- fi
- msg "GIT checkout done"
- msg "Starting make..."
- cd "$srcdir"
- mkdir "$_gitname-build"
- cd "$_gitname-build"
- "$srcdir/$_gitname/configure" \
- --enable-vp8 \
- --enable-postproc \
- --enable-psnr \
- --enable-pic \
- --disable-install-docs \
- --disable-install-srcs
- make || return 1
- mkdir -p $pkgdir/usr
- mkdir -p $pkgdir/usr/include/vpx
- make DIST_DIR="$pkgdir/usr" install || return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement