Skip to content

Commit f763dda

Browse files
committed
Merge pull request #507 from JonasGroeger/feature/linux64-deb-makefile
Feature: Makefile and debian packaging for linux64
2 parents 1e93f2d + 13cc4e1 commit f763dda

File tree

6 files changed

+99
-0
lines changed

6 files changed

+99
-0
lines changed

Makefile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
DESTDIR = /tmp
2+
3+
SNA_INSTALL_LOCATION = "$(DESTDIR)/opt/soundnodeapp/"
4+
5+
SNA_DIST_LOCATION = "dist/Soundnode-App/linux64"
6+
7+
verify_dist_exists:
8+
@if test ! -d $(SNA_DIST_LOCATION) ; then \
9+
echo "The distribution folder '$(SNA_DIST_LOCATION)' doesen't exist."; \
10+
echo "Did you forget to run 'grunt build'?"; \
11+
exit 1; \
12+
fi
13+
14+
install: verify_dist_exists
15+
mkdir -p $(SNA_INSTALL_LOCATION)
16+
17+
cp --force --recursive --target-directory $(SNA_INSTALL_LOCATION) \
18+
$(SNA_DIST_LOCATION)/icudtl.dat \
19+
$(SNA_DIST_LOCATION)/libffmpegsumo.so \
20+
$(SNA_DIST_LOCATION)/locales/ \
21+
$(SNA_DIST_LOCATION)/nw.pak \
22+
$(SNA_DIST_LOCATION)/Soundnode-App
23+
24+
uninstall:
25+
rm -rf $(SNA_INSTALL_LOCATION)
26+
27+
clean:
28+
rm --force --recursive \
29+
debian/soundnodeapp \
30+
debian/files \
31+
debian/docs \
32+
debian/*.log \
33+
debian/*.substvars

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
soundnodeapp (0.6.1-1) wily; urgency=low
2+
3+
* Soundcloudapp 0.6.1 from www.soundnodeapp.com
4+
5+
-- Jonas Gröger <[email protected]> Mon, 25 Jan 2016 11:28:49 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: soundnodeapp
2+
Section: unknown
3+
Priority: optional
4+
Maintainer: Jonas Gröger <[email protected]>
5+
Build-Depends: debhelper (>= 9)
6+
Standards-Version: 3.9.6
7+
Homepage: http://www.soundnodeapp.com
8+
9+
Package: soundnodeapp
10+
Architecture: amd64
11+
Depends: ${shlibs:Depends}, ${misc:Depends}
12+
Description: Soundcloud for Ubuntu/Debian
13+
Explore the largest community of artists, bands,
14+
podcasters and creators of music & audio.

debian/copyright

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: soundnodeapp
3+
Source: https://github.com/Soundnode/soundnode-app
4+
5+
Files: *
6+
Copyright: 2014-2016 Michael Lancaster <[email protected]>
7+
2014-2016 Open Source Contributers
8+
License: GPL-3
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
.
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
.
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+
Files: debian/*
23+
Copyright: 2016 Jonas Gröger <[email protected]>
24+
License: GPL-3
25+
This program is free software: you can redistribute it and/or modify
26+
it under the terms of the GNU General Public License as published by
27+
the Free Software Foundation, either version 3 of the License, or
28+
(at your option) any later version.
29+
.
30+
This program is distributed in the hope that it will be useful,
31+
but WITHOUT ANY WARRANTY; without even the implied warranty of
32+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33+
GNU General Public License for more details.
34+
.
35+
You should have received a copy of the GNU General Public License
36+
along with this program. If not, see <http://www.gnu.org/licenses/>.
37+

debian/rules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/make -f
2+
3+
DPKG_EXPORT_BUILDFLAGS = 1
4+
include /usr/share/dpkg/default.mk
5+
6+
# main packaging script based on dh7 syntax
7+
%:
8+
dh $@
9+

0 commit comments

Comments
 (0)