From fc2364ec5b972521fb6ad63a82c943606a1b0864 Mon Sep 17 00:00:00 2001 From: SolitudeSF Date: Mon, 11 Jun 2018 10:15:57 +0300 Subject: [PATCH] gede: add qt5 as default build option --- srcpkgs/gede/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/gede/template b/srcpkgs/gede/template index c5defd1c349..159f20b2b9a 100644 --- a/srcpkgs/gede/template +++ b/srcpkgs/gede/template @@ -3,9 +3,11 @@ pkgname=gede version=2.8.1 revision=1 build_style=qmake +build_options="qt5" +build_options_default="qt5" build_wrksrc="src" -hostmakedepends="python qt-qmake" -makedepends="qt-devel" +hostmakedepends="python $(vopt_if qt5 qt5-qmake qt-qmake)" +makedepends="$(vopt_if qt5 qt5-devel qt-devel)" depends="gdb ctags" short_desc="Graphical frontend (GUI) to GDB written in Qt" maintainer="Andrea Brancaleoni " @@ -15,7 +17,7 @@ distfiles="http://gede.acidron.com/uploads/source/${pkgname}-${version}.tar.xz" checksum=614e0ebdf2873427fe5dda17a0667b44305ea1879f1239318dbfccf40c88ab1d if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt-host-tools qt-devel" + hostmakedepends+=" $(vopt_if qt5 'qt5-host-tools qt5-devel' 'qt-host-tools qt-devel')" fi do_install() {