Files
binary-repo/kde/frameworks/kimageformats/ympbuild
T
2025-10-18 18:28:47 +00:00

37 lines
820 B
Bash
Executable File

#!/usr/bin/env bash
name='kimageformats'
release='5'
version='6.18.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=('9d373ef5362aa8d71541cec2895415c95ca914626dcb0dd6b0ceef491dcbae46')
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
}