blob: 140675288ccf067b105f202e24a95a768f50678e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
# Contributor: Det <gmail.com: nimetonmaili>
# Contributor: h31 <yandex.com: h31mail>
# Contributor: julroy67 <gmail.com: julroy67>
pkgname=libvpx-git
pkgver=v1.4.0.1132.g2fdb63f
pkgrel=1
pkgdesc="The VP8, VP9 & VP10 Codec SDK (git version)"
arch=('i686' 'x86_64')
url="http://www.webmproject.org/"
license=('BSD')
makedepends=('git' 'yasm')
provides=('libvpx=1.4.0')
conflicts=('libvpx')
source=('git+https://chromium.googlesource.com/webm/libvpx')
md5sums=('SKIP')
_gitname='libvpx'
pkgver() {
cd ${_gitname}
git describe --always | sed 's|-|.|g'
}
build() {
cd "${srcdir}/${_gitname}"
./configure --prefix=/usr \
--enable-vp8 \
--enable-vp9 \
--enable-vp10 \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-install-docs \
--disable-install-srcs
make
}
package() {
cd "${srcdir}/${_gitname}/"
make DIST_DIR="${pkgdir}/usr" install
install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|