21 lines
555 B
Plaintext
21 lines
555 B
Plaintext
# Description: library for fast image processing
|
|
# URL: https://github.com/strukturag/libheif/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: libde265
|
|
|
|
name=libheif
|
|
version=1.14.0
|
|
release=1
|
|
source=(https://github.com/strukturag/$name/releases/download/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
mkdir build && cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX="/usr/" \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
../$name-$version
|
|
|
|
cmake --build .
|
|
make DESTDIR=$PKG install
|
|
}
|