From 0b0aa93e2a06f23934dc6a4a4f6324acde4ac8d1 Mon Sep 17 00:00:00 2001 From: Tom Bettany Date: Tue, 22 May 2018 11:26:38 +0100 Subject: [PATCH] Debian: Version 3.8.0 of Supercollider Plugins Add packaging for 3.8.0 Supercollider Plugins. --- README.md | 4 ++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 22 ++++++++++++++++++++++ debian/copyright | 8 ++++++++ debian/rules | 22 ++++++++++++++++++++++ debian/source/format | 1 + 7 files changed, 63 insertions(+) create mode 100644 README.md create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/README.md b/README.md new file mode 100644 index 0000000..00ea161 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Supercollider Plugins for Sonic Pi + +Packages the version of Supercollider Plugins required for building Kano OS's +version of [Sonic Pi](https://github.com/KanoComputing/sonic-pi). diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..abbdf63 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sc3-plugins-sonicpi (3.8.0-0) unstable; urgency=low + + * Packaging of Supercollider Plugins 3.8.0 required for Sonic Pi + + -- Team Kano Tue, 22 May 2018 11:20:00 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..728bed8 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: sc3-plugins-sonicpi +Maintainer: Team Kano +Section: libs +Priority: optional +Standards-Version: 3.9.4 +Build-Depends: + debhelper (>=9.0.0), + build-essential, + g++, + cmake, + make, + libfftw3-dev, + supercollider-sonicpi + +Package: sc3-plugins-sonicpi +Architecture: all +Depends: + ${misc:Depends}, + libfftw3-3, + supercollider-sonicpi +Description: Supercollider Plugins required for Sonic Pi + Debian packaging of the version of Supercollider Plugins required for Sonic Pi. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f7080c6 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: supercollider-sonicpi +Upstream-Contact: Kano developers +Source: https://github.com/KanoComputing/sc3-plugins-sonicpi + +Files: * +Copyright: 2018 Kano Computing Ltd. +License: GPL-2+ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..348e5d3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +SC_VERSION=3.8.0 +SC_DIR=sc3-plugins +SC_BUILD_DIR=$(SC_DIR)/build + +%: + dh $@ + +override_dh_auto_build: + git clone https://github.com/supercollider/sc3-plugins.git + cd $(SC_DIR) && git checkout Version-$(SC_VERSION) + cd $(SC_DIR) && git submodule init + cd $(SC_DIR) && git submodule update + mkdir -p $(SC_BUILD_DIR) + cp -r $(SC_DIR)/external_libraries/nova-simd/* $(SC_DIR)/source/VBAPUGens + cd $(SC_BUILD_DIR) && cmake -DSC_PATH=/usr/include/SuperCollider -DCMAKE_INSTALL_PREFIX=../../debian/sc3-plugins-sonicpi/usr/ -DCMAKE_BUILD_TYPE=Release .. + cd $(SC_BUILD_DIR) && make -j $(shell nproc) + +override_dh_auto_install: + cd $(SC_BUILD_DIR) && make install + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)