mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
34 lines
959 B
Plaintext
34 lines
959 B
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libkexiv2
|
|
pkgver=23.04.0
|
|
pkgrel=1
|
|
pkgdesc="A library to manipulate pictures metadata"
|
|
url="https://www.kde.org/applications/graphics"
|
|
arch="all !armhf" # extra-cmake-modules
|
|
license="GPL-2.0-or-later"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev exiv2-dev samurai"
|
|
subpackages="$pkgname-dev"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/libkexiv2-$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() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="
|
|
d5d794e4696ab3ca87e49888b0fc6021e9986f30526c4d166270a0df95c190d29cc168ae4a7c4dff223e3b7c41e85c8a995414409eae26636382bec22e973c14 libkexiv2-23.04.0.tar.xz
|
|
"
|