aports/community/libkdcraw/APKBUILD
2025-04-24 20:45:31 +02:00

43 lines
1.1 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=libkdcraw
pkgver=25.04.0
pkgrel=0
arch="all"
url="https://kde.org"
pkgdesc="RAW image file format support for KDE"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
depends_dev="
libraw-dev
qt6-qtbase-dev
"
makedepends="$depends_dev
extra-cmake-modules
samurai
"
subpackages="$pkgname-dev"
_repo_url="https://invent.kde.org/graphics/libkdcraw.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkdcraw-$pkgver.tar.xz"
options="!check" # No usable tests
build() {
cmake -B build -G Ninja \
-DBUILD_WITH_QT6=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
47b728b4974b71af5122da692c4b365563da76ceaec0624c7d8d100c5f2cded03dfdc931a5a555373e5c3fea0b9ca3a999ba972ce0883d1fd6b2c95baf9b9dee libkdcraw-25.04.0.tar.xz
"