wok-next annotate libdbusmenu-qt/receipt @ rev 21663
updated fox (1.6.49 -> 1.6.57)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 27 14:24:53 2020 +0100 (2020-06-27) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@20018 | 1 # SliTaz package receipt v2. |
pankso@10657 | 2 |
pankso@10657 | 3 PACKAGE="libdbusmenu-qt" |
al@20018 | 4 VERSION="0.9.3+16.04.20160218" |
pankso@10657 | 5 CATEGORY="system-tools" |
al@20018 | 6 SHORT_DESC="Library to import and export QMenu instances using the DBusMenu" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@10657 | 9 WEB_SITE="https://launchpad.net/libdbusmenu-qt" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/kde/libdbusmenu-qt.html" |
pankso@10657 | 11 |
al@20018 | 12 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
al@20018 | 13 WGET_URL="http://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL" |
pankso@10657 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@20018 | 17 |
al@20018 | 18 compile_rules() { |
al@20018 | 19 sed -i 's|com\.trolltech|org.qtproject|' src/com.canonical.dbusmenu.xml |
al@20018 | 20 |
al@21020 | 21 mkdir build |
al@21020 | 22 cd build |
pankso@10657 | 23 cmake \ |
pankso@10657 | 24 -DCMAKE_BUILD_TYPE=Release \ |
pankso@15934 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20018 | 26 -DWITH_DOC=OFF \ |
al@20018 | 27 -Wno-dev \ |
al@20018 | 28 .. && |
al@20018 | 29 make && |
al@20018 | 30 make install |
pankso@10657 | 31 } |
pankso@10657 | 32 |
al@20018 | 33 genpkg_rules() { |
al@20018 | 34 case $PACKAGE in |
al@20018 | 35 libdbusmenu-qt) |
al@20018 | 36 copy @std |
al@20018 | 37 DEPENDS="qt5-base" |
al@20018 | 38 ;; |
al@20018 | 39 *-dev) |
al@20018 | 40 copy @dev |
al@20018 | 41 ;; |
al@20018 | 42 esac |
pankso@10657 | 43 } |