aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoni Aloy Torrens <aaloytorrens@gmail.com>2021-02-12 02:41:45 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-03-21 07:10:43 +0000
commit748aebefd3b931ca98bdea375a9fd2abf204f650 (patch)
tree45bb810b09e39010989f519f89a26ce91c9c1288
parent2d0fdeaf4a86bc17dc13b6c3af0c0b8bd5539c6f (diff)
downloadaports-748aebefd3b931ca98bdea375a9fd2abf204f650.tar.gz
aports-748aebefd3b931ca98bdea375a9fd2abf204f650.tar.bz2
aports-748aebefd3b931ca98bdea375a9fd2abf204f650.tar.xz
testing/lximage-qt: new aport
-rw-r--r--testing/lximage-qt/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/lximage-qt/APKBUILD b/testing/lximage-qt/APKBUILD
new file mode 100644
index 0000000000..d0184415ec
--- /dev/null
+++ b/testing/lximage-qt/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
+pkgname=lximage-qt
+pkgver=0.16.0
+pkgrel=0
+pkgdesc="The image viewer and screenshot tool for LXQt"
+url="https://github.com/lxqt/lximage-qt"
+arch="all !armhf !s390x" # armhf blocked by liblxqt, s390x blocked by libfm-qt
+license="LGPL-2.0-or-later"
+makedepends="
+ cmake lxqt-build-tools liblxqt-dev qt5-qttools-dev
+ libfm-qt-dev libexif-dev menu-cache-dev
+ "
+options="!check" # No testsuite
+source="https://github.com/lxqt/lximage-qt/releases/download/$pkgver/lximage-qt-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ $CMAKE_CROSSOPTS .
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+sha512sums="2da46d23567cff7044a884e14b30de36b3a19d802768585b7c3332897b0af2fc42993ed9bb9d062db7988a0526cc7357a09fbac5f283a615b109ea8dfbf474b5 lximage-qt-0.16.0.tar.xz"