2024-01-12 Fred Gleason <fredg@paravelsystems.com>

* Updated the build system to DEB packages to support environments
	with no HPI support.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-01-12 15:53:06 -05:00
parent efc5a0199d
commit 29db78fd24
4 changed files with 11 additions and 2 deletions

View File

@@ -24609,3 +24609,6 @@
2024-01-12 Fred Gleason <fredg@paravelsystems.com>
* Updated the screenshot of the Full Log widget in the 'Running Logs
with RDAirPlay' chapter of the Operations Guide.
2024-01-12 Fred Gleason <fredg@paravelsystems.com>
* Updated the build system to DEB packages to support environments
with no HPI support.

View File

@@ -24,7 +24,12 @@
# Generate Debian packaging metadata
#
DATESTAMP=`date +%a,\ %d\ %b\ %Y\ %T\ %z`
if test -f /usr/include/asihpi/hpi.h ; then
HPKLINUX_DEP="\,hpklinux-dev"
fi
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/control.src > debian/control
sed s/@HPKLINUX_DEP@/$HPKLINUX_DEP/ <debian/control.src > debian/control.src2
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/control.src2 > debian/control
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/changelog.src | sed "s/@DATESTAMP@/$DATESTAMP/" > debian/changelog
sed s/@PYTHONAPI_VERSION@/`cat versions/PYTHONAPI_VERSION`/ < debian/rules.src > debian/rules

3
debian/Makefile.am vendored
View File

@@ -2,7 +2,7 @@
##
## Automake.am for rivendell debian/
##
## (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
## (C) Copyright 2021-2023 Fred Gleason <fredg@paravelsystems.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as
@@ -35,4 +35,5 @@ EXTRA_DIST = changelog\
MAINTAINERCLEANFILES = changelog\
control\
control.src2\
rules

2
debian/control.src vendored
View File

@@ -2,7 +2,7 @@ Source: rivendell
Section: audio
Priority: optional
Maintainer: Fred Gleason <fredg@paravelsystems.com>
Build-Depends: debhelper-compat (= 12), autotools-dev, hpklinux-dev
Build-Depends: debhelper-compat (= 12), autotools-dev @HPKLINUX_DEP@
Standards-Version: 4.4.1
Package: rivendell