summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 13:13:45 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-06-06 13:13:45 -0500
commitedee15c07a14716e4c35315ca5c6d8ed422231f5 (patch)
tree08301e5d96f6330d88a6662ae93f83302753380f /user
parentcb416f0b5ad967064b863c00f58c0a2f8266ac06 (diff)
downloadpackages-edee15c07a14716e4c35315ca5c6d8ed422231f5.tar.gz
packages-edee15c07a14716e4c35315ca5c6d8ed422231f5.tar.bz2
packages-edee15c07a14716e4c35315ca5c6d8ed422231f5.tar.xz
packages-edee15c07a14716e4c35315ca5c6d8ed422231f5.zip
user/qtermwidget: bump to 0.9.0
Diffstat (limited to 'user')
-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"