mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-04-14 11:36:31 +00:00
Add Debian packaging files
This commit is contained in:
parent
3c0041e2fd
commit
e4ab8414d0
8 changed files with 119 additions and 0 deletions
5
debian/changelog.in
vendored
Normal file
5
debian/changelog.in
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
openrgb-plugin-e131-receiver (__VERSION__) UNRELEASED; urgency=medium
|
||||
|
||||
* Builds from git master. See git history for more information.
|
||||
|
||||
-- Adam Honse <adam@Adam-Laptop.lan> Sat, 10 Aug 2024 15:43:30 -0500
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
10
|
||||
24
debian/control
vendored
Normal file
24
debian/control
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
Source: openrgb-plugin-e131-receiver
|
||||
Maintainer: Adam Honse <calcprogrammer1@gmail.com>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
pkg-config,
|
||||
qtbase5-dev,
|
||||
qtbase5-dev-tools,
|
||||
qttools5-dev-tools,
|
||||
qt5-qmake,
|
||||
libusb-1.0-0-dev,
|
||||
libhidapi-dev,
|
||||
libmbedtls-dev,
|
||||
Homepage: https://gitlab.com/OpenRGBDevelopers/OpenRGBE131ReceiverPlugin
|
||||
|
||||
Package: openrgb-plugin-e131-receiver
|
||||
Architecture: any
|
||||
Depends:
|
||||
${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
openrgb,
|
||||
Description: E1.31 receiver plugin for OpenRGB
|
||||
51
debian/copyright
vendored
Normal file
51
debian/copyright
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
This package was debianized by Adam Honse <CalcProgrammer1@gmail.com> on
|
||||
10th August 2024.
|
||||
|
||||
The current Debian maintainer is Adam Honse <CalcProgrammer1@gmail.com>
|
||||
|
||||
It was downloaded from: https://gitlab.com/OpenRGBDevelopers/OpenRGBE131ReceiverPlugin
|
||||
|
||||
Upstream Authors: Adam Honse
|
||||
|
||||
License: GPL-2+
|
||||
Copyright: 2019 - Present Adam Honse
|
||||
|
||||
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 2 of the License.
|
||||
|
||||
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 with
|
||||
the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
|
||||
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
|
||||
Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License, version 2, can be found in /usr/share/common-licenses/GPL-2.
|
||||
|
||||
License: GPL-2+
|
||||
The Files in ./* are Copyright 2019 - Present Adam Honse
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU Lesser General Public
|
||||
License, can be found in /usr/share/common-licenses/LGPL.
|
||||
|
||||
The Debian packaging is (C) 2006, Chris M <galdarian@gmail.com> and
|
||||
is licensed under the GPL, see above.
|
||||
1
debian/openrgb-plugin-e131-receiver.postinst
vendored
Normal file
1
debian/openrgb-plugin-e131-receiver.postinst
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
#!/usr/bin/env bash
|
||||
5
debian/rules
vendored
Executable file
5
debian/rules
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/make -f
|
||||
export QT_SELECT := qt5
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
||||
31
scripts/build-package-files.sh
Executable file
31
scripts/build-package-files.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
#!/usr/bin/env bash
|
||||
PROJECT_FILE="OpenRGBE131ReceiverPlugin.pro"
|
||||
VERSION_PATTERN="__VERSION__"
|
||||
INFILE_SUFFIX=".in"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "ERROR! No file give to parse."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
INFILE_PATH=${1}${INFILE_SUFFIX}
|
||||
|
||||
if [ ! -e ${INFILE_PATH} ]; then
|
||||
echo "ERROR! Source file ${INFILE_PATH} missing."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -e ${1} ]; then
|
||||
echo "Warning: File ${1} exists and will be overwritten"
|
||||
fi
|
||||
|
||||
MAJOR=$(grep MAJOR\ ${PROJECT_FILE} | cut -d= -f 2 | tr -d [:space:])
|
||||
MINOR=$(grep MINOR\ ${PROJECT_FILE} | cut -d= -f 2 | tr -d [:space:])
|
||||
REVISION=$(grep REVISION\ ${PROJECT_FILE} | cut -d= -f 2 | tr -d [:space:])
|
||||
|
||||
#Convert Revision to a nummber in case it is blank in the project file
|
||||
REVISION=$(( ${REVISION} + 0 ))
|
||||
|
||||
PACKAGE_VERSION="${MAJOR}.${MINOR}.${REVISION}"
|
||||
|
||||
sed -e "s/${VERSION_PATTERN}/${PACKAGE_VERSION}/g" ${INFILE_PATH} > ${1}
|
||||
Loading…
Reference in a new issue