diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..603448c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,33 @@ +DESTDIR = /tmp + +SNA_INSTALL_LOCATION = "$(DESTDIR)/opt/soundnodeapp/" + +SNA_DIST_LOCATION = "dist/Soundnode-App/linux64" + +verify_dist_exists: + @if test ! -d $(SNA_DIST_LOCATION) ; then \ + echo "The distribution folder '$(SNA_DIST_LOCATION)' doesen't exist."; \ + echo "Did you forget to run 'grunt build'?"; \ + exit 1; \ + fi + +install: verify_dist_exists + mkdir -p $(SNA_INSTALL_LOCATION) + + cp --force --recursive --target-directory $(SNA_INSTALL_LOCATION) \ + $(SNA_DIST_LOCATION)/icudtl.dat \ + $(SNA_DIST_LOCATION)/libffmpegsumo.so \ + $(SNA_DIST_LOCATION)/locales/ \ + $(SNA_DIST_LOCATION)/nw.pak \ + $(SNA_DIST_LOCATION)/Soundnode-App + +uninstall: + rm -rf $(SNA_INSTALL_LOCATION) + +clean: + rm --force --recursive \ + debian/soundnodeapp \ + debian/files \ + debian/docs \ + debian/*.log \ + debian/*.substvars diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..fdf6e3cd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +soundnodeapp (0.6.1-1) wily; urgency=low + + * Soundcloudapp 0.6.1 from www.soundnodeapp.com + + -- Jonas Gröger Mon, 25 Jan 2016 11:28:49 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..c556526e --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: soundnodeapp +Section: unknown +Priority: optional +Maintainer: Jonas Gröger +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.6 +Homepage: http://www.soundnodeapp.com + +Package: soundnodeapp +Architecture: amd64 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Soundcloud for Ubuntu/Debian + Explore the largest community of artists, bands, + podcasters and creators of music & audio. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..28b8f593 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: soundnodeapp +Source: https://github.com/Soundnode/soundnode-app + +Files: * +Copyright: 2014-2016 Michael Lancaster + 2014-2016 Open Source Contributers +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Files: debian/* +Copyright: 2016 Jonas Gröger +License: GPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..bf2aa464 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# main packaging script based on dh7 syntax +%: + dh $@ +