wok-next view libdbusmenu-qt/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | e756329576c3 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdbusmenu-qt"
4 VERSION="0.9.3+16.04.20160218"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://launchpad.net/libdbusmenu-qt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/kde/libdbusmenu-qt.html"
12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
13 WGET_URL="http://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev"
16 SPLIT="libdbusmenu-qt-dev"
18 compile_rules() {
19 sed -i 's|com\.trolltech|org.qtproject|' src/com.canonical.dbusmenu.xml
21 mkdir build; cd build
22 cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DWITH_DOC=OFF \
26 -Wno-dev \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libdbusmenu-qt)
35 copy @std
36 DEPENDS="qt5-base"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }