summaryrefslogtreecommitdiff
path: root/libjxl/Pkgfile
blob: d84b72870ccc99f1c7c258ebb903da6b3cb2474a (plain)
    1 # Description: JPEG XL image format reference implementation
    2 # URL:         https://github.com/libjxl/libjxl
    3 # Maintainer:  Aaron Ball, nullspoon at oper dot io
    4 # Depends on:  highway gtest
    5 
    6 name=libjxl
    7 version=0.10.2
    8 release=1
    9 source=(https://github.com/libjxl/libjxl/archive/refs/tags/v${version}.tar.gz)
   10 
   11 build() {
   12   cd ${name}-${version}
   13   mkdir build && cd build
   14   cmake ../ \
   15     -DCMAKE_BUILD_TYPE=Release \
   16     -DCMAKE_INSTALL_PREFIX=/usr \
   17     -DJPEGXL_ENABLE_SJPEG:BOOL=false \
   18     -DJPEGXL_ENABLE_SKCMS:BOOL=false
   19   cmake --build .
   20   DESTDIR="${PKG}" cmake --install .
   21 }

Generated by cgit