summaryrefslogtreecommitdiff
path: root/portsToCome/libvpx/Pkgfile
blob: d745d1ecf206bd492a3fa3dbee03fe8ff6504c9a (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
# Description: The VP8/VP9 Codec SDK
# URL: http://www.webmproject.org/
# Maintainer: Erich Eckner, erich at eckner dot net
# Packager: Ionut Biru, ibiru at archlinux dot org
# Depends on: yasm

name=libvpx
version=1.5.0
release=1
source=(http://storage.googleapis.com/downloads.webmproject.org/releases/webm/$name-$version.tar.bz2)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
              --enable-vp8 \
              --enable-vp9 \
              --enable-runtime-cpu-detect \
              --enable-shared \
              --enable-postproc \
              --enable-pic \
              --disable-install-docs \
              --disable-install-srcs

  make
  make DIST_DIR="$PKG/usr" install
}