aports/testing/lomiri-gallery-app/APKBUILD
Aster Boese 226807a7df */*: switch my packages to use maintainer variable
To future-proof my packages and because I personally prefer the
variable, switch my packages from using '# Maintainer:' to
using 'maintainer=""'.
2025-03-13 05:58:42 +00:00

63 lines
1.7 KiB
Text

maintainer="Aster Boese <asterboese@mailbox.org>"
pkgname=lomiri-gallery-app
pkgver=3.0.2
pkgrel=1
pkgdesc="Photo gallery for the Ubuntu Touch platform"
url="https://gitlab.com/ubports/development/apps/lomiri-gallery-app"
arch="all !armhf" # blocked by lomiri-ui-toolkit
license="GPL-3.0-only"
source="https://gitlab.com/ubports/development/apps/lomiri-gallery-app/-/archive/v$pkgver/lomiri-gallery-app-v$pkgver.tar.gz
0001-update-for-newer-Exiv2-version.patch
0002-disable-werror.patch"
depends="
exiv2
libmediainfo
lomiri-thumbnailer
lomiri-trust-store
lomiri-ui-extras
lomiri-ui-toolkit
qqc2-suru-style
qt5-qtmultimedia
"
makedepends="
click-dev
cmake
cmake-extras
exiv2-dev
libmediainfo-dev
lomiri-trust-store-dev
mesa-gles
qt5-qtbase-dev
qt5-qtbase-sqlite
qt5-qtdeclarative-dev
samurai
"
checkdepends="
py3-dbusmock
py3-xdg
xvfb-run
"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # requires autopilot
subpackages="$pkgname-lang"
build() {
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=None \
-DCLICK_MODE=OFF \
-DINSTALL_TESTS=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
408ab6883e82f9862e9eaa578652f48121707421bcd9672a7bcdc4412cb740a1f6077326badaadb79807de538dd5c31084706c9014fe3994c0725dfad7adb381 lomiri-gallery-app-v3.0.2.tar.gz
45336e16b7f6ddee9300c466cdbd24d093d1ed7e37f7bb46ce659276f612a06f4af233a32d86a6fe92df3bc287db1a12587f93a7529934ab3f326cff30b85826 0001-update-for-newer-Exiv2-version.patch
c8d8ddc9e49417826b3771045dd9e9ee336f8c2c02b2ad59998c723fc1af2b349cf05063a0c1a46a49e5ae17ba6bcba29624b673c723d19167c5acc0d3b33aa0 0002-disable-werror.patch
"