wok-next view libfm-qt/receipt @ rev 21410

updated polkit (0.113 -> 0.116)
author Hans-G?nter Theisgen
date Fri Apr 24 17:53:05 2020 +0100 (2020-04-24)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libfm-qt"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Core library of PCManFM-Qt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxqt/libfm-qt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/libfm-qt.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/libfm-qt/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="lxqt-build-tools mesa-dev libfm-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DPULL_TRANSLATIONS=no \
26 .. &&
27 make &&
28 make install || return 1
30 rmdir $install/usr/include/libfm-qt/tests/ # empty
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libfm-qt)
36 copy @std
37 rm -rf $fs/usr/share/mime # useless, see shared-mime-info package
38 DEPENDS="glib libfm menu-cache qt5-base qt5-x11extras libxcb"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libfm-qt libfm-dev qt5-dev"
43 ;;
44 esac
45 TAGS="LXQt"
46 }