Program installation

This commit is contained in:
Christian Colglazier 2021-10-10 18:57:19 -04:00
parent 430dd356d6
commit 30dcf7206c
3 changed files with 33 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,5 +1,5 @@
# ES-5-Pipewire # ES-5-Pipewire
es-5 es-5-pipewire
# ---> C # ---> C
# Prerequisites # Prerequisites

View File

@ -1,7 +1,7 @@
CXX = gcc CXX = gcc
CXXFLAGS = -Wall CXXFLAGS = -Wall
LDLIBS = LDLIBS =
NAME = es-5 NAME = es-5-pipewire
LDLIBS += `pkg-config --cflags --libs libpipewire-0.3` LDLIBS += `pkg-config --cflags --libs libpipewire-0.3`
es-5: es-5.c es-5: es-5.c
@ -13,7 +13,11 @@ clean:
rm ./$(NAME) rm ./$(NAME)
run: all run: all
./es-5 ./$(NAME)
debug: all debug: all
PIPEWIRE_DEBUG=5 ./$(NAME) PIPEWIRE_DEBUG=5 ./$(NAME)
install: all
sudo mkdir -p /opt/$(NAME)
sudo cp ./$(NAME) /opt/$(NAME)/

View File

@ -1,3 +1,29 @@
# ES-5-Pipewire # ES-5-Pipewire
A Pipewire client for the Expert Sleepers ES-5 eurorack module. Based upon [ES-5 Linx](https://github.com/CarlColglazier/ES-5Linx). This module takes eight gate inputs and converts them to a single output. A Pipewire client for the Expert Sleepers ES-5 eurorack module. Based upon [ES-5 Linx](https://github.com/CarlColglazier/ES-5Linx). This module takes eight gate inputs and converts them to a single output.
## Setup
### Requirements
- GCC
- Pipewire Development
#### Fedora & RHEL
```sh
sudo dnf install gcc pipewire-devel
```
#### Debian & Ubuntu
```sh
sudo apt install gcc pipewire-dev
```
## Building
```sh
make
```
### Installing
```sh
make install
```
This will build the binary and copy it over to the `/opt/es-5-pipewire` directory.