aboutsummaryrefslogtreecommitdiffstats
path: root/community/glacier-gallery/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/glacier-gallery/APKBUILD')
-rw-r--r--community/glacier-gallery/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/glacier-gallery/APKBUILD b/community/glacier-gallery/APKBUILD
new file mode 100644
index 0000000000..4cb9f1ce0e
--- /dev/null
+++ b/community/glacier-gallery/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=glacier-gallery
+pkgver=0.2.3_git20210416
+pkgrel=0
+_commit="7c87a52500913cac6698afc0957a41ded71fd30c"
+pkgdesc="The Glacier image gallery"
+url="https://github.com/nemomobile-ux/glacier-gallery"
+# armhf blocked by qtquickcontrols-nemo
+arch="all !armhf"
+license="BSD-3-Clause"
+depends="
+ mapplauncherd
+ nemo-qml-plugin-thumbnailer
+ qt5-qtdocgallery
+ qtquickcontrols-nemo
+ "
+makedepends="
+ cmake
+ libglacierapp-dev
+ libresourceqt-dev
+ qt5-qtbase-dev
+ qt5-qttools-dev
+ "
+source="https://github.com/nemomobile-ux/glacier-gallery/archive/$_commit/glacier-gallery-$_commit.tar.gz"
+options="!check" # No tests
+builddir="$srcdir/$pkgname-$_commit"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DINSTALL_QML_IMPORT_DIR=/usr/lib/qt5/qml
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
+
+sha512sums="e2f7b79ca5c3ed71acb681ee50abe8ccb4a969d57f8304bcbecef7f796cbcbad1bfc98f118c36a3d5e98abffc2dd02e5b9215315001fce41237a5948fd04ce56 glacier-gallery-7c87a52500913cac6698afc0957a41ded71fd30c.tar.gz"