wok-next annotate 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 |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@19989 | 2 |
al@19989 | 3 PACKAGE="libfm-qt" |
al@20318 | 4 VERSION="0.12.0" |
al@19989 | 5 CATEGORY="system-tools" |
al@19989 | 6 SHORT_DESC="Core library of PCManFM-Qt" |
al@19989 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20019 | 8 LICENSE="LGPL2.1" |
al@21020 | 9 WEB_SITE="https://github.com/lxqt/libfm-qt" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/libfm-qt.html" |
al@19989 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="https://github.com/lxde/libfm-qt/releases/download/$VERSION/$TARBALL" |
al@19989 | 14 |
al@20502 | 15 BUILD_DEPENDS="lxqt-build-tools mesa-dev libfm-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@19989 | 17 |
al@19989 | 18 compile_rules() { |
al@21020 | 19 mkdir build |
al@21020 | 20 cd build |
al@19989 | 21 cmake \ |
al@19989 | 22 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 24 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 25 -DPULL_TRANSLATIONS=no \ |
al@19989 | 26 .. && |
al@19989 | 27 make && |
al@20325 | 28 make install || return 1 |
al@20325 | 29 |
al@20325 | 30 rmdir $install/usr/include/libfm-qt/tests/ # empty |
al@19989 | 31 } |
al@19989 | 32 |
al@19989 | 33 genpkg_rules() { |
al@19989 | 34 case $PACKAGE in |
al@19989 | 35 libfm-qt) |
al@19989 | 36 copy @std |
al@20325 | 37 rm -rf $fs/usr/share/mime # useless, see shared-mime-info package |
al@21078 | 38 DEPENDS="glib libfm menu-cache qt5-base qt5-x11extras libxcb" |
al@19989 | 39 ;; |
al@19989 | 40 *-dev) |
al@19989 | 41 copy @dev |
al@19989 | 42 DEPENDS="libfm-qt libfm-dev qt5-dev" |
al@19989 | 43 ;; |
al@19989 | 44 esac |
al@19989 | 45 TAGS="LXQt" |
al@19989 | 46 } |