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

slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 15:39:58 2018 +0300 (2018-08-10)
parents e65af2bd0cc3
children f48456621a9d
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/lxde/libfm-qt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="libfm-qt-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 -DPULL_TRANSLATIONS=no \
25 .. &&
26 make &&
27 make install || return 1
29 rmdir $install/usr/include/libfm-qt/tests/ # empty
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libfm-qt)
35 copy @std
36 rm -rf $fs/usr/share/mime # useless, see shared-mime-info package
37 DEPENDS="glib libfm menu-cache qt5-base qt5-x11extras xorg-libxcb"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libfm-qt libfm-dev qt5-dev"
42 ;;
43 esac
44 TAGS="LXQt"
45 }