pkgsrc/emulators/fs-uae-launcher/Makefile
adam c54ed19caa fs-uae: updated to 3.0.0
Changes in FS-UAE 3.0 (compared to 2.8):
* Fixed JIT direct access on modern Linux distributions.
* FS-UAE default is now to show a 692×540 image, not stretched to fill screen.
* Built-in configurations for many more game controllers.
* New option whdload_quit_key to gracefully quit slaves.
* Added more shaders (compiled/ported/written by guest.r and rsn8887).
* Updated emulation core from WinUAE 3300b2.
* Several new configuration options (see Changelog for details).
* Many more smaller fixes and updates (see Changelog for details).

Changes in FS-UAE Launcher 3.0 (compared to 2.8):
* Plugins can provide files for offline use (WHDLoad, JST, SKick, etc).
* Added support for .gz/.adz/.roz/.xz-compressed files.
* Support WHDLoad versions 18.4 and 18.5 (game database).
* Revert fullscreen_mode to default when upgrading from older versions.
* Use https for all more fs-uae.net and openretro.org communication.
* Support hd_requirements = xpkmaster.library.
* Fixed problem on Windows where devices were sometimes not detected.
* Make configurations list wider when window width is quite large.
* Try to use config from game database when launching with a WHDLoad archive.
* Extract WHDLoad arguments from .info file when loading a WHDLoad archive.
* Sync “unpublished” games from the online game database, option to show.
* Many bugfixes and smaller improvements (see Changelog for details).

Build-related:
* Only x86-64 (64-bit) official builds for Windows and macOS and Linux.
* Building for x86 (32-bit) still works on all platforms.
* 32-bit packages for Ubuntu, Debian, Fedora and openSUSE are still available.
* Builds for macOS require 10.9+. The source can be built for older versions.
2019-08-22 18:35:22 +00:00

53 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2019/08/22 18:35:22 adam Exp $
DISTNAME= fs-uae-launcher-3.0.0
CATEGORIES= emulators
MASTER_SITES= https://fs-uae.net/stable/${PKGVERSION_NOREV}/
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://fs-uae.net/
COMMENT= Graphical launcher for FS-UAE, the Amiga Emulator
LICENSE= gnu-gpl-v2
DEPENDS+= fs-uae>=${PKGVERSION_NOREV}:../../emulators/fs-uae
DEPENDS+= ${PYPKGPREFIX}-lhafile-[0-9]*:../../archivers/py-lhafile
DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-qt5>=5.4:../../x11/py-qt5
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Cocoa>=3:../../devel/py-pyobjc-framework-Cocoa
DEPENDS+= ${PYPKGPREFIX}-pyobjc-framework-Quartz>=3:../../devel/py-pyobjc-framework-Quartz
.endif
INSTALL_TARGET= install-data
USE_TOOLS+= gmake msgfmt
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYSETUPINSTALLARGS= --install-lib=${PREFIX:Q}/share/fs-uae-launcher
PYSETUPINSTALLARGS+= --install-scripts=${PREFIX:Q}/share/fs-uae-launcher
REPLACE_PYTHON+= fs-uae-launcher
INSTALLATION_DIRS+= bin
SUBST_CLASSES+= prefix
SUBST_MESSAGE.prefix= Fixing installation prefix.
SUBST_STAGE.prefix= pre-configure
SUBST_FILES.prefix= Makefile
SUBST_FILES.prefix+= fs_uae_launcher/FSUAELauncher.py
SUBST_FILES.prefix+= game_center/gamecenterutil.py
SUBST_SED.prefix= -e 's,/usr/local,${PREFIX},'
post-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} \
-f ${MAKE_FILE} ${INSTALL_TARGET}
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f fs-uae-launcher && \
${LN} -s ../share/fs-uae-launcher/fs-uae-launcher fs-uae-launcher
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"