falkon: add KDE build option.

This allows to build falkon without optional KDE libraries.
This commit is contained in:
travankor 2020-09-22 09:12:34 -07:00 committed by Piraty
parent 51b0ea9728
commit dda8915190
1 changed files with 6 additions and 2 deletions

View File

@ -4,11 +4,11 @@ version=3.1.0
revision=4
build_style=cmake
hostmakedepends="extra-cmake-modules gettext pkg-config
qt5-qmake qt5-host-tools python3 kcoreaddons"
qt5-qmake qt5-host-tools python3 $(vopt_if kde kcoreaddons)"
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
qt5-plugin-sqlite qt5-plugin-tds qt5-declarative-devel qt5-webchannel-devel
qt5-webengine-devel qt5-location-devel qt5-x11extras-devel qt5-tools-devel
kwallet-devel kio-devel purpose-devel"
$(vopt_if kde 'kwallet-devel kio-devel purpose-devel' 'ki18n-devel xcb-util-devel')"
depends="qt5-plugin-sqlite"
short_desc="Cross-platform Qt Web Browser"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
@ -18,3 +18,7 @@ distfiles="${KDE_SITE}/falkon/${version%.*}/falkon-${version}.tar.xz"
checksum=ce743cd80c0e2d525a784e29c9b487f73480119b0567f9ce8ef1f44cca527587
LDFLAGS="-Wl,--no-fatal-warnings"
build_options="kde"
desc_option_kde="KDE integration"
build_options_default="kde"