pkgname: libheif pkgver: '1.23.6' pkgrel: '3' pkgdesc: 'The libheif package is an HEIF and AVIF file format decoder and encoder. ' url: 'https://github.com/strukturag/libheif' arch: x86_64 # CMake wykrywa kodeki obecne w rootfs buildera i **linkuje je dynamicznie**. # Jeśli nie ma ich w `depends`, bump soname (np. x265 4.2 -> 4.3, # libx265.so.217 -> .218) nie odbudowuje libheif i aplikacje (darktable, # ImageMagick, klienty ffmpeg) padają z „error while loading shared libraries”. depends: - gdk-pixbuf - glib - libpng - x265 - x264 - libaom - openh264 - libwebp - libjpeg-turbo makedepends: - ninja - cmake - x265 - x264 - libaom - openh264 - libwebp - libjpeg-turbo source: - 'https://github.com/strukturag/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -G Ninja .. ninja DESTDIR=${PKGDIR} ninja install package: | true