From 873665024ebfaa761ee49b508a79db7178aeb778 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 15:08:04 +0100 Subject: added gnupg --- repo/libheif/libheif.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/libheif/libheif.xibuild (limited to 'repo/libheif/libheif.xibuild') 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 +} + -- cgit v1.2.1