Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

318.11. pt2-clone-1.92

ProTracker 2 clone — the Amiga MOD tracker, pixel for pixel, on SDL2

1.92-1 · BSD-3-Clause · 0.7 SBU · 636.0 KiB, 5 files · 44_apps, 381 of 422 · ports/core/studio/pt2-clone

Homepage: https://16-bits.org/pt2.php

Depends on: cmake, ninja, pkgconf, sdl2-compat.

Required by: no port names it.

Sources: pt2-clone-1.92.tar.gz (8.7 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install pt2-clone'

build.sh:

mkdir build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr
ninja
DESTDIR=$PKG ninja install
cd ..

install -Dm644 "release/other/Freedesktop.org Resources/ProTracker 2 clone.png" \
	"$PKG/usr/share/icons/hicolor/512x512/apps/pt2-clone.png"

install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/pt2-clone.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=ProTracker 2
GenericName=Music Tracker
Comment=Compose Amiga MOD music in a faithful ProTracker 2 clone
TryExec=pt2-clone
Exec=pt2-clone %f
Icon=pt2-clone
Terminal=false
StartupWMClass=pt2-clone
Categories=AudioVideo;Audio;Sequencer;Music;
Keywords=tracker;protracker;amiga;module;mod;music;
DESKTOP
chmod 644 "$PKG/usr/share/applications/pt2-clone.desktop"

Programs: pt2-clone.

Directories: /usr/share/licenses/pt2-clone.