wok-next view qtermwidget/receipt @ rev 20773
jack2: up (1.9.12)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:59:31 2018 +0300 (2018-06-06) |
parents | c0b0151909ba |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qtermwidget"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The terminal widget for QTerminal"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/qtermwidget"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/qtermwidget.html"
12 # release 0.7.1 tarball missed in GitHub
13 #TARBALL="$PACKAGE-$VERSION.tar.xz"
14 #WGET_URL="https://github.com/lxde/qtermwidget/releases/download/$VERSION/$TARBALL"
15 TARBALL="$PACKAGE-$VERSION.tar.gz"
16 WGET_URL="https://github.com/lxde/qtermwidget/archive/$VERSION.tar.gz"
18 BUILD_DEPENDS="cmake qt5-dev mesa-dev lxqt-build-tools"
19 SPLIT="qtermwidget-dev"
21 compile_rules() {
22 mkdir build; cd build
23 cmake \
24 -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DPULL_TRANSLATIONS=no \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 qtermwidget)
35 copy @std
36 DEPENDS="qt5-base"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="qtermwidget qt5-dev"
41 ;;
42 esac
43 TAGS="LXQt"
44 }