openbsd-ports/emulators/fuse/Makefile
fcambus 1b74f8e475 Update fuse to 1.4.1.
OK benoit@
2017-10-18 15:56:42 +00:00

50 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.42 2017/10/18 15:56:42 fcambus Exp $
COMMENT= Free Unix Spectrum Emulator
DISTNAME= fuse-1.4.1
CATEGORIES= emulators
HOMEPAGE= http://fuse-emulator.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += FLAC ICE SDL SM X11 Xext ao audiofile bz2 c gcrypt
WANTLIB += glib-2.0 gpg-error iconv intl lzma m ogg pcre png pthread
WANTLIB += sndio spectrum usbhid xcb xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fuse-emulator/}
LIB_DEPENDS= devel/glib2 \
audio/flac \
audio/libogg \
devel/libspectrum \
devel/sdl \
graphics/png \
textproc/libxml \
audio/libao
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lbz2"
CONFIGURE_ARGS= --with-libao
FLAVORS=gtk
FLAVOR?=
.if ${FLAVOR:Mgtk}
LIB_DEPENDS+= x11/gtk+3
CONFIGURE_ENV+= ao_available=yes
WANTLIB += Xcomposite Xcursor Xdamage Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender atk-1.0 atk-bridge-2.0 atspi cairo cairo-gobject
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
WANTLIB += pixman-1 pthread-stubs xcb-render xcb-shm
.else
CONFIGURE_ARGS+= --without-gtk
.endif
.include <bsd.port.mk>