docs & fixes

This commit is contained in:
Kirill I 2025-01-29 13:00:14 +04:00
parent 6c60003ceb
commit 2a0d7a6db8
6 changed files with 32 additions and 5 deletions

6
.gitignore vendored
View file

@ -1,3 +1,9 @@
build
cmake-build-debug
.idea
.*
*.ko
*.o
*.symvers
*.mod*
*.order

21
README.MD Normal file
View file

@ -0,0 +1,21 @@
## JBL 610 Linux drivers
Note: this still in progress.
## Kernel module
To build kernel module you need
```
cd kernel
make
make install
modprobe -a
```
## KDE tray icon app
```
cd kde-app/JBLQuantumStatus
mkdir build && cd build
cmake ..
sudo setcap 'cap_net_admin+ep' bin/jbl610status
```

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
project(helloworld)
project(jbl610status)
set(QT_MIN_VERSION "6.6.0")
set(KF_MIN_VERSION "6.0.0")
@ -29,16 +29,16 @@ find_package(KF6 ${KF_MIN_VERSION} REQUIRED COMPONENTS
find_package(KF6StatusNotifierItem)
add_executable(helloworld
add_executable(jbl610status
netlinkmonitor.h
netlinkmonitor.cpp)
target_sources(helloworld
target_sources(jbl610status
PRIVATE
main.cpp
)
target_link_libraries(helloworld
target_link_libraries(jbl610status
Qt6::Widgets
Qt6::Core
KF6::CoreAddons
@ -48,6 +48,6 @@ target_link_libraries(helloworld
KF6::StatusNotifierItem
)
install(TARGETS helloworld ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS jbl610status ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)