1 # Contributor: Det <nimetonmaili at gmail a-dot com>
2 # Contributor: h31 <h31mail@yandex.com>
3 # Contributor: julroy67 <julroy67 [AT] gmail.com>
8 pkgdesc="The VP8 Codec SDK (git version)"
10 url="http://www.webmproject.org/"
12 makedepends=('git' 'yasm')
13 provides=('libvpx=0.9.5')
16 _gitroot='http://git.chromium.org/webm/libvpx.git'
20 msg "Connecting to the GIT server...."
23 if [[ -d "$srcdir/$_gitname" ]] ; then
26 msg "The local files are updated."
28 git clone $_gitroot --depth 1
31 msg "GIT checkout done"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build/"
35 cp -r "$srcdir/$_gitname/" "$srcdir/$_gitname-build/"
37 cd "$srcdir/$_gitname-build/"
39 ./configure --prefix=/usr --enable-vp8 \
40 --enable-runtime-cpu-detect \
44 --disable-install-docs \
45 --disable-install-srcs
51 cd "$srcdir/$_gitname-build/"
53 make DIST_DIR="$pkgdir/usr" install