wok-next annotate qtermwidget/receipt @ rev 21032
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 17:26:00 2018 +0200 (2018-11-03) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20019 | 1 # SliTaz package receipt v2. |
al@16808 | 2 |
al@16808 | 3 PACKAGE="qtermwidget" |
al@20318 | 4 VERSION="0.8.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@20019 | 6 SHORT_DESC="The terminal widget for QTerminal" |
al@16808 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16808 | 8 LICENSE="GPL2" |
al@21032 | 9 WEB_SITE="https://github.com/lxqt/qtermwidget" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/qtermwidget.html" |
al@20019 | 11 |
al@20019 | 12 # release 0.7.1 tarball missed in GitHub |
al@20019 | 13 #TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20019 | 14 #WGET_URL="https://github.com/lxde/qtermwidget/releases/download/$VERSION/$TARBALL" |
al@16808 | 15 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20019 | 16 WGET_URL="https://github.com/lxde/qtermwidget/archive/$VERSION.tar.gz" |
al@16808 | 17 |
al@20502 | 18 BUILD_DEPENDS="cmake qt5-dev mesa-dev lxqt-build-tools" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
al@16808 | 20 |
al@20019 | 21 compile_rules() { |
al@21020 | 22 mkdir build |
al@21020 | 23 cd build |
al@20019 | 24 cmake \ |
al@20019 | 25 -DCMAKE_BUILD_TYPE=Release \ |
al@20019 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20320 | 27 -DPULL_TRANSLATIONS=no \ |
al@20019 | 28 .. && |
al@16808 | 29 make && |
al@20019 | 30 make install |
al@16808 | 31 } |
al@16808 | 32 |
al@20019 | 33 genpkg_rules() { |
al@20019 | 34 case $PACKAGE in |
al@20019 | 35 qtermwidget) |
al@20019 | 36 copy @std |
al@20019 | 37 DEPENDS="qt5-base" |
al@20019 | 38 ;; |
al@20019 | 39 *-dev) |
al@20019 | 40 copy @dev |
al@20019 | 41 DEPENDS="qtermwidget qt5-dev" |
al@20019 | 42 ;; |
al@20019 | 43 esac |
al@20019 | 44 TAGS="LXQt" |
al@16808 | 45 } |