Installation
Dependencies
hrmp requires the following dependencies:
These can be obtained using:
sh
$ dnf install git gcc clang clang-analyzer cmake make python3-docutils libasan libasan-static alsa-lib alsa-lib-devel libsndfile libsndfile-devel opus opus-devel faad2 faad2-devel$ dnf install git gcc clang clang-analyzer cmake make python3-docutils libasan libasan-static alsa-lib alsa-lib-devel libsndfile libsndfile-devel opus opus-devel faad2 faad2-develInstall hrmp
Installation can be done by building it from source and installing it.
Building From Source
Clone
Clone the repository:
sh
$ git clone https://github.com/HighResMusicPlayer/hrmp.git
$ cd hrmp$ git clone https://github.com/HighResMusicPlayer/hrmp.git
$ cd hrmpThen, follow the respective instructions if you want a Release build (for production use) or a Debug build (for development use).
Release Build
sh
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make install$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make installDebug Build
sh
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ sudo make install # Optional but recommended step for testing$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ sudo make install # Optional but recommended step for testingCheck Installation
Make sure that hrmp is installed and in your PATH by using hrmp -? and you should see
hrmp 0.9.1
High resolution music player
Usage:
hrmp <FILES>
Options:
-c, --config CONFIG_FILE Set the path to the hrmp.conf file
Default: $HOME/.hrmp/hrmp.conf
-D, --device Set the device name
-R, --recursive Add files recursive of the directory
-I, --sample-configuration Generate a sample configuration
-s, --status Status of the devices
--dop Use DSD over PCM
-q, --quiet Quiet the player
-V, --version Display version information
-?, --help Display help
hrmp: https://hrmp.github.io/
Report bugs: https://github.com/HighResMusicPlayer/hrmp/issueshrmp 0.9.1
High resolution music player
Usage:
hrmp <FILES>
Options:
-c, --config CONFIG_FILE Set the path to the hrmp.conf file
Default: $HOME/.hrmp/hrmp.conf
-D, --device Set the device name
-R, --recursive Add files recursive of the directory
-I, --sample-configuration Generate a sample configuration
-s, --status Status of the devices
--dop Use DSD over PCM
-q, --quiet Quiet the player
-V, --version Display version information
-?, --help Display help
hrmp: https://hrmp.github.io/
Report bugs: https://github.com/HighResMusicPlayer/hrmp/issues