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

44 lines
1.2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# 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=kdegraphics-thumbnailers
pkgver=25.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
pkgdesc="Thumbnailers for various graphics file formats"
url="https://www.kde.org/applications/graphics/"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
extra-cmake-modules
karchive-dev
kdegraphics-mobipocket-dev
kio-dev
libkdcraw-dev
libkexiv2-dev
qt6-qtbase-dev
samurai
"
_repo_url="https://invent.kde.org/graphics/kdegraphics-thumbnailers.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdegraphics-thumbnailers-$pkgver.tar.xz"
# No tests
options="!check"
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
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
df8cab9344333fda55b148406a26ba570beb63f038905b0776baeb3ca8771cac219c2a441ef591ebe5309b4b04de00e74a27cba6e75e92d361a6437e0e9f46fa kdegraphics-thumbnailers-25.04.0.tar.xz
"