mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-10 19:52:24 +00:00
Fixes and improvements to the Linux readme (#168)
* Add qt development header list for Fedora * Add openssl development header dependency to Linux readme * PHONE_MAC_ADDRESS is now an environment variable, not a main.h constant * The build target is librepods, not applinux
This commit is contained in:
committed by
GitHub
parent
fb3c8c73a4
commit
db563fa75f
@@ -21,14 +21,29 @@ A native Linux application to control your AirPods, with support for:
|
|||||||
sudo apt-get install qt6-base-dev qt6-declarative-dev qt6-connectivity-dev qt6-multimedia-dev \
|
sudo apt-get install qt6-base-dev qt6-declarative-dev qt6-connectivity-dev qt6-multimedia-dev \
|
||||||
qml6-module-qtquick-controls qml6-module-qtqml-workerscript qml6-module-qtquick-templates \
|
qml6-module-qtquick-controls qml6-module-qtqml-workerscript qml6-module-qtquick-templates \
|
||||||
qml6-module-qtquick-window qml6-module-qtquick-layouts
|
qml6-module-qtquick-window qml6-module-qtquick-layouts
|
||||||
```
|
|
||||||
|
|
||||||
|
# For Fedora
|
||||||
|
sudo dnf install qt6-qtbase-devel qt6-qtconnectivity-devel \
|
||||||
|
qt6-qtmultimedia-devel qt6-qtdeclarative-devel
|
||||||
|
```
|
||||||
|
3. OpenSSL development headers
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# On Arch Linux / EndevaourOS, these are included in the OpenSSL package, so you might already have them installed.
|
||||||
|
sudo pacman -S openssl
|
||||||
|
|
||||||
|
# For Debian / Ubuntu
|
||||||
|
sudo apt-get install libssl-devel
|
||||||
|
|
||||||
|
# For Fedora
|
||||||
|
sudo dnf install openssl-devel
|
||||||
|
```
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Edit `main.h` and update `PHONE_MAC_ADDRESS` with your phone's Bluetooth MAC address:
|
1. Set the `PHONE_MAC_ADDRESS` environment variable to your phone's Bluetooth MAC address by running the following:
|
||||||
|
|
||||||
```cpp
|
```bash
|
||||||
#define PHONE_MAC_ADDRESS "XX:XX:XX:XX:XX:XX" // Replace with your phone's MAC
|
export PHONE_MAC_ADDRESS="XX:XX:XX:XX:XX:XX" # Replace with your phone's MAC
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Build the application:
|
2. Build the application:
|
||||||
@@ -43,7 +58,7 @@ A native Linux application to control your AirPods, with support for:
|
|||||||
3. Run the application:
|
3. Run the application:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./applinux
|
./librepods
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|||||||
Reference in New Issue
Block a user