2019-07-12 20:45:45 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2019/07/12 20:46:08 sthen Exp $
|
2002-02-27 00:37:10 +00:00
|
|
|
|
2007-09-16 00:45:13 +00:00
|
|
|
COMMENT= Free Unix Spectrum Emulator
|
2018-05-02 20:51:14 +00:00
|
|
|
DISTNAME= fuse-1.5.2
|
2002-02-27 00:37:10 +00:00
|
|
|
CATEGORIES= emulators
|
2004-05-08 06:46:45 +00:00
|
|
|
HOMEPAGE= http://fuse-emulator.sourceforge.net/
|
2002-02-27 00:37:10 +00:00
|
|
|
|
2013-01-09 21:14:34 +00:00
|
|
|
# GPLv2+
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2006-09-24 18:23:25 +00:00
|
|
|
|
2018-05-02 20:51:14 +00:00
|
|
|
WANTLIB += FLAC X11 SDL Xext ao audiofile bz2 c gcrypt
|
2017-08-02 19:33:55 +00:00
|
|
|
WANTLIB += glib-2.0 gpg-error iconv intl lzma m ogg pcre png pthread
|
|
|
|
WANTLIB += sndio spectrum usbhid xcb xml2 z
|
2002-02-27 00:37:10 +00:00
|
|
|
|
2004-05-08 06:46:45 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
|
2002-02-27 00:37:10 +00:00
|
|
|
|
2010-11-15 23:22:07 +00:00
|
|
|
LIB_DEPENDS= devel/glib2 \
|
2014-06-09 08:55:00 +00:00
|
|
|
audio/flac \
|
|
|
|
audio/libogg \
|
2010-11-15 23:22:07 +00:00
|
|
|
devel/libspectrum \
|
2014-06-09 08:55:00 +00:00
|
|
|
devel/sdl \
|
2010-11-15 23:22:07 +00:00
|
|
|
graphics/png \
|
|
|
|
textproc/libxml \
|
|
|
|
audio/libao
|
2002-02-27 00:37:10 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2013-06-04 18:41:39 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-12-16 23:36:47 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
LIBS="-lbz2"
|
2010-05-09 18:19:25 +00:00
|
|
|
CONFIGURE_ARGS= --with-libao
|
2002-02-27 00:37:10 +00:00
|
|
|
|
|
|
|
FLAVORS=gtk
|
|
|
|
FLAVOR?=
|
|
|
|
|
2011-12-02 14:36:13 +00:00
|
|
|
.if ${FLAVOR:Mgtk}
|
2017-08-02 19:33:55 +00:00
|
|
|
LIB_DEPENDS+= x11/gtk+3
|
|
|
|
CONFIGURE_ENV+= ao_available=yes
|
2013-01-09 21:14:34 +00:00
|
|
|
|
2014-06-09 08:55:00 +00:00
|
|
|
WANTLIB += Xcomposite Xcursor Xdamage Xfixes Xi Xinerama Xrandr
|
2018-05-02 20:51:14 +00:00
|
|
|
WANTLIB += Xrender Xtst atk-1.0 atk-bridge-2.0 atspi cairo cairo-gobject
|
2017-08-02 19:33:55 +00:00
|
|
|
WANTLIB += dbus-1 epoxy expat ffi fontconfig freetype gdk-3 gdk_pixbuf-2.0
|
|
|
|
WANTLIB += gio-2.0 gmodule-2.0 gobject-2.0 graphite2 gthread-2.0
|
|
|
|
WANTLIB += gtk-3 harfbuzz pango-1.0 pangocairo-1.0 pangoft2-1.0
|
2018-05-02 20:51:14 +00:00
|
|
|
WANTLIB += pixman-1 xcb-render xcb-shm
|
2002-02-27 00:37:10 +00:00
|
|
|
.else
|
2010-05-09 18:19:25 +00:00
|
|
|
CONFIGURE_ARGS+= --without-gtk
|
2018-05-02 20:51:14 +00:00
|
|
|
WANTLIB += ICE SM
|
2002-02-27 00:37:10 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|