Files
binary-repo/kde/frameworks/kimageformats/ympbuild
T

37 lines
822 B
Bash
Executable File

#!/usr/bin/env bash
name='kimageformats'
release='6'
version='6.27.0'
url='https://community.kde.org/Frameworks'
description='Image format plugins for Qt5'
email='brkt8khn@gmail.com'
maintainer='brkt8khn'
license=('GPLv3')
source=("https://download.kde.org/stable/frameworks/${version%.*}/kimageformats-${version}.tar.xz")
depends=(qt6-base)
makedepends=(extra-cmake-modules karchive libavif libheif libraw libjxl openexr)
sha256sums=( '6a9f40936ba946279063cbdaea473b9eb735b53047b0124c88aca7db17ccabac' )
group=(kde.frameworks)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DKIMAGEFORMATS_HEIF=ON
}
build () {
cmake --build build
}
package () {
DESTDIR="$DESTDIR" cmake --install build
}