Index: head/emulators/dolphin-emu/Makefile =================================================================== --- head/emulators/dolphin-emu/Makefile (revision 512443) +++ head/emulators/dolphin-emu/Makefile (revision 512444) @@ -1,86 +1,86 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= dolphin-emu PORTVERSION= 5.0.9209 PORTREVISION= 4 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Gamecube and Wii Emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/license.txt BROKEN_aarch64= fails to build: Source/Core/Common/ArmCPUDetect.cpp:5:10: fatal error: 'asm/hwcap.h' file not found # Notes on dependencies: # - alsa support disabled (not optimal) # - enet and soundtouch come from Externals/ as Dolphin's versions diverge # (see comments in CMakeLists.txt) # Various problems that may be addressed in the future: # - xxhash comes from Externals/ as it cannot be properly detected yet # - gtest detection is missing (Externals/ version enforced by CMakeLists.txt) # - cubeb comes from Externals/ as it is not available from ports yet LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libavcodec.so:multimedia/ffmpeg \ libavdevice.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libpugixml.so:textproc/pugixml \ liblzo2.so:archivers/lzo2 \ libpng.so:graphics/png \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libsfml-system.so:devel/sfml \ libminiupnpc.so:net/miniupnpc \ libmbedtls.so:security/mbedtls \ libcurl.so:ftp/curl \ libhidapi.so:comms/hidapi USES= cmake compiler:c++17-lang desktop-file-utils gl iconv \ - pkgconfig qmake qt:5 sdl + pkgconfig qmake qt:5 sdl xorg USE_GITHUB= yes GH_PROJECT= dolphin GH_TAGNAME= 2dcd058 USE_GL= gl glew glu USE_SDL= sdl2 USE_XORG= ice sm x11 xext xi xrandr USE_QT= buildtools_build core gui widgets CMAKE_ARGS+= -DTRY_X11:BOOL=ON \ -DUSE_UPNP:BOOL=ON \ -DENABLE_QT:BOOL=ON \ -DENABLE_ALSA:BOOL=OFF \ -DENABLE_PULSEAUDIO:BOOL=ON \ -DUSE_DISCORD_PRESENCE:BOOL=OFF \ -DCMAKE_REQUIRED_INCLUDES:PATH="${LOCALBASE}/include" \ -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" MAKE_ENV+= DESTDIR="${STAGEDIR}" # XXX Fix build on archs where 'unsigned long' is 32bit CXXFLAGS+= -DLZO_CFG_PREFER_TYPEOF_ACC_INT32E_T=LZO_TYPEOF_INT # XXX Bypass git check (and set a dummy -unused- revision) CMAKE_ARGS+= -DDOLPHIN_WC_BRANCH:STRING="stable" \ -DDOLPHIN_WC_REVISION:STRING="1" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include # JIT-enabled binaries are amd64 and aarch64 only .if ${ARCH} != "amd64" && ${ARCH} != "aarch64" CMAKE_ARGS+= -DENABLE_GENERIC:BOOL=ON .endif .include Index: head/emulators/jzintv/Makefile =================================================================== --- head/emulators/jzintv/Makefile (revision 512443) +++ head/emulators/jzintv/Makefile (revision 512444) @@ -1,56 +1,56 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= jzintv PORTVERSION= 1.0b4 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= http://spatula-city.org/~im14u2c/intv/dl/ DISTFILES= ${PORTNAME}-1.0-beta4-src${EXTRACT_SUFX} \ ${PORTNAME}-1.0-beta4-sdk1600${EXTRACT_SUFX} MAINTAINER= martymac@FreeBSD.org COMMENT= Portable Intellivision(TM) Emulator LICENSE= GPLv2 -USES= alias gmake sdl zip +USES= alias gmake sdl xorg zip USE_XORG= x11 xau xdmcp USE_SDL= sdl CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` -lm WRKSRC= ${WRKDIR}/jzintv-1.0-beta4 BUILD_WRKSRC= ${WRKSRC}/src OPTIONS_DEFINE= TOOLS DOCS EXAMPLES OPTIONS_SUB= yes TOOLS_DESC= Install additional tools TOOLS= as1600 bin2rom cgc_update crc32 dasm0256 dasm1600 dasm1600o dis1600 \ frombit frombit_r fromhex gms2rom imvtogif imvtoppm rom2bin rom_merge \ show_grom split_rom tobit tobit_f tobit_r tohex SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} '288s|/usr/local/share/jzintv|${DATADIR}|' ${BUILD_WRKSRC}/config.h @${CP} ${BUILD_WRKSRC}/Makefile.freebsd ${BUILD_WRKSRC}/Makefile pre-build: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/rom do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/rom ${INSTALL_DATA} ${WRKSRC}/rom/*.rom ${STAGEDIR}${DATADIR}/rom/ ${INSTALL_PROGRAM} ${WRKSRC}/bin/jzintv ${STAGEDIR}${PREFIX}/bin/jzintv .for tool in ${TOOLS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${STAGEDIR}${PREFIX}/bin/jzintv-${tool} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/emulators/pcsxr/Makefile =================================================================== --- head/emulators/pcsxr/Makefile (revision 512443) +++ head/emulators/pcsxr/Makefile (revision 512444) @@ -1,88 +1,88 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= pcsxr PORTVERSION= 1.9.95.20180604 PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Playstation (PSX) emulator LICENSE= GPLv3+ ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libcdio.so:sysutils/libcdio \ libavformat.so:multimedia/ffmpeg USES= cmake desktop-file-utils dos2unix gettext gl gnome iconv \ - libarchive libtool pkgconfig sdl tar:bzip2 + libarchive libtool pkgconfig sdl tar:bzip2 xorg USE_GITHUB= yes GH_ACCOUNT= martymac GH_TAGNAME= codeplex-final USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 intltool glib20 USE_XORG= ice sm x11 xv xext xxf86vm xtst USE_SDL= sdl2 USE_GL= gl INSTALLS_ICONS= yes WRKSRC_SUBDIR= ${PORTNAME} CMAKE_ARGS+= -DDL_LIB:STRING="" \ -DMANPREFIX:STRING="${MANPREFIX}" \ -DBUILD_OPENGL:BOOL=ON \ -DBUILD_SIO1:BOOL=ON \ -DUSE_LIBCDIO:BOOL=ON \ -DENABLE_CCDDA:BOOL=ON \ -DUSE_LIBARCHIVE:BOOL=ON DOS2UNIX_REGEX= .*\.(c|h|cpp|hpp|am) PORTDOCS= ChangeLog README # Default CDROM device to use with dfcdrom, # accessed through libcdio (using cam(4) and pass(4)) DEFAULT_DVD_DEVICE?= /dev/cd0 # XXX Gettext support is mandatory and cannot really be disabled. # The following option only enables/disables building *additional* translations OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_DESC= Build additional NLS translations NLS_CMAKE_ON= -DDISABLE_NLS_TRANSLATIONS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS_TRANSLATIONS:BOOL=ON .include post-patch: # Add ${PREFIX} to plugins' lookup directories @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \ ${WRKSRC}/gui/LnxMain.c # Set default CDROM device @${REINPLACE_CMD} "s|%%DVD_DEVICE%%|${DEFAULT_DVD_DEVICE}|" \ ${WRKSRC}/plugins/dfcdrom/cdr.h # Fix PSEMU_DATA_DIR and DEF_PLUGIN_DIR @${REINPLACE_CMD} \ -e "s|games/||g" \ -e "s|psemu|${PORTNAME}|g" \ ${WRKSRC}/gui/CMakeLists.txt \ ${WRKSRC}/plugins/bladesio1/CMakeLists.txt \ ${WRKSRC}/plugins/dfcdrom/CMakeLists.txt \ ${WRKSRC}/plugins/dfinput/CMakeLists.txt \ ${WRKSRC}/plugins/dfnet/CMakeLists.txt \ ${WRKSRC}/plugins/dfsound/CMakeLists.txt \ ${WRKSRC}/plugins/dfxvideo/CMakeLists.txt \ ${WRKSRC}/plugins/nullsio1/CMakeLists.txt \ ${WRKSRC}/plugins/peopsxgl/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/briquolo/Makefile =================================================================== --- head/games/briquolo/Makefile (revision 512443) +++ head/games/briquolo/Makefile (revision 512444) @@ -1,37 +1,37 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= briquolo PORTVERSION= 0.5.7 PORTREVISION= 15 CATEGORIES= games MASTER_SITES= http://briquolo.free.fr/download/ MAINTAINER= martymac@FreeBSD.org COMMENT= Breakout clone with an OpenGL 3D representation LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png -USES= tar:bzip2 gl gmake iconv desktop-file-utils sdl +USES= tar:bzip2 gl gmake iconv desktop-file-utils sdl xorg USE_GL= gl USE_SDL= mixer sdl ttf USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="${PORTVERSION}" # Mandatory: wants to link against libintl anyway USES+= gettext PLIST_SUB+= NLS="" post-patch: ${REINPLACE_CMD} -e 's|png_infopp_NULL|NULL|g' \ -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ ${WRKSRC}/src/MOGL/MOGL_Image.cpp .include Index: head/games/cosmosmash/Makefile =================================================================== --- head/games/cosmosmash/Makefile (revision 512443) +++ head/games/cosmosmash/Makefile (revision 512444) @@ -1,38 +1,38 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= cosmosmash DISTVERSION= 1.4.7 PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://perso.b2b2c.ca/~sarrazip/dev/ \ LOCAL/martymac MAINTAINER= martymac@FreeBSD.org COMMENT= Clone of the Intellivision(TM) game Astrosmash(TM) LICENSE= GPLv2 LIB_DEPENDS= libflatzebra-0.1.so:devel/flatzebra \ libaa.so:graphics/aalib \ libmikmod.so:audio/libmikmod \ libaudiofile.so:audio/libaudiofile -USES= iconv pkgconfig desktop-file-utils sdl +USES= iconv pkgconfig desktop-file-utils sdl xorg USE_CXXSTD= gnu++98 USE_SDL= sdl image mixer USE_XORG= x11 xau xdmcp GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` LDFLAGS+= -lpthread -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' \ ${WRKSRC}/Makefile.in .include Index: head/games/openalchemist/Makefile =================================================================== --- head/games/openalchemist/Makefile (revision 512443) +++ head/games/openalchemist/Makefile (revision 512444) @@ -1,48 +1,48 @@ # Created by: Ganael LAPLANCHE # $FreeBSD$ PORTNAME= openalchemist PORTVERSION= 0.3 PORTREVISION= 21 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= martymac@FreeBSD.org COMMENT= Tetris-like game LICENSE= GPLv2+ CC-BY-SA-2.0 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libclanCore.so:devel/clanlib1 \ libpng.so:graphics/png USES= autoreconf gl gmake gnome iconv jpeg pkgconfig python:2.7,run \ - sdl shebangfix + sdl shebangfix xorg USE_GNOME= pygtk2 USE_XORG= xxf86vm xi x11 xmu xext xdamage xfixes xau xdmcp xt sm ice USE_GL= gl glu USE_SDL= sdl gfx CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib GNU_CONFIGURE= yes SHEBANG_FILES= openalchemist-config PORTDOCS= AUTHORS ChangeLog README TODO OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' -e 's|^%|#|g' ${WRKSRC}/configure.ac @${REINPLACE_CMD} -E -e 's|0.8|1.0|g' ${WRKSRC}/build/Makefile.am @${REINPLACE_CMD} -E -e 's|^dist_pkgdata_DATA =.*|dist_pkgdata_DATA = data/* skins/aqua.zip skins/brushed.zip skins/vectoriel.zip|g' ${WRKSRC}/Makefile.am post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/openjazz/Makefile =================================================================== --- head/games/openjazz/Makefile (revision 512443) +++ head/games/openjazz/Makefile (revision 512444) @@ -1,34 +1,34 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= openjazz PORTVERSION= 20190106 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine LICENSE= GPLv2 -USES= dos2unix gmake sdl +USES= dos2unix gmake sdl xorg USE_XORG= x11 xext xrandr xrender xau xdmcp USE_SDL= sdl USE_GITHUB= yes GH_ACCOUNT= AlisterT DOS2UNIX_REGEX= .*\.(h|cpp) ALL_TARGET= OpenJazz CXXFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ -DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR LDFLAGS+= -lpthread -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/openjazz.000 ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz .include