diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3f133e9..c447b2a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,7 +22,7 @@ jobs: - name: Update apt run: sudo apt update - name: Install Dependencies - run: sudo apt install -y libuv1-dev libargtable2-dev libserialport-dev libconfig-dev libhidapi-dev liblua5.4-dev libxdg-basedir-dev libxml2-dev libpulse-dev + run: sudo apt install -y libuv1-dev libargtable2-dev libserialport-dev libconfig-dev libhidapi-dev liblua5.4-dev libxdg-basedir-dev libxml2-dev libpulse-dev libproc2-dev - name: Set build dir id: strings shell: bash diff --git a/CMakeLists.txt b/CMakeLists.txt index c3a790b..3aed453 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ add_executable(monocoque src/monocoque/monocoque.c) #endif() message("Using pulseaudio backend...") add_compile_definitions(USE_PULSEAUDIO=true) -target_link_libraries(monocoque m hidapi-hidraw pulse serialport xml2 argtable2 config gameloop helper devices slog simulatorapi uv xdg-basedir ${LUA_LIBRARY}) +target_link_libraries(monocoque m hidapi-hidraw pulse serialport xml2 argtable2 config gameloop helper devices slog simulatorapi uv xdg-basedir ${LUA_LIBRARY} proc2) target_include_directories(monocoque PUBLIC config ${LIBXML_INCLUDE_DIR}) diff --git a/README.md b/README.md index 43410ef..1390416 100644 --- a/README.md +++ b/README.md @@ -80,11 +80,12 @@ for installation instructions*** - libconfig - xdg-basedir - lua +- libproc2 - [slog](https://github.com/kala13x/slog) (static) - [simshmbridge](https://github.com/spacefreak18/simshmbridge) - for sims that need shared memory mapping like AC and Project Cars related. - [simapi](https://github.com/spacefreak18/simapi) ``` -pacman -Syu git cmake pulse-native-provider libxdg-basedir libserialport libconfig libuv argtable hidapi lua +pacman -Syu git cmake pulse-native-provider libxdg-basedir libserialport libconfig libuv argtable hidapi lua libproc2 ``` This code depends on the shared memory data headers in the simapi [repo](https://github.com/spacefreak18/simapi). When pulling lastest if the submodule does not download run: diff --git a/src/monocoque/simulatorapi/simapi b/src/monocoque/simulatorapi/simapi index 532e89a..74b8fa3 160000 --- a/src/monocoque/simulatorapi/simapi +++ b/src/monocoque/simulatorapi/simapi @@ -1 +1 @@ -Subproject commit 532e89a6d9edf026335c1ac29da60aa965616241 +Subproject commit 74b8fa3f6e9f517123f79f87a588bef2f07a48a0 diff --git a/tools/distro/fedora/rpm/fedora.spec b/tools/distro/fedora/rpm/fedora.spec index 49eb812..66219a5 100644 --- a/tools/distro/fedora/rpm/fedora.spec +++ b/tools/distro/fedora/rpm/fedora.spec @@ -1,4 +1,4 @@ -#dnf install pulseaudio-libs-devel argtable-devel libconfig-devel hidapi-devel libserialport-devel lua-devel libuv-devel libxdg-basedir-devel libxml2-devel +#dnf install pulseaudio-libs-devel argtable-devel libconfig-devel hidapi-devel libserialport-devel lua-devel libuv-devel libxdg-basedir-devel libxml2-devel procps-ng-devel Summary: A device manager for racing sims Name: monocoque Version: 0.0.5 @@ -10,7 +10,7 @@ URL: https://spacefreak18.github.io/simapi Distribution: Fedora Linux Vendor: spacefreak18 Packager: Paul Jones -Requires: pulseaudio-libs argtable libconfig hidapi libserialport libuv libxdg-basedir lua-libs libxml2 +Requires: pulseaudio-libs argtable libconfig hidapi libserialport libuv libxdg-basedir lua-libs libxml2 procps-ng %description A device manager for Racing sims