add debian packaging
This commit is contained in:
parent
935f6d1fa4
commit
d28906faf0
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
nymea-remoteproxy (0.0.1) xenial; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Michael Zanetti <michael.zanetti@guh.io> Thu, 13 Aug 2018 21:33:51 +0200
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
9
|
||||
35
debian/control
vendored
Normal file
35
debian/control
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
Source: nymea-remoteproxy
|
||||
Section: utils
|
||||
Priority: options
|
||||
Maintainer: Michael Zanetti <michael.zanetti@guh.io>
|
||||
Build-depends: debhelper (>= 0.0.0),
|
||||
libqt5websockets5-dev,
|
||||
Standards-Version: 3.9.3
|
||||
|
||||
Package: nymea-remoteproxy
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
Description: The nymea remote proxy server
|
||||
The nymea remote proxy server
|
||||
|
||||
Package: libnymea-remoteproxy
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
Description: The nymea remote proxy server
|
||||
The nymea remote proxy server
|
||||
|
||||
Package: libnymea-remoteproxyclient
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
Description: The nymea remote proxy server
|
||||
The nymea remote proxy server
|
||||
|
||||
Package: nymea-remoteproxy-tests
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
Description: The nymea remote proxy server tests
|
||||
The nymea remote proxy server tests
|
||||
1
debian/libnymea-remoteproxy.install
vendored
Normal file
1
debian/libnymea-remoteproxy.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/libnymea-remoteproxy.so*
|
||||
1
debian/libnymea-remoteproxyclient.install
vendored
Normal file
1
debian/libnymea-remoteproxyclient.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/lib/libnymea-remoteproxyclient.so*
|
||||
1
debian/nymea-remoteproxy-tests.install
vendored
Normal file
1
debian/nymea-remoteproxy-tests.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/nymea-remoteproxy-tests
|
||||
1
debian/nymea-remoteproxy.install
vendored
Normal file
1
debian/nymea-remoteproxy.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/bin/nymea-remoteproxy
|
||||
17
debian/rules
vendored
Executable file
17
debian/rules
vendored
Executable file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
#override_dh_auto_build:
|
||||
# JANUSP=/usr make -j1
|
||||
|
||||
#override_dh_auto_install:
|
||||
# install build/janus_guhio.so debian/janus-guh-plugin/lib/$(DEB_HOST_MULTIARCH)/janus/plugins/
|
||||
# install -m 0644 conf/janus.plugin.guhio.cfg debian/janus-guh-plugin/etc/janus/
|
||||
|
||||
override_dh_auto_check:
|
||||
LD_LIBRARY_PATH=libnymea-remoteproxy dh_auto_check
|
||||
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
@ -55,3 +55,6 @@ for(header, HEADERS) {
|
||||
eval(headers_$${path}.path = $${path})
|
||||
eval(INSTALLS *= headers_$${path})
|
||||
}
|
||||
|
||||
target.path = /usr/lib/
|
||||
INSTALLS += target
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "jsonrpcclient.h"
|
||||
#include "jsonrpcclient2.h"
|
||||
#include "proxyconnection.h"
|
||||
|
||||
#include <QJsonDocument>
|
||||
@ -1,14 +1,14 @@
|
||||
INCLUDEPATH += $${PWD}
|
||||
|
||||
HEADERS += \
|
||||
$${PWD}/jsonrpcclient.h \
|
||||
$${PWD}/jsonrpcclient2.h \
|
||||
$${PWD}/jsonreply.h \
|
||||
$${PWD}/remoteproxyconnection.h \
|
||||
$${PWD}/proxyconnection.h \
|
||||
$${PWD}/websocketconnection.h
|
||||
|
||||
SOURCES += \
|
||||
$${PWD}/jsonrpcclient.cpp \
|
||||
$${PWD}/jsonrpcclient2.cpp \
|
||||
$${PWD}/jsonreply.cpp \
|
||||
$${PWD}/remoteproxyconnection.cpp \
|
||||
$${PWD}/proxyconnection.cpp \
|
||||
|
||||
@ -12,3 +12,6 @@ for(header, HEADERS) {
|
||||
eval(headers_$${path}.path = $${path})
|
||||
eval(INSTALLS *= headers_$${path})
|
||||
}
|
||||
|
||||
target.path = /usr/lib/
|
||||
INSTALLS += target
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#include <QHostAddress>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
#include "jsonrpcclient.h"
|
||||
#include "jsonrpcclient2.h"
|
||||
#include "proxyconnection.h"
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(dcRemoteProxyClientConnection)
|
||||
|
||||
Reference in New Issue
Block a user