aboutsummaryrefslogtreecommitdiff
path: root/emulators/emu64/Makefile
blob: a9d36a5fb73c7d78239d9f72d1c981b20d48b435 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
PORTNAME=	emu64
DISTVERSION=	5.1.0
PORTREVISION=	1
CATEGORIES=	emulators

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Commodore 64 emulator
WWW=		https://github.com/ThKattanek/emu64

BROKEN=		Does not build with ffmpeg > 6

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libquazip1-qt5.so:archivers/quazip@qt5 \
		libpng.so:graphics/png \
		libavcodec.so:multimedia/ffmpeg

USES=		compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \
		qmake:outsource qt:5 sdl
USE_GL=		gl glu
USE_QT=		core gui network widgets buildtools:build linguisttools:build

DOS2UNIX_GLOB=	*.cpp *.h

USE_SDL=	sdl2 image2
USE_GITHUB=	yes
GH_ACCOUNT=	ThKattanek

OPTIONS_DEFINE=	DOCS

.if !exists(/usr/include/omp.h)
USE_GCC=	yes
.endif

.include <bsd.port.mk>