Dbus is now an option.

This commit is contained in:
Niclas Rosenvik 2014-12-14 14:17:53 +00:00 committed by Thomas Klausner
parent 8bff6cda32
commit 2dafe3c7e3
2 changed files with 13 additions and 5 deletions

View file

@ -1,2 +1 @@
add Dbus option
test with qt5webkit

View file

@ -1,22 +1,31 @@
# $NetBSD: options.mk,v 1.2 2014/12/04 15:51:25 nros Exp $
# $NetBSD: options.mk,v 1.3 2014/12/14 14:17:53 nros Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.qupzilla
PKG_OPTIONS_REQUIRED_GROUPS= qt
PKG_OPTIONS_GROUP.qt= qt4 qt5
PKG_SUGGESTED_OPTIONS= qt4
PKG_SUPPORTED_OPTIONS= dbus
PKG_SUGGESTED_OPTIONS= qt4 dbus
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mqt5)
.include "../../x11/qt5-dbus/buildlink3.mk"
.include "../../x11/qt5-qtscript/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../x11/qt5-dbus/buildlink3.mk"
.else
MAKE_ENV+= DISABLE_DBUS=${TRUE}
.endif
.endif
.if !empty(PKG_OPTIONS:Mqt4)
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
DEPENDS+=qt4-sqlite3>=4.7:../../x11/qt4-sqlite3
.if !empty(PKG_OPTIONS:Mdbus)
.include "../../x11/qt4-dbus/buildlink3.mk"
.else
MAKE_ENV+= DISABLE_DBUS=${TRUE}
.endif
.endif