aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gtksourceview4
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-25 09:10:32 -0300
committerTBK <tbk@jjtc.eu>2019-05-25 16:57:18 +0200
commit70729c17cc2ac868cf50efbffab7ed8684d1bc59 (patch)
tree1cd0c628cac4b2b9fb4e5bb2f37d84e69255695f /testing/gtksourceview4
parent34a7745440649cbd6e64624283099fe67f8651f7 (diff)
downloadaports-70729c17cc2ac868cf50efbffab7ed8684d1bc59.tar.bz2
aports-70729c17cc2ac868cf50efbffab7ed8684d1bc59.tar.xz
testing/gtksourceview4: enable tests
Closes: GH-8060
Diffstat (limited to 'testing/gtksourceview4')
-rw-r--r--testing/gtksourceview4/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/gtksourceview4/APKBUILD b/testing/gtksourceview4/APKBUILD
index 11384bca33..0ab9c95fbb 100644
--- a/testing/gtksourceview4/APKBUILD
+++ b/testing/gtksourceview4/APKBUILD
@@ -9,14 +9,13 @@ license="GPL-2.0-or-later"
replaces="gtksourceview"
depends_dev="gtk+3.0-dev libxml2-dev"
makedepends="$depends_dev gobject-introspection-dev vala libxslt"
+checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gtksourceview/${pkgver%.*}/gtksourceview-$pkgver.tar.xz"
-options="!check" # testsuite requires graphical interface
builddir="$srcdir/gtksourceview-$pkgver"
build() {
- cd "$builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -25,8 +24,11 @@ build() {
make
}
+check() {
+ xvfb-run make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f2350b1e7042309c01be0feda6059d788a7ef55c4ccd48e16b4c92a71292ed6f92243455ca42aa0950db61de8d68f4a76f4fac46cd46316b690bcef1ea34c641 gtksourceview-4.2.0.tar.xz"