95e7dcdbc5
Qt(TM) is a GUI software toolkit. Qt simplifies the task of writing and maintaining GUI (graphical user interface) applications. Qt is written in C++ and is fully object-oriented. It has everything you need to create professional GUI applications. And it enables you to create them quickly. Qt is a multi-platform toolkit. When developing software with Qt, you can run it on the X Window System (Unix/X11) or Microsoft Windows NT and Windows 95/98. Simply recompile your source code on the platform you want. Qt cuts down the complexity in implementing large and complex systems. Its ingenious signal-slot technology enables true component programming. This package tracks Qt5 qtbase submodule.
35 lines
733 B
Makefile
35 lines
733 B
Makefile
# $NetBSD: options.mk,v 1.7 2016/01/18 20:52:43 nros Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.qt5
|
|
PKG_SUPPORTED_OPTIONS= cups debug gtk2
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= cups gtk2
|
|
|
|
.if !empty(PKG_OPTIONS:Mcups)
|
|
. include "../../print/cups15/buildlink3.mk"
|
|
CONFIGURE_ARGS+= -cups
|
|
PLIST.cups= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -no-cups
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk2)
|
|
. include "../../x11/gtk2/buildlink3.mk"
|
|
CONFIGURE_ARGS+= -gtkstyle
|
|
PLIST.gtk2= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -no-gtkstyle
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
# this does not work - builds libQtBoostracp_debug
|
|
CC+= -ggdb
|
|
CXX+= -ggdb
|
|
CONFIGURE_ARGS+= -debug
|
|
INSTALL_UNSTRIPPED= yes
|
|
.else
|
|
CONFIGURE_ARGS+= -release
|
|
CONFIGURE_ARGS+= -no-debug
|
|
.endif
|