Skip to content
Snippets Groups Projects
Commit 2d0fdeaf authored by Antoni Aloy Torrens's avatar Antoni Aloy Torrens Committed by Leo
Browse files

testing/libfm-qt: new aport

parent bda926b4
No related branches found
No related tags found
1 merge request!18083testing/lxqt-desktop: new aport
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=libfm-qt
pkgver=0.16.0
pkgrel=0
pkgdesc="Qt port of libfm"
url="https://github.com/lxqt/libfm-qt"
arch="all !s390x" # s390x blocked by libfm
license="LGPL-2.0-or-later"
makedepends="
cmake lxqt-build-tools qt5-qtx11extras-dev qt5-qttools-dev
menu-cache-dev libexif-dev libfm-dev qt5-qtbase-dev
"
subpackages="$pkgname-dev"
options="!check" # No testsuite
source="https://github.com/lxqt/libfm-qt/releases/download/$pkgver/libfm-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="5de63408a641b0e77cb319952e428aee9cd35db9ec3e6726a8327ebc53f5641cf66b28dbabd96797c64a253b1e41421dbe05dcb9f4bc7941bd92676bbfa9cc84 libfm-qt-0.16.0.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment