mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
samplicator: update to latest master commit 2021-10-11
The newest master branch has important fixes. However, no new release is published [0]. Switch to git and update to latest master commit. This introduces new version scheme by using YYYY-MM-DD of the commit. In addition, add necessary "PKG_FIXUP" and "PKG_REMOVE_FILES" to allow compile the new version. Also add enable "PKG_BUILD_PARALLEL". Further, use a pidfile and remove outdated patches. https://github.com/sleinen/samplicator/issues/73 Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
@@ -5,11 +5,12 @@ START=70
|
||||
|
||||
SAMPLICATOR_BIN="/usr/sbin/samplicate"
|
||||
SAMPLICATOR_CONF="/etc/samplicator.conf"
|
||||
PIDFILE="/var/run/samplicator.pid"
|
||||
|
||||
start_service() {
|
||||
mkdir -p /var/run
|
||||
procd_open_instance
|
||||
procd_set_param command $SAMPLICATOR_BIN -c $SAMPLICATOR_CONF
|
||||
procd_set_param command $SAMPLICATOR_BIN -c $SAMPLICATOR_CONF -m $PIDFILE
|
||||
procd_set_param file "$SAMPLICATOR_CONF"
|
||||
procd_set_param stdout 1
|
||||
procd_set_param stderr 1
|
||||
|
||||
Reference in New Issue
Block a user