Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # $OpenBSD: Makefile,v 1.2 2016/08/05 05:47:37 bentley Exp $
  2. COMMENT = generic multi-emulator frontend
  3. V = 1.3.4
  4. DISTNAME = retroarch-$V
  5. CATEGORIES = emulators
  6. HOMEPAGE = http://www.libretro.com/
  7. # GPLv3+
  8. PERMIT_PACKAGE_CDROM = Yes
  9. WANTLIB += EGL GL SDL2 X11 X11-xcb Xext Xinerama Xv Xxf86vm ass
  10. WANTLIB += avcodec avformat avutil c drm freetype gbm m openal
  11. WANTLIB += ossaudio pthread swresample swscale usb-1.0 xcb xkbcommon
  12. WANTLIB += z
  13. GH_ACCOUNT = libretro
  14. GH_PROJECT = RetroArch
  15. GH_TAGNAME = v$V
  16. MAINTAINER = Anthony J. Bentley <anthony@anjbe.name>
  17. RUN_DEPENDS = devel/desktop-file-utils
  18. LIB_DEPENDS = audio/openal \
  19. devel/libusb1 \
  20. devel/sdl2 \
  21. graphics/ffmpeg \
  22. x11/xkbcommon
  23. MAKE_FLAGS = V=1 \
  24. HAVE_OSS=0 \
  25. HAVE_OSS_BSD=0 \
  26. OPTIMIZE_FLAG=
  27. FAKE_FLAGS = GLOBAL_CONFIG_DIR=${PREFIX}/share/examples
  28. USE_GMAKE = Yes
  29. CONFIGURE_STYLE = simple
  30. CONFIGURE_ENV = MAN_DIR=${PREFIX}/man/man1 \
  31. INCLUDE_DIRS="-I${LOCALBASE}/include -I${X11BASE}/include" \
  32. LIBRARY_DIRS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
  33. CONFIGURE_ARGS += --disable-jack \
  34. --disable-pulse \
  35. --disable-oss \
  36. --disable-v4l2 \
  37. --enable-al
  38. NO_TEST = Yes
  39. pre-build:
  40. ${SUBST_CMD} ${WRKSRC}/retroarch.cfg
  41. .include <bsd.port.mk>