Compiling shntool with spksrc for synology NAS
Read the disclaimer
This article describes how to compile shntool for synology devices, package it and install it.
You can get the shntool sources at https://github.com/flacon/shntool
The package described in this guide is will download the content from that repository.
shntool is a multi-purpose WAVE data processing and reporting utility that supports various lossless audio formats.
This guide is the same that :
https://dayandnightcoding.blogspot.com/2020/04/compiling-cpulimit-with-spksrc-for.html
You can follow the different steps there.
I'll document only the steps referring specifically shntool.
Clone the repository and make setup
It's documented here : https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO
- on the ubuntu host
- start a terminal
- choose a folder for the git clone root
- git clone https://github.com/youpla/spksrc.git
- cd spksrc/
- make setup
- on the ubuntu host
- start a terminal
- choose a folder for the git clone root
- git clone https://github.com/youpla/spksrc.git
- cd spksrc/
- make setup
Compile the shntool package for your architecture
in a terminal navigate to the shntool folderexample:
/home/userprofile/test-git/spksrc/spk/shntool
make arch-armada375
Install the package
Go to the file explorer and find the generated file.
example
/home/userprofile/test-git/spksrc/packages/shntool_armada375-6.1_3.0.10-1.spk
example
/home/userprofile/test-git/spksrc/packages/shntool_armada375-6.1_3.0.10-1.spk
How to install the package in your device :
https://dayandnightcoding.blogspot.com/2020/04/testing-package-compiled-with-spksrc.html
https://dayandnightcoding.blogspot.com/2020/04/testing-package-compiled-with-spksrc.html
Testing
See :
https://dayandnightcoding.blogspot.com/2020/04/testing-package-compiled-with-spksrc.html
The package shntool has been tested for install and uninstall on my DS-115 with no noticed problem. The blog disclaimer still applies.
With ssh we can check the following:
https://dayandnightcoding.blogspot.com/2020/04/testing-package-compiled-with-spksrc.html
The package shntool has been tested for install and uninstall on my DS-115 with no noticed problem. The blog disclaimer still applies.
With ssh we can check the following:
- path is /usr/local/shntool/bin as stated in :
https://github.com/youpla/spksrc/blob/master/spk/shntool/src/installer.sh - The symbolic links are available in the path
- shncat
- shnconv
- shnfix
- shnhash
- shnjoin
- shnpad
- shnstrip
- shntrim
- shncmp
- shncue
- shngen
- shninfo
- shnlen
- shnsplit
- shntool