diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2017-03-24 03:29:31 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2017-03-24 03:29:31 +0800 |
commit | 325972fabb6af81aae48684b901890ca0bfb85db (patch) | |
tree | 2c8649402247c53ec00ff516d86cb0f40bd269be /audio | |
parent | 694e3ff5550a3cf105cbf411301e9375ffdaa1fa (diff) | |
download | freebsd-ports-gnome-325972fabb6af81aae48684b901890ca0bfb85db.tar.gz freebsd-ports-gnome-325972fabb6af81aae48684b901890ca0bfb85db.tar.zst freebsd-ports-gnome-325972fabb6af81aae48684b901890ca0bfb85db.zip |
- Update to 1.0.0
- Move master site to GitHub
- Now use cmake
Changelog: http://milkytracker.titandemo.org/docs/ChangeLog.html
Diffstat (limited to 'audio')
-rw-r--r-- | audio/milkytracker/Makefile | 23 | ||||
-rw-r--r-- | audio/milkytracker/distinfo | 5 | ||||
-rw-r--r-- | audio/milkytracker/files/patch-src_tracker_TrackerStartUp.cpp | 12 | ||||
-rw-r--r-- | audio/milkytracker/pkg-plist | 14 |
4 files changed, 32 insertions, 22 deletions
diff --git a/audio/milkytracker/Makefile b/audio/milkytracker/Makefile index 7531d391a9d6..e70cd1cc1738 100644 --- a/audio/milkytracker/Makefile +++ b/audio/milkytracker/Makefile @@ -2,30 +2,25 @@ # $FreeBSD$ PORTNAME= milkytracker -PORTVERSION= 0.90.86 -PORTREVISION= 3 +PORTVERSION= 1.0.0 +DISTVERSIONPREFIX= v CATEGORIES= audio -MASTER_SITES= http://www.milkytracker.org/files/ \ - LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Music creation tool inspired by Fast Tracker 2 LICENSE= GPLv3 -LIB_DEPENDS+= libjack.so:audio/jack \ - libzzip.so:devel/zziplib +LIB_DEPENDS+= liblhasa.so:archivers/lhasa \ + libzzip.so:devel/zziplib \ + libjack.so:audio/jack -USES= pkgconfig -GNU_CONFIGURE= yes -USE_SDL= sdl +USES= cmake +USE_GITHUB= yes +USE_SDL= sdl2 -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +GH_PROJECT= MilkyTracker -CONFIGURE_ARGS+= --disable-alsatest --without-alsa - -PORTDOCS= FAQ.html MilkyTracker.html ChangeLog.html ICONS= carton.ico carton.png OPTIONS_DEFINE= DOCS diff --git a/audio/milkytracker/distinfo b/audio/milkytracker/distinfo index 282584755dbd..19429de54caa 100644 --- a/audio/milkytracker/distinfo +++ b/audio/milkytracker/distinfo @@ -1,2 +1,3 @@ -SHA256 (milkytracker-0.90.86.tar.gz) = ff0b851956ebf526af49b47a467df72a6eca24166b581aeab7b05c2f379c1257 -SIZE (milkytracker-0.90.86.tar.gz) = 2596667 +TIMESTAMP = 1490278419 +SHA256 (milkytracker-MilkyTracker-v1.0.0_GH0.tar.gz) = 7fa982561c297aae7ed8223d2535c1f0a72057da01d002e8665b9223206932dc +SIZE (milkytracker-MilkyTracker-v1.0.0_GH0.tar.gz) = 3749140 diff --git a/audio/milkytracker/files/patch-src_tracker_TrackerStartUp.cpp b/audio/milkytracker/files/patch-src_tracker_TrackerStartUp.cpp index deb1346b297e..94054787a1f7 100644 --- a/audio/milkytracker/files/patch-src_tracker_TrackerStartUp.cpp +++ b/audio/milkytracker/files/patch-src_tracker_TrackerStartUp.cpp @@ -1,19 +1,21 @@ ---- src/tracker/TrackerStartUp.cpp.orig 2013-11-09 00:12:01 UTC +--- src/tracker/TrackerStartUp.cpp.orig 2017-03-12 19:30:25 UTC +++ src/tracker/TrackerStartUp.cpp -@@ -126,7 +126,7 @@ void Tracker::showSplash() +@@ -127,7 +127,8 @@ void Tracker::showSplash() screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); #endif shade+=deltaT * (1.0f/6.25f); -- deltaT = abs(::PPGetTickCount() - startTime); +- deltaT = abs((signed)::PPGetTickCount() - startTime); ++ // deltaT = abs((signed)::PPGetTickCount() - startTime); + deltaT = abs((pp_int32)::PPGetTickCount() - startTime); if (!deltaT) deltaT++; } #if defined(__EXCLUDE_BIGLOGO__) || defined(__LOWRES__) -@@ -157,7 +157,7 @@ void Tracker::hideSplash() +@@ -158,7 +159,8 @@ void Tracker::hideSplash() screen->paintSplash(LogoBig::rawData, LogoBig::width, LogoBig::height, LogoBig::width*3, 3, (int)shade); #endif shade-=deltaT * (1.0f/6.25f); -- deltaT = abs(::PPGetTickCount() - startTime); +- deltaT = abs((signed)::PPGetTickCount() - startTime); ++ // deltaT = abs((signed)::PPGetTickCount() - startTime); + deltaT = abs((pp_int32)::PPGetTickCount() - startTime); if (!deltaT) deltaT++; } diff --git a/audio/milkytracker/pkg-plist b/audio/milkytracker/pkg-plist index 5294f68b8fe9..0f6043c6fff4 100644 --- a/audio/milkytracker/pkg-plist +++ b/audio/milkytracker/pkg-plist @@ -1,4 +1,16 @@ bin/milkytracker +share/applications/milkytracker.desktop +%%PORTDOCS%%%%DOCSDIR%%/Authors.txt +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.html +%%PORTDOCS%%%%DOCSDIR%%/Copying.txt +%%PORTDOCS%%%%DOCSDIR%%/FAQ.html +%%PORTDOCS%%%%DOCSDIR%%/MilkyTracker.html +%%PORTDOCS%%%%DOCSDIR%%/TiTAN.nfo +%%PORTDOCS%%%%DOCSDIR%%/readme_unix +%%DATADIR%%/songs/milky.xm +%%DATADIR%%/songs/slumberjack.xm +%%DATADIR%%/songs/sv_ttt.xm +%%DATADIR%%/songs/theday.xm +%%DATADIR%%/songs/universalnetwork2_real.xm share/pixmaps/milkytracker.ico share/pixmaps/milkytracker.png -share/applications/milkytracker.desktop |