wok-next view qtermwidget/receipt @ rev 21058
Update viewnior (1.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 23:35:15 2018 +0200 (2018-12-03) |
parents | d5aab818505e |
children |
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/lxqt/qtermwidget"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-dev"
21 compile_rules() {
22 mkdir build
23 cd build
24 cmake \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DPULL_TRANSLATIONS=no \
28 .. &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 qtermwidget)
36 copy @std
37 DEPENDS="qt5-base"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="qtermwidget qt5-dev"
42 ;;
43 esac
44 TAGS="LXQt"
45 }