summaryrefslogtreecommitdiff
path: root/libs/libvpx/MAKEPKG
blob: 57afa4d7f71d2ba08f43432879f299a4825204ec (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
#!/bin/mkpkg
# description: VP8/VP9 video codec library
# url: https://www.webmproject.org/

name=libvpx
version=1.17.0
release=1
depends=()
makedeps=(nasm)
source=(https://github.com/webmproject/libvpx/archive/v$version/$name-v$version.tar.gz)
sha256sums=(
    "1020f184046187baa2985dbde38e0691f49c44088bca7a1842b0236c6081dc0a"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --enable-vp8 \
        --enable-vp9 \
        --enable-vp9-highbitdepth \
        --enable-vp9-temporal-denoising \
        --enable-runtime-cpu-detect \
        --enable-shared \
        --enable-postproc \
        --enable-pic \
        --disable-static \
        --disable-unit-tests \
        --disable-install-docs \
        --disable-install-srcs

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

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh