From edee15c07a14716e4c35315ca5c6d8ed422231f5 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Wed, 6 Jun 2018 13:13:45 -0500 Subject: user/qtermwidget: bump to 0.9.0 --- user/qtermwidget/APKBUILD | 19 ++++++++++--------- 1 file 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 # Maintainer: Kiyoshi Aman 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" -- cgit v1.2.3-70-g09d2