summaryrefslogtreecommitdiff
path: root/libs/x264/MAKEPKG
blob: eedad04dba9432f1946872273dcbc5556ceeb83e (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
#!/bin/mkpkg
# description: Library for encoding H264/AVC video streams (snapshot).
# url: https://www.videolan.org/developers/x264.html

name=x264
version=0.164.20250608
release=1
makedeps=(nasm)
_commit=b35605ace3ddf7c1a5d67a2eb553f034aef41d55
source=(https://code.videolan.org/videolan/x264/-/archive/$_commit/x264-$_commit.tar.bz2)

sha256sums=(
    "6eeb82934e69fd51e043bd8c5b0d152839638d1ce7aa4eea65a3fedcf83ff224"
)

build() {
    cd $name-$_commit

    ./configure \
        --prefix=/usr \
        --enable-pic \
        --enable-shared \
        --disable-cli \
        --extra-cflags="$CFLAGS"

    make
    make DESTDIR=$PKG install
}

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

# vim: filetype=sh