From 926be3b8db12d9105a49f8a9a5f695f12d7aea12 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 19 Jan 2025 16:22:55 +0100 Subject: Debian package --- debian/README.Debian | 5 +++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 24 +++++++++++++++++++++++- debian/copyright | 4 ++++ debian/midiplay.service | 2 +- debian/rules | 4 ++++ debian/source/format | 1 + 8 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..54311ff --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,5 @@ +MIDIPLAY in Debian +================== + +Debian package of midiplay - a hardware-software solution for MIDI and/or audio player +including clock, web interface diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..515baf5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +midiplay (1.0) unstable; urgency=medium + + * Initial release. + + -- Roland Reichwein Sun, 05 Jan 2025 12:18:45 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control index 7f46012..60a9369 100644 --- a/debian/control +++ b/debian/control @@ -1,2 +1,24 @@ -Build-Depends: libfmt-dev, libboost-dev, libfcgi-dev, libreichwein-dev, libasound2-dev +Source: midiplay +Section: sound +Priority: optional +Maintainer: Roland Reichwein +Build-Depends: debhelper, clang, libfmt-dev, libboost-dev, libfcgi-dev, libreichwein-dev, libasound2-dev Depends: nginx, alsa-utils, spawn-fcgi +Standards-Version: 4.5.0 +Homepage: http://www.reichwein.it/midiplay/ + +Package: midiplay +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Homepage: http://www.reichwein.it/midiplay/ +Description: Software system for MIDIPLAY + MIDIPLAY is a combined hardware-software solution to generate an MIDI + and/or audio output. + . + Features: + - Web interface via FCGI, providing start/stop and song choice + - Generates clock + . + Supported Hardware platforms: + - Raspberry Pi 3 B+ + - Raspberry Pi 4 B diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..689d2b3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,4 @@ +Author: Roland Reichwein , 2020-2023 + +Both upstream source code and Debian packaging is available +under the conditions of CC0 1.0 Universal diff --git a/debian/midiplay.service b/debian/midiplay.service index 0b36218..76ec401 100644 --- a/debian/midiplay.service +++ b/debian/midiplay.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=simple # Restart=always -ExecStart=sh -c "cd /home/ernie/code/midiplay && make run-fcgi" +ExecStart=midiplay # Restart once a week, maybe certificates have changed Restart=always diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3