aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-04-10 06:05:08 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-04-10 06:05:08 +0000
commit06d391d9d847c42824778511fab88d08a37ffc44 (patch)
treea2c7b3efdede7e53486a356019cd4c96765d0178 /audio
parente66a82d4c1e9187cd66fa4efdce6bd629a2db386 (diff)
downloadports-06d391d9d847c42824778511fab88d08a37ffc44.tar.gz
ports-06d391d9d847c42824778511fab88d08a37ffc44.zip
audio/ft2-clone: Rename and update to 1.80
Rename the audio/fasttracker2 package to audio/ft2-clone to align with the upstream naming convention. Update the package to version 1.80. Note that version 1.81 has been observed to cause segmentation faults and has therefore been skipped. Additionally, apply recommendations from portlint, portclippy, and portfmt.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile2
-rw-r--r--audio/fasttracker2/distinfo3
-rw-r--r--audio/fasttracker2/pkg-descr1
-rw-r--r--audio/ft2-clone/Makefile (renamed from audio/fasttracker2/Makefile)33
-rw-r--r--audio/ft2-clone/distinfo3
-rw-r--r--audio/ft2-clone/pkg-descr5
6 files changed, 27 insertions, 20 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 8827cbe6db92..9259b8b0e6c5 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -149,7 +149,6 @@
SUBDIR += faad
SUBDIR += fabla2-lv2
SUBDIR += fapg
- SUBDIR += fasttracker2
SUBDIR += fatfrog-lv2
SUBDIR += faudio
SUBDIR += faust
@@ -200,6 +199,7 @@
SUBDIR += freebsd-13-mixer
SUBDIR += freedesktop-sound-theme
SUBDIR += freepats
+ SUBDIR += ft2-clone
SUBDIR += ft2play
SUBDIR += funktrackergold
SUBDIR += furnace
diff --git a/audio/fasttracker2/distinfo b/audio/fasttracker2/distinfo
deleted file mode 100644
index ba154925b6e0..000000000000
--- a/audio/fasttracker2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1710829432
-SHA256 (8bitbubsy-ft2-clone-v1.79.2_GH0.tar.gz) = bf684b2756ec840803ffd063c6b58e96e1ec5e1e1e7239c6426752bde3db8b12
-SIZE (8bitbubsy-ft2-clone-v1.79.2_GH0.tar.gz) = 6084463
diff --git a/audio/fasttracker2/pkg-descr b/audio/fasttracker2/pkg-descr
deleted file mode 100644
index 550332007bba..000000000000
--- a/audio/fasttracker2/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-Multi-platform clone of the classic music making software FastTracker II.
diff --git a/audio/fasttracker2/Makefile b/audio/ft2-clone/Makefile
index c99dda0a0031..687d4e3892c2 100644
--- a/audio/fasttracker2/Makefile
+++ b/audio/ft2-clone/Makefile
@@ -1,6 +1,6 @@
-PORTNAME= fasttracker2
+PORTNAME= ft2-clone
DISTVERSIONPREFIX= v
-DISTVERSION= 1.79.2
+DISTVERSION= 1.80
CATEGORIES= audio
MAINTAINER= ehaupt@FreeBSD.org
@@ -16,27 +16,30 @@ 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
+DESKTOP_ENTRIES= "FastTracker II Clone" \
+ "${COMMENT}" \
+ "${PREFIX}/share/pixmaps/ft2-clone.ico" \
+ "ft2-clone" \
+ "" \
+ false
-PLIST_FILES= bin/fasttracker2 share/pixmaps/ft2-clone.ico
+# segfaults
+PORTSCOUT= skipv:v1.81
-OPTIONS_DEFINE= ALSA PULSEAUDIO
-OPTIONS_DEFAULT=ALSA
+PLIST_FILES= bin/ft2-clone \
+ 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
+ALSA_CFLAGS+= -D__LINUX_ALSA__
+ALSA_LDFLAGS+= -lasound
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
PULSEAUDIO_LDFLAGS+= -lpulse
@@ -52,7 +55,7 @@ USE_CSTD= c99
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
${INSTALL_PROGRAM} ${WRKSRC}/release/other/ft2-clone \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \
${STAGEDIR}${PREFIX}/share/pixmaps
diff --git a/audio/ft2-clone/distinfo b/audio/ft2-clone/distinfo
new file mode 100644
index 000000000000..c64f74484658
--- /dev/null
+++ b/audio/ft2-clone/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1712728483
+SHA256 (8bitbubsy-ft2-clone-v1.80_GH0.tar.gz) = 805e21bd7fafde255deb117e22f2ee4a7ade1a9b500de3580a2e25bd48479701
+SIZE (8bitbubsy-ft2-clone-v1.80_GH0.tar.gz) = 6084971
diff --git a/audio/ft2-clone/pkg-descr b/audio/ft2-clone/pkg-descr
new file mode 100644
index 000000000000..66de4550633c
--- /dev/null
+++ b/audio/ft2-clone/pkg-descr
@@ -0,0 +1,5 @@
+Multi-platform clone of the classic music making software FastTracker II.
+
+It aims to be a highly accurate clone of the classic Fasttracker II
+software for MS-DOS. The XM player itself has been directly ported from
+the original source code, for maximum accuracy.