---
name: generator-cbiere
version: 0.35.r4_4,1
origin: emulators/generator-cbiere
comment: SEGA Genesis emulator
arch: freebsd:9:x86:64
www: http://www.squish.net/generator/cbiere/generator/
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses:
- GPLv2
flatsize: 1179308
desc: |
  SEGA Genesis emulator

  Modified version of Generator by James Ponder based on version 0.35.

  Additional features:

  * Support for BZIP2, GZIP and ZIP compressed ROMs.
  * Support for X11's XVideo hardware acceleration by SDL for faster and
    smoother graphics.
  * Fullscreen support with or without the classic color frame.
  * SDL audio support (in favour of OSS Audio) which means you can use ESound
    and others for sharing the sound device among other applications.
  * Optional mute playing i.e., if you don't have a soundcard or the soundcard
    is busy you can still play.
  * Support for 48kHz sample rate (needs driver support).
  * Automagic CPU usage reduction which is especially cool for notebooks.
  * Working support for Game Genie codes.

  Author: Christian Biere
  WWW: http://www.squish.net/generator/cbiere/generator/
deps:
  xproto: {origin: x11/xproto, version: 7.0.24}
  xf86vidmodeproto: {origin: x11/xf86vidmodeproto, version: 2.3.1}
  xextproto: {origin: x11/xextproto, version: 7.2.1}
  renderproto: {origin: x11/renderproto, version: 0.11.1}
  randrproto: {origin: x11/randrproto, version: 1.4.0}
  libxcb: {origin: x11/libxcb, version: 1.9.1}
  libXxf86vm: {origin: x11/libXxf86vm, version: 1.1.3}
  libXrender: {origin: x11/libXrender, version: 0.9.8}
  libXrandr: {origin: x11/libXrandr, version: 1.4.1}
  libXi: {origin: x11/libXi, version: '1.7.2,1'}
  libXfixes: {origin: x11/libXfixes, version: 5.0.1}
  libXext: {origin: x11/libXext, version: '1.3.2,1'}
  libXdmcp: {origin: x11/libXdmcp, version: 1.1.1}
  libXdamage: {origin: x11/libXdamage, version: 1.1.4}
  libXau: {origin: x11/libXau, version: 1.0.8}
  libX11: {origin: x11/libX11, version: '1.6.1,1'}
  libSM: {origin: x11/libSM, version: '1.2.1,1'}
  libICE: {origin: x11/libICE, version: '1.0.8,1'}
  kbproto: {origin: x11/kbproto, version: 1.0.6}
  inputproto: {origin: x11/inputproto, version: 2.3}
  fixesproto: {origin: x11/fixesproto, version: 5.0}
  dri2proto: {origin: x11/dri2proto, version: 2.8}
  damageproto: {origin: x11/damageproto, version: 1.2.1}
  gtk: {origin: x11-toolkits/gtk12, version: 1.2.10_22}
  libxml2: {origin: textproc/libxml2, version: 2.8.0_2}
  expat: {origin: textproc/expat2, version: 2.1.0}
  pciids: {origin: misc/pciids, version: 20130818}
  libdrm: {origin: graphics/libdrm, version: 2.4.46}
  libGLU: {origin: graphics/libGLU, version: 9.0.0}
  libGL: {origin: graphics/libGL, version: 8.0.5_4}
  jpeg: {origin: graphics/jpeg, version: 8_4}
  aalib: {origin: graphics/aalib, version: 1.4.r5_6}
  sdl: {origin: devel/sdl12, version: '1.2.15_2,2'}
  pkgconf: {origin: devel/pkgconf, version: 0.9.2_1}
  libpthread-stubs: {origin: devel/libpthread-stubs, version: 0.3_3}
  libpciaccess: {origin: devel/libpciaccess, version: 0.13.2}
  glib: {origin: devel/glib12, version: 1.2.10_13}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- emulators
shlibs_required:
- libjpeg.so.11
- libgtk-12.so.2
- libgdk-12.so.2
- libgmodule-12.so.3
- libglib-12.so.3
- libintl.so.9
- libXi.so.6
- libXext.so.6
- libX11.so.6
- libSDL-1.2.so.11
options: {SDL: off, OPTIMIZED_CFLAGS: off}
files:
  /usr/local/bin/generator-cbiere-gtk: 4320bd5339986915d560df208519d59b396c5e7d06236a1bb80f68a2179efa7d
  /usr/local/share/licenses/generator-cbiere-0.35.r4_4,1/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/generator-cbiere-0.35.r4_4,1/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/generator-cbiere-0.35.r4_4,1/catalog.mk: 5cdf257f0281862982e34f0a996504b6ae9505d75199cfb95661b541cc1787f8
directories:
  /usr/local/share/licenses/generator-cbiere-0.35.r4_4,1/: n
  /usr/local/share/licenses/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  Generator-CBiere has been installed.

  If you are using SDL < 1.2.8 and you only see a black window (with sound), try
  the following (you must have xvattr, otherwise install it from ports):

  xvattr -a XV_AUTOPAINT_COLORKEY -v 1

  If you enabled the option SDL_AUDIO and your sound is delayed try setting the
  variable "sound_maxfields" and "sound_minfields" in your configuration file
  (usually "~/.genrc") to lower values. Like:

  # default: 5
  sound_minfields = 1

  # default: 10
  sound_maxfields = 2

  If you want AVI recording set the environment variable "SDL_VIDEO_YUV_HWACCEL"
  to "0". This will disable hardware support for YUV overlays, which causes the
  smoothing and the green backround when there are no ROMs loaded. But AVIs will
  be correctly produced.

  To gain more performance set the CPUTYPE variable in "make.conf" as appropiate
  (in addition to enabling the build option OPTIMIZED_CFLAGS), then rebuild and
  install generator.

  For more information visit: http://www.ghostwhitecrab.com/generator/
