blob: 90be005ee3087f45bd72f82faa8e58ae1feb1606 (
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
|
#!/bin/sh
NAME="libheif"
DESC="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
MAKEDEPS="aom x265 libde265 libjpeg-turbo libpng"
PKG_VER=1.13.0
SOURCE="https://github.com/strukturag/libheif/releases/download/v$PKG_VER/libheif-$PKG_VER.tar.gz"
build() {
# This is en/decoder, so performance matters more than size.
export CPPFLAGS="$CFLAGS -O2"
export CXXFLAGS="$CFLAGS -O2"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static \
--disable-go
make
}
package() {
make DESTDIR="$PKG_DEST" install
}
|