freebsd-ports/emulators/kcemu/Makefile
Tobias Kortkamp ed162325bd emulators/kcemu: Fix build with Clang 6
n file included from plotter.cc:26:
../../../include/kc/plotter.h:31:23: error: in-class initializer for static data member of type 'const double' requires 'constexpr' specifier [-Wstatic-float-init]
  static const double WIDTH_MM = 210.0;
                      ^          ~~~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/kcemu-0.5.1_15.log

PR:		230960
Approved by:	hardy.schumacher@gmx.de (maintainer timeout, 2 weeks)
2018-09-10 15:23:20 +00:00

42 lines
1.1 KiB
Makefile

# Created by: Hardy Schumacher <hardy.schumacher@gmx.de>
# $FreeBSD$
PORTNAME= kcemu
PORTVERSION= 0.5.1
PORTREVISION= 15
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/KCemu/KCemu-${PORTVERSION}
DISTNAME= KCemu-${PORTVERSION}
MAINTAINER= hardy.schumacher@gmx.de
COMMENT= KC85 emulator
BUILD_DEPENDS= pngtopnm:graphics/netpbm
LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \
libavformat.so:multimedia/ffmpeg \
libdirac_encoder.so:multimedia/dirac \
libschroedinger-1.0.so:multimedia/schroedinger \
libsndfile.so:audio/libsndfile \
libtheora.so:multimedia/libtheora \
libvncserver.so:net/libvncserver \
libxvidcore.so:multimedia/xvid \
libz80ex.so:devel/z80ex
GNU_CONFIGURE= yes
USE_XORG= xmu
USE_GNOME= gtk20
USES= gettext ncurses pkgconfig
USE_CXXSTD= gnu++98
LDFLAGS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/KCemu-${PORTVERSION}
CONFIGURE_ARGS+=--disable-libmp3lame \
--disable-libflac \
--disable-libgif
DESKTOP_ENTRIES="KCemu" "${COMMENT}" \
"${LOCALBASE}/share/KCemu/icons/kcemu-icon.png" "kcemu" \
"System;Emulator;" "true"
.include <bsd.port.mk>