mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Sadly, remove support for the expired Qt 3.x port
- Rename GUI option to X11, to allow for umbrella X11-less builds PR: ports/180276 Submitted by: rene
This commit is contained in:
parent
397c522dca
commit
7ddd7f8152
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322312
@ -20,12 +20,11 @@ PLIST_FILES= bin/nvclock bin/smartdimmer
|
||||
MAN1= nvclock.1
|
||||
PORTDOCS= ABOUT AUTHORS ChangeLog FAQ README
|
||||
|
||||
OPTIONS_DEFINE= NVCONTROL GTK2 QT3 DOCS
|
||||
OPTIONS_DEFAULT= NVCONTROL GTK2
|
||||
OPTIONS_DEFINE= NVCONTROL X11 DOCS
|
||||
OPTIONS_DEFAULT= NVCONTROL X11
|
||||
|
||||
NVCONTROL_DESC= NV-CONTROL support (for OpenGL settings)
|
||||
GTK2_DESC= Build GTK+ 2 GUI program
|
||||
QT3_DESC= Build Qt 3.x (legacy) GUI program
|
||||
X11_DESC= Build GUI program (requires GTK+ 2.x)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
@ -36,19 +35,13 @@ USE_GNOME= pkgconfig
|
||||
CONFIGURE_ARGS+= --disable-nvcontrol
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGTK2}
|
||||
.if ${PORT_OPTIONS:MX11}
|
||||
USE_GNOME= gtk20
|
||||
PLIST_FILES+= bin/nvclock_gtk
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gtk
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQT3}
|
||||
USE_QT_VER= 3
|
||||
CONFIGURE_ARGS+= --enable-qt --with-qtdir=${LOCALBASE}
|
||||
PLIST_FILES+= bin/nvclock_qt
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Uphold our C[XX]FLAGS except for backend part, it must be compiled with -O0
|
||||
@${REINPLACE_CMD} -E 's|^(C(XX)?FLAGS)=|\1+=|' \
|
||||
|
Loading…
Reference in New Issue
Block a user