mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
|
pkgname=lximage-qt
|
|
pkgver=0.17.0
|
|
pkgrel=0
|
|
pkgdesc="The image viewer and screenshot tool for LXQt"
|
|
url="https://github.com/lxqt/lximage-qt"
|
|
arch="all !armhf !mips64 !s390x" # armhf, mips64 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="
|
|
fb7867f5589fa45f3e2d37dcd0733c49fb5439206b11d2a43020305c5c7d222796aa0cf2dbf19d5fc7829a34d3877241cb4bb36ea2883a41503eadd39deaf8e0 lximage-qt-0.17.0.tar.xz
|
|
"
|