mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-other
|
|
pkgname=kphotoalbum
|
|
pkgver=5.12.0
|
|
pkgrel=1
|
|
pkgdesc="KDE Photo Album, picture collection manager"
|
|
url="https://kphotoalbum.org"
|
|
# armhf blocked my extra-cmake-modules
|
|
# ppc64le, s390x, riscv64 and loongarch64 blocked by qt5-qtwebengine -> purpose
|
|
arch="all !armhf !ppc64le !s390x !riscv64 !loongarch64"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
exiv2-dev
|
|
extra-cmake-modules
|
|
jpeg-dev
|
|
karchive5-dev
|
|
kcompletion5-dev
|
|
kconfig5-dev
|
|
kcoreaddons5-dev
|
|
kdoctools5-dev
|
|
ki18n5-dev
|
|
kiconthemes5-dev
|
|
kio5-dev
|
|
kjobwidgets5-dev
|
|
ktextwidgets5-dev
|
|
kwidgetsaddons5-dev
|
|
kxmlgui5-dev
|
|
libkdcraw-dev
|
|
marble-dev
|
|
phonon-dev
|
|
purpose5-dev
|
|
qt5-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/graphics/kphotoalbum.git"
|
|
source="https://download.kde.org/stable/kphotoalbum/$pkgver/kphotoalbum-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
xvfb-run ctest --test-dir build --output-on-failure
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
f4d31d1c00ae2d8ec5a0475a4b3332e32f1ed980034419e6d07388544b65a6bd445c04c0640fba4fd5084c83840b6211ee64d556b6a82e4b182b5f07fbab3338 kphotoalbum-5.12.0.tar.xz
|
|
"
|