Skip to content

Commit

Permalink
samplicator: update to 1.3.7 and use fork
Browse files Browse the repository at this point in the history
The newest master branch has important fixes. However, no new release is
happening [0]. So fork the repository and create a new release.

Further, use a pidfile.

sleinen/samplicator#73

Signed-off-by: Nick Hainke <[email protected]>
  • Loading branch information
PolynomialDivision committed Oct 9, 2022
1 parent 4f3d297 commit 7e7bff1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions net/samplicator/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=samplicator
PKG_VERSION:=1.3.6
PKG_VERSION:=v1.3.7
PKG_RELEASE:=$(AUTORELEASE)

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/sleinen/samplicator/releases/download/v$(PKG_VERSION)
PKG_HASH:=3c4358b4b0992a77251f2b9e2221d4ae945781160732c73504eb126e69d72d40
PKG_SOURCE_URL:=https://github.com/PolynomialDivision/samplicator/releases/download/$(PKG_VERSION)
PKG_HASH:=7fca43252fcf2e91067772142ec754c6feac09d2cadec969fb0e1390673f1e3b

PKG_MAINTAINER:=Nick Hainke <[email protected]>
PKG_LICENSE:=GPL-2.0-only
Expand Down
3 changes: 2 additions & 1 deletion net/samplicator/files/samplicator.init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e7bff1

Please sign in to comment.