From 748aebefd3b931ca98bdea375a9fd2abf204f650 Mon Sep 17 00:00:00 2001 From: Antoni Aloy Torrens Date: Fri, 12 Feb 2021 02:41:45 +0100 Subject: testing/lximage-qt: new aport --- testing/lximage-qt/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/lximage-qt/APKBUILD diff --git a/testing/lximage-qt/APKBUILD b/testing/lximage-qt/APKBUILD new file mode 100644 index 00000000000..d0184415ec4 --- /dev/null +++ b/testing/lximage-qt/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Antoni Aloy +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" -- cgit v1.2.3