89bc65e5b2
Changes since v1.41 v1.43 - 13.01.2021 - Sample tuning is now slightly more accurate when importing .IFF/.WAV/.AIFF samples. It can still be off by up to several cents, but this is because of a rather low sample pitch precision in FT2 (5-bit finetune + relative note). - Bugfix: Fixed some scrollbar bugs in the instrument editor (when changing values, then changing instrument, and changing values again). - New feature: Display middle-C (C-4) frequency in the instrument editor - Some small optimizations and minor bugfixes v1.42 - 01.01.2021 - Updated SDL from version 2.0.12 to version 2.0.14 - Windows: Because of a bugfix in SDL 2.0.14, the instrument selector keys (numpad) still work like they should regardless of the numlock state. - Changed a flag when setting up the video renderer so that the program can properly run in rare cases where it wouldn't - Some other minor fixes
58 lines
1.6 KiB
Makefile
58 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.82 2021/01/16 19:04:40 fox Exp $
|
|
|
|
DISTNAME= fasttracker2-1.43
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=8bitbubsy/}
|
|
GITHUB_PROJECT= ft2-clone
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
EXTRACT_USING= bsdtar
|
|
|
|
MAINTAINER= fox@NetBSD.org
|
|
HOMEPAGE= https://16-bits.org/
|
|
COMMENT= Portable Fasttracker II clone in C using SDL 2
|
|
LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license
|
|
|
|
USE_LANGUAGES= c99 c++
|
|
USE_CMAKE= yes
|
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.iconv}
|
|
|
|
TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils
|
|
|
|
ICON_SIZES= 16 24 32 48 64 128 256
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
INSTALLATION_DIRS+= share/applications
|
|
INSTALLATION_DIRS+= share/appdata
|
|
.for s in ${ICON_SIZES}
|
|
INSTALLATION_DIRS+= share/icons/hicolor/${s}x${s}/apps
|
|
.endfor
|
|
|
|
pre-configure:
|
|
.for s in ${ICON_SIZES}
|
|
cd ${WRKSRC} && ${PREFIX}/bin/icotool -w ${s} -h ${s} -x -o ${s}.png \
|
|
src/gfxdata/icon/ft2-clone.ico
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \
|
|
${DESTDIR}${PREFIX}/bin/${PKGBASE}
|
|
${INSTALL_DATA} ${FILESDIR}/fasttracker2.desktop \
|
|
${DESTDIR}${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${FILESDIR}/fasttracker2.appdata.xml \
|
|
${DESTDIR}${PREFIX}/share/appdata
|
|
.for s in ${ICON_SIZES}
|
|
${INSTALL_DATA} ${WRKSRC}/${s}.png \
|
|
${DESTDIR}${PREFIX}/share/icons/hicolor/${s}x${s}/apps/fasttracker2.png
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Linux"
|
|
BUILDLINK_TRANSFORM+= rm:-lasound
|
|
.else
|
|
. include "../../audio/alsa-lib/buildlink3.mk"
|
|
.endif
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../devel/SDL2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|