Date: Thu, 30 Aug 2018 14:34:59 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478463 - in head/audio: . fasttracker2 fasttracker2/files Message-ID: <201808301434.w7UEYx57082989@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Aug 30 14:34:59 2018 New Revision: 478463 URL: https://svnweb.freebsd.org/changeset/ports/478463 Log: Add fasttracker2 0.1.b91, fasttracker II clone. Added: head/audio/fasttracker2/ head/audio/fasttracker2/Makefile (contents, props changed) head/audio/fasttracker2/distinfo (contents, props changed) head/audio/fasttracker2/files/ head/audio/fasttracker2/files/patch-src_ft2__main.c (contents, props changed) head/audio/fasttracker2/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Thu Aug 30 14:34:04 2018 (r478462) +++ head/audio/Makefile Thu Aug 30 14:34:59 2018 (r478463) @@ -147,6 +147,7 @@ SUBDIR += faad SUBDIR += fabla2-lv2 SUBDIR += fapg + SUBDIR += fasttracker2 SUBDIR += faust SUBDIR += faust-lv2 SUBDIR += faustlive Added: head/audio/fasttracker2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/fasttracker2/Makefile Thu Aug 30 14:34:59 2018 (r478463) @@ -0,0 +1,44 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= fasttracker2 +DISTVERSION= 0.1-b91 +CATEGORIES= audio +MASTER_SITES= https://16-bits.org/ \ + LOCAL/ehaupt +DISTNAME= ft2clone-b91-code + +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= dos2unix localbase:ldflags zip iconv:wchar_t +USE_SDL= sdl2 + +WRKSRC= ${WRKDIR}/ft2-clone-code + +PLIST_FILES= bin/fasttracker2 + +OPTIONS_DEFINE= ALSA +OPTIONS_DEFAULT=ALSA + +LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv + +ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib +ALSA_CFLAGS+= -D__LINUX_ALSA__ +ALSA_LDFLAGS+= -lasound + +do-build: + ${CC} ${CFLAGS} ${LDFLAGS} \ + ${WRKSRC}/src/rtmidi/*.cpp ${WRKSRC}/src/gfxdata/*.c ${WRKSRC}/src/*.c \ + -o ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> Added: head/audio/fasttracker2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/fasttracker2/distinfo Thu Aug 30 14:34:59 2018 (r478463) @@ -0,0 +1,3 @@ +TIMESTAMP = 1535633552 +SHA256 (ft2clone-b91-code.zip) = b9722b5202269586fd1d5642a32c3df4174f84cdae9f38143d887e8aed13a2e4 +SIZE (ft2clone-b91-code.zip) = 4561918 Added: head/audio/fasttracker2/files/patch-src_ft2__main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/fasttracker2/files/patch-src_ft2__main.c Thu Aug 30 14:34:59 2018 (r478463) @@ -0,0 +1,17 @@ +--- src/ft2_main.c.orig 2018-08-30 13:44:45 UTC ++++ src/ft2_main.c +@@ -234,12 +234,14 @@ int main(int argc, char *argv[]) + } + + /* set up MIDI input (in a thread because it can take quite a while on f.ex. macOS) */ ++ /* + initMidiThread = SDL_CreateThread(initMidiFunc, "FT2 Clone MIDI Initialization Thread", NULL); + if (initMidiThread == NULL) + { + cleanUpAndExit(); + return (1); + } ++ */ + + /* don't let thread wait for this thread, let it clean up on its own when done */ + SDL_DetachThread(initMidiThread); Added: head/audio/fasttracker2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/fasttracker2/pkg-descr Thu Aug 30 14:34:59 2018 (r478463) @@ -0,0 +1,3 @@ +Multi-platform clone of the classic music making software FastTracker II. + +WWW: https://16-bits.org/ft2.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808301434.w7UEYx57082989>