wok-next view polkit-qt/receipt @ rev 20006

nginx-extras: update bdeps, vte-dev: add vte.pc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 15:15:14 2017 +0200 (2017-10-21)
parents e70c0b9c5adf
children e6d548803bb4
line source
1 # SliTaz package receipt v2.
3 PACKAGE="polkit-qt"
4 VERSION="0.112.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that allows to access PolicyKit API with a nice Qt-style API"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/polkit-qt-1"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/polkit-qt.html"
12 TARBALL="polkit-qt-1-$VERSION.tar.bz2"
13 WGET_URL="http://download.kde.org/stable/apps/KDE4.x/admin/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev polkit-dev glib-dev"
16 SPLIT="polkit-qt-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -Wno-dev \
24 .. &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 polkit-qt)
32 copy @std
33 DEPENDS="glib polkit qt5-base"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="polkit-qt qt5-dev"
38 ;;
39 esac
40 }
42 # libQt5Core.so.5
43 # libQt5DBus.so.5
44 # libQt5Gui.so.5
45 # libQt5Widgets.so.5