diff --git a/audio/fasttracker2/Makefile b/audio/fasttracker2/Makefile index 7b67d154eb89..a3d370f36452 100644 --- a/audio/fasttracker2/Makefile +++ b/audio/fasttracker2/Makefile @@ -1,60 +1,64 @@ # Created by: Emanuel Haupt PORTNAME= fasttracker2 DISTVERSIONPREFIX= v DISTVERSION= 1.47 +PORTREVISION= 1 CATEGORIES= audio +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 14013d2165f6.patch:-p1 # https://github.com/8bitbubsy/ft2-clone/issues/21 + MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fasttracker II clone LICENSE= BSD3CLAUSE CC-BY-NC-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt USES= cmake compiler dos2unix iconv:wchar_t localbase:ldflags sdl USE_GITHUB= yes GH_ACCOUNT= 8bitbubsy GH_PROJECT= ft2-clone USE_SDL= sdl2 CFLAGS_i386+= -msse2 LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv DESKTOP_ENTRIES="FastTracker II" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/ft2-clone.ico" \ "fasttracker2" \ "" \ false PLIST_FILES= bin/fasttracker2 share/pixmaps/ft2-clone.ico OPTIONS_DEFINE= ALSA PULSEAUDIO OPTIONS_DEFAULT=ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_LDFLAGS+= -lpulse .include # clang reports: # error: invalid argument '-std=c99' not allowed with 'C++' .if ${CHOSEN_COMPILER_TYPE} == gcc USE_CSTD= c99 .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/audio/fasttracker2/distinfo b/audio/fasttracker2/distinfo index c1dfef94ec05..862fe34372d2 100644 --- a/audio/fasttracker2/distinfo +++ b/audio/fasttracker2/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1621948797 +TIMESTAMP = 1630666288 SHA256 (8bitbubsy-ft2-clone-v1.47_GH0.tar.gz) = a011c6c13aff8788daa6df5e8c6d44d2e1ce6d470618e41d9ede45c37ce79f5b SIZE (8bitbubsy-ft2-clone-v1.47_GH0.tar.gz) = 5234480 +SHA256 (14013d2165f6.patch) = d0a03e33b679a39daf2acd55cf8c91402abc1318779b0fcc42e8318279baa105 +SIZE (14013d2165f6.patch) = 1033