pkgsrc/emulators/yabause/options.mk
snj f1815556ef Update yabause to 0.9.14.
Changes:
 general:
  - Fixed crash when bin is not found in a bin/cue.
  - Added Traditional Chinese translation.
  - Added Japanese translation.
  - Added Russian translation.
  - Updated German translation.
  - Added inline SH2 assembler function to main emulation code.
  - Fixed miscellaneous memory leak/uninitialized variables.
  - Added Stunner/Virtua Gun emulation
  - Added USB Dev cartridge emulation
  - Added SDL2 support
 emulated bios:
  - Work around fix for games trying to change scu mask from slave sh2
    when using hle bios. Fixes Astal.
 gtk port:
  - Added extra checks to resolution setting to avoid potential leaks
    or crashing.
 qt port:
  - Fixed an issue where coff/elf files weren't selectable when using
    memory transfer function.
  - Fixed a bug where qt volume slider wasn't showing the saved value
    on startup.
  - Mouse will now optionally auto-hide with no movement
  - Added gui for inline assembler.
  - Revised Mouse emulation handling, added sensitivity setting.
  - Other fixes
 video:
  - Fixed a bug where coordinate y increment wasn't being initialized under
    a specific set of circumstances. Should fix hang in Radiant Silvergun
    using OpenGL rendering.
  - Fixed Special Color Calculation mode 2
2015-02-13 05:45:09 +00:00

51 lines
1.5 KiB
Makefile

# $NetBSD: options.mk,v 1.5 2015/02/13 05:45:09 snj Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.yabause
PKG_SUPPORTED_OPTIONS= openal opengl sdl
PKG_OPTIONS_OPTIONAL_GROUPS= GUI SDL
PKG_OPTIONS_GROUP.GUI= gtk qt
PKG_OPTIONS_GROUP.SDL= sdl sdl2
PKG_SUGGESTED_OPTIONS= qt sdl2
.include "../../mk/bsd.options.mk"
#.if !empty(PKG_OPTIONS:Mdoxygen)
#BUILD_DEPENDS+= doxygen>=1.6.3:../../devel/doxygen
#.endif
.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
CMAKE_ARGS+= -DGTK2_GLIB_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.glib2}/include/glib/glib-2.0
CMAKE_ARGS+= -DGTK2_GLIBCONFIG_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.glib2}/lib/glib-2.0/include
BUILDLINK_API_DEPENDS.gtkglext+= gtkglext>=1.2.0nb4
.include "../../graphics/gtkglext/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopenal)
.include "../../audio/openal/buildlink3.mk"
CMAKE_ARGS+= -DYAB_WANT_OPENAL=ON
.else
CMAKE_ARGS+= -DYAB_WANT_OPENAL=OFF
.endif
.if !empty(PKG_OPTIONS:Mopengl)
.include "../../graphics/glut/buildlink3.mk"
CMAKE_ARGS+= -DYAB_WANT_OPENGL=ON
.else
CMAKE_ARGS+= -DYAB_WANT_OPENGL=OFF
.endif
.if !empty(PKG_OPTIONS:Msdl)
.include "../../devel/SDL/buildlink3.mk"
CMAKE_ARGS+= -DYAB_WANT_SDL1=ON
.elif !empty(PKG_OPTIONS:Msdl2)
.include "../../devel/SDL2/buildlink3.mk"
CMAKE_ARGS+= -DYAB_WANT_SDL2=ON
.endif