Commit 265f9ad4 authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by alice
Browse files

community/lximage-qt: move from testing

parent 023e8784
......@@ -7,17 +7,18 @@ 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
cmake samurai lxqt-build-tools liblxqt-dev qt5-qttools-dev
libfm-qt-dev libexif-dev menu-cache-dev
"
options="!check" # No testsuite
subpackages="$pkgname-lang"
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 \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
......@@ -29,6 +30,12 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
lang() {
install_if="lang $pkgname=$pkgver-r$pkgrel"
amove usr/share/$pkgname/translations
}
sha512sums="
8d64bb35a56c5f565c1dde7f74534440e4decb9c4435e46986b713dad5b6c87aec0f0d9cb927a73f2f0b94f7101957fe1660737559b30c68b1d93cecfdf2e187 lximage-qt-1.1.0.tar.xz
"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment