diff options
author | wiz <wiz@pkgsrc.org> | 2012-10-31 22:48:54 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-10-31 22:48:54 +0000 |
commit | 0a413a403a1f59a595f7cdb1fcf7c9d02804f9de (patch) | |
tree | 2486173f56a05c007ad9e67b24d68356eea106ed /emulators | |
parent | 8d33bfd93cf7b07e783924a1e74b9322be05062c (diff) | |
download | pkgsrc-0a413a403a1f59a595f7cdb1fcf7c9d02804f9de.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')
-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 |