# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=pix pkgver=2.2.1 pkgrel=0 _geonames_pkgver=2020.06.25 pkgdesc="Image gallery manager built with MauiKit" # armhf blocked by qt5-qtdeclarative arch="all !armhf !s390x" url="https://invent.kde.org/maui/pix" license="GPL-3.0-or-later" depends=" kquickimageeditor qt5-qtbase-sqlite " makedepends=" attica-dev exiv2-dev extra-cmake-modules kconfig-dev ki18n-dev kio-dev knotifications-dev mauikit-dev mauikit-filebrowsing-dev mauikit-imagetools-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtlocation-dev qt5-qtsvg-dev samurai " source="https://download.kde.org/stable/maui/pix/$pkgver/pix-$pkgver.tar.xz https://github.com/pmsourcedump/geonames/archive/$_geonames_pkgver/geonames-$_geonames_pkgver.tar.gz " options="!check" # No tests available prepare() { default_prepare unzip "$srcdir/geonames-$_geonames_pkgver"/cities1000.zip } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } package() { mv "$builddir"/cities1000.txt build/src/ DESTDIR="$pkgdir" cmake --install build } sha512sums=" cded6fa7e20de4450478b5f0846f609f7f2cce81041767d7cbd002e4da537d365fded7190fbba881965883dd7e6ac44c610ebbf6e08a3e847978c3187d7591b9 pix-2.2.1.tar.xz 07485983a5ce0f03f1e12e64c280abe01e81beaa22b2dd43bc1b0e7632298acbfb83f09ef8c01a0915481c8e918a430b97d68f1ed5d43f76506798245345bc14 geonames-2020.06.25.tar.gz "