openbsd-ports/emulators/vbam/Makefile
bentley 2521265650 Disable ffmpeg in vbam's configure, since it's not actually used.
ffmpeg is only used in the wx frontend, which doesn't build on OpenBSD
(for unrelated reasons).

From Mikolaj Kucharski, ok dcoppa@
2012-07-09 06:01:01 +00:00

53 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2012/07/09 06:01:01 bentley Exp $
COMMENT = emulator for Nintendo Game Boy (Color/Advance)
DISTNAME = vbam-1.8.0.1054-src
PKGNAME = ${DISTNAME:S/-src//}
REVISION= 0
CATEGORIES = emulators
HOMEPAGE = http://www.vba-m.com
# GPLv2+ (see doc/License.txt)
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL GLU ICE SDL SM X11 Xcomposite Xcursor Xdamage Xext
WANTLIB += Xfixes Xi Xinerama Xmu Xrandr Xrender Xt atk-1.0 atkmm-1.6
WANTLIB += c cairo cairomm-1.0 expat fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gdkglext-x11-1.0 gdkglextmm-x11-1.2
WANTLIB += gdkmm-2.4 gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 gmodule-2.0
WANTLIB += gobject-2.0 gtk-x11-2.0 gtkglext-x11-1.0 gtkglextmm-x11-1.2
WANTLIB += gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pangomm-1.4 pangox-1.0 pixman-1 png pthread pthread-stubs
WANTLIB += sigc-2.0 stdc++ xcb xcb-render xcb-shm z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=vbam/}
MODULES = devel/cmake \
devel/gettext
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
LIB_DEPENDS = devel/sdl \
x11/gtkglextmm
NO_REGRESS = Yes
WRKDIST = ${WRKDIR}/${DISTNAME:S/-src//}
# requires posix_openpt
CONFIGURE_ARGS += -DENABLE_WX=OFF -DENABLE_FFMPEG=OFF
VMEM_WARNING = Yes
pre-fake:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vbam
.include <bsd.port.mk>