diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 15:08:04 +0100 |
commit | 873665024ebfaa761ee49b508a79db7178aeb778 (patch) | |
tree | 6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/libheif | |
parent | 4445f6e15185f58dc599390ab74df3ca19b437b7 (diff) |
added gnupg
Diffstat (limited to 'repo/libheif')
-rw-r--r-- | repo/libheif/libheif.xibuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/libheif/libheif.xibuild b/repo/libheif/libheif.xibuild new file mode 100644 index 0000000..a8dbdbc --- /dev/null +++ b/repo/libheif/libheif.xibuild @@ -0,0 +1,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.12.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 +} + |