8c0e4c53af
If GTK3 is selected (now the default), we must explicitly depend on adwaita-icon-theme, otherwise various fundamental toolbar icons will be missing (unless, of course, another package has already installed it, which is why I didn't notice before). Bump PKGREVISION to note this fix.
21 lines
559 B
Makefile
21 lines
559 B
Makefile
# $NetBSD: options.mk,v 1.3 2019/04/04 04:13:51 gutteridge Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.geany
|
|
PKG_OPTIONS_REQUIRED_GROUPS+= toolkit
|
|
PKG_OPTIONS_GROUP.toolkit= gtk2 gtk3
|
|
PKG_SUGGESTED_OPTIONS= gtk3
|
|
|
|
PLIST_VARS+= gtk2 gtk3
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mgtk3)
|
|
.include "../../graphics/adwaita-icon-theme/buildlink3.mk"
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-gtk3
|
|
PLIST.gtk3= yes
|
|
.else
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
# No CONFIGURE_ARGS needed, it's the default
|
|
PLIST.gtk2= yes
|
|
.endif
|