Skip to content

Commit dd9d920

Browse files
Add Debian packaging files
1 parent f48e98d commit dd9d920

11 files changed

+61
-2
lines changed

KeyboardVisualizer.pro

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,21 @@ win32:UI_DIR = _intermediate_$$DESTDIR/.ui
136136
#-----------------------------------------------------------------------#
137137
unix:!macx {
138138
LIBS += -lopenal
139+
140+
#-------------------------------------------------------------------#
141+
# Set up install paths #
142+
# These install paths are used for AppImage and .deb packaging #
143+
#-------------------------------------------------------------------#
144+
isEmpty(PREFIX) {
145+
PREFIX = /usr
146+
}
147+
148+
target.path=$$PREFIX/bin/
149+
desktop.path=$$PREFIX/share/applications/
150+
desktop.files+=KeyboardVisualizerQT/KeyboardVisualizer.desktop
151+
pixmap.path=$$PREFIX/share/pixmaps/
152+
pixmap.files+=KeyboardVisualizerQT/KeyboardVisualizer.png
153+
INSTALLS += target desktop pixmap
139154
}
140155

141156
#-----------------------------------------------------------------------#

KeyboardVisualizerQT/KeyboardVisDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ KeyboardVisDlg::KeyboardVisDlg(QWidget *parent) : QMainWindow(parent), ui(new Ke
3030
titleString.append(VERSION_STRING);
3131
setWindowTitle(titleString.c_str());
3232

33-
QIcon icon(":Icon.png");
33+
QIcon icon(":KeyboardVisualizer.png");
3434
setWindowIcon(icon);
3535

3636
QAction* actionExit = new QAction( "Show/Hide", this );
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[Desktop Entry]
2+
Type=Application
3+
Encoding=UTF-8
4+
Name=Keyboard Visualizer
5+
Comment=Control RGB lighting
6+
Exec=KeyboardVisualizer
7+
Icon=KeyboardVisualizer
8+
Terminal=false
9+
Categories=Utility;

KeyboardVisualizerQT/resources.qrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<RCC>
22
<qresource prefix="/">
3-
<file>Icon.png</file>
3+
<file>KeyboardVisualizer.png</file>
44
</qresource>
55
</RCC>

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
keyboardvisualizer (4.01.0) UNRELEASED; urgency=medium
2+
3+
* Builds from git master. See git history for more information.
4+
5+
-- Adam Honse <[email protected]> Sun, 12 Apr 2020 22:57:34 -0500

debian/compat

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

debian/control

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Source: keyboardvisualizer
2+
Maintainer: Adam Honse <[email protected]>
3+
Section: misc
4+
Priority: optional
5+
Standards-Version: 3.9.2
6+
Build-Depends:
7+
debhelper (>= 9),
8+
pkg-config,
9+
qtbase5-dev,
10+
qtbase5-dev-tools,
11+
qt5-qmake,
12+
libopenal-dev
13+
Homepage: https://gitlab.com/CalcProgrammer1/KeyboardVisualizer
14+
15+
Package: keyboardvisualizer
16+
Architecture: any
17+
Depends:
18+
${shlibs:Depends},
19+
${misc:Depends},
20+
Recommends:
21+
openrgb
22+
Description: Audio visualizer for OpenRGB devices
23+
Keyboard Visualizer for OpenRGB devices

debian/copyright

Whitespace-only changes.

debian/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/make -f
2+
export QT_SELECT := qt5
3+
4+
%:
5+
dh $@ --parallel

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

0 commit comments

Comments
 (0)