diff options
author | wiz <wiz> | 2012-10-31 22:48:54 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-10-31 22:48:54 +0000 |
commit | 17237f8ae1f3a49186ffdf631968f2d48fcb2735 (patch) | |
tree | 2486173f56a05c007ad9e67b24d68356eea106ed /emulators/yabause | |
parent | c80ff615ffca3f14c770f15d2fb1128baceb097d (diff) | |
download | pkgsrc-17237f8ae1f3a49186ffdf631968f2d48fcb2735.tar.gz |
Put gtk and qt in a mutual-exclusive group, and switch to qt by default,
since that's preferred by upstream. From diro@nixsyspaus.org in PR 47148.
Bump PKGREVISION.
Diffstat (limited to 'emulators/yabause')
-rw-r--r-- | emulators/yabause/Makefile | 4 | ||||
-rw-r--r-- | emulators/yabause/options.mk | 21 |
2 files changed, 13 insertions, 12 deletions
diff --git a/emulators/yabause/Makefile b/emulators/yabause/Makefile index 432f291ced5..5d0f64701fa 100644 --- a/emulators/yabause/Makefile +++ b/emulators/yabause/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2012/10/16 17:47:20 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2012/10/31 22:48:54 wiz Exp $ DISTNAME= yabause-0.9.11.1 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=yabause/} diff --git a/emulators/yabause/options.mk b/emulators/yabause/options.mk index 42408f295d6..09c874eb7e8 100644 --- a/emulators/yabause/options.mk +++ b/emulators/yabause/options.mk @@ -1,8 +1,11 @@ -# $NetBSD: options.mk,v 1.1 2011/11/30 12:07:52 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2012/10/31 22:48:54 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.yabause -PKG_SUPPORTED_OPTIONS= gtk openal qt -PKG_SUGGESTED_OPTIONS= gtk +PKG_SUPPORTED_OPTIONS= openal +PKG_OPTIONS_OPTIONAL_GROUPS= GUI +PKG_OPTIONS_GROUP.GUI= gtk qt + +PKG_SUGGESTED_OPTIONS= qt .include "../../mk/bsd.options.mk" @@ -10,7 +13,11 @@ PKG_SUGGESTED_OPTIONS= gtk #BUILD_DEPENDS+= doxygen>=1.6.3:../../devel/doxygen #.endif -.if !empty(PKG_OPTIONS:Mgtk) +.if !empty(PKG_OPTIONS:Mqt) +CONFIGURE_ENV+= YAB_PORTS=qt +CMAKE_ARGS+= -DYAB_PORTS=qt +.include "../../x11/qt4-tools/buildlink3.mk" +.elif !empty(PKG_OPTIONS:Mgtk) CONFIGURE_ENV+= YAB_PORTS=gtk CMAKE_ARGS+= -DYAB_PORTS=gtk CMAKE_ARGS+= -DGTK2_GDKCONFIG_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.gtk2}/lib/gtk-2.0/include @@ -23,9 +30,3 @@ BUILDLINK_API_DEPENDS.gtkglext+= gtkglext>=1.2.0nb4 .if !empty(PKG_OPTIONS:Mopenal) .include "../../audio/openal/buildlink3.mk" .endif - -.if !empty(PKG_OPTIONS:Mqt) -CONFIGURE_ENV+= YAB_PORTS=qt -CMAKE_ARGS+= -DYAB_PORTS=qt -.include "../../x11/qt4-tools/buildlink3.mk" -.endif |