summaryrefslogtreecommitdiff
path: root/user/qtermwidget
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-06-08 23:34:34 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-06-08 23:34:34 +0000
commit6322ca160b938c3db7a9deb981f2a29e4c7ccee9 (patch)
tree9ed05a8f3cb2ace2b639dbbf5e6ed1b715994cc1 /user/qtermwidget
parentce7acc70c9afb381440446a9254395163ae773d7 (diff)
parentc9c4a3c2a69a805d767d774bf5851469473e7d7d (diff)
downloadpackages-6322ca160b938c3db7a9deb981f2a29e4c7ccee9.tar.gz
packages-6322ca160b938c3db7a9deb981f2a29e4c7ccee9.tar.bz2
packages-6322ca160b938c3db7a9deb981f2a29e4c7ccee9.tar.xz
packages-6322ca160b938c3db7a9deb981f2a29e4c7ccee9.zip
Merge branch 'lxqt-0.13' into 'master'
Bump LXQt to 0.13 Also included: * qps bumped to 1.10.18 * screengrab packaged See merge request !39
Diffstat (limited to 'user/qtermwidget')
-rw-r--r--user/qtermwidget/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/user/qtermwidget/APKBUILD b/user/qtermwidget/APKBUILD
index 33bce47db..8539c6254 100644
--- a/user/qtermwidget/APKBUILD
+++ b/user/qtermwidget/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=qtermwidget
-pkgver=0.8.0
+pkgver=0.9.0
pkgrel=0
pkgdesc="A Qt-based terminal widget, used in QTerminal"
url="http://lxqt.org"
@@ -9,12 +9,12 @@ arch="all"
license="GPL-2.0+"
depends=""
depends_dev=""
-makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev lxqt-build-tools $depends_dev"
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qttools-dev lxqt-build-tools>0.5.0 $depends_dev"
install=""
subpackages="$pkgname-dev"
-source="https://github.com/lxde/qtermwidget/releases/download/$pkgver/qtermwidget-$pkgver.tar.xz"
+source="https://github.com/lxqt/qtermwidget/releases/download/$pkgver/qtermwidget-$pkgver.tar.xz"
builddir="$srcdir/qtermwidget-$pkgver"
-# tests can't be built due to CMakeLists.txt errors behind the flag.
+# no tests
options="!check"
build() {
@@ -22,6 +22,7 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
+ mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -30,18 +31,18 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DPULL_TRANSLATIONS=False \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} ..
make
}
check() {
- cd "$builddir"
- make test
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
+ cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
-sha512sums="2e1354b457d49ae2ad37479259549b279f8bb381ce6bce2d18eb3f845af615e796a9d0bd143156b485a1b2abeffc83e686d85f9ee157611b20c8c1bb3254fe82 qtermwidget-0.8.0.tar.xz"
+sha512sums="fc7286dc3494bd1ccdd95fae3cee7cc8dd39b51eab58e697d939d5fb85c930545d79b984769815708852335e460ad063b684291b200e1e7f90c13195ea5e66dc qtermwidget-0.9.0.tar.xz"