Skip to content

Commit db563fa

Browse files
authored
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
1 parent fb3c8c7 commit db563fa

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

linux/README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,29 @@ A native Linux application to control your AirPods, with support for:
2121
sudo apt-get install qt6-base-dev qt6-declarative-dev qt6-connectivity-dev qt6-multimedia-dev \
2222
qml6-module-qtquick-controls qml6-module-qtqml-workerscript qml6-module-qtquick-templates \
2323
qml6-module-qtquick-window qml6-module-qtquick-layouts
24+
25+
# For Fedora
26+
sudo dnf install qt6-qtbase-devel qt6-qtconnectivity-devel \
27+
qt6-qtmultimedia-devel qt6-qtdeclarative-devel
2428
```
29+
3. OpenSSL development headers
2530

31+
```bash
32+
# On Arch Linux / EndevaourOS, these are included in the OpenSSL package, so you might already have them installed.
33+
sudo pacman -S openssl
34+
35+
# For Debian / Ubuntu
36+
sudo apt-get install libssl-devel
37+
38+
# For Fedora
39+
sudo dnf install openssl-devel
40+
```
2641
## Setup
2742

28-
1. Edit `main.h` and update `PHONE_MAC_ADDRESS` with your phone's Bluetooth MAC address:
43+
1. Set the `PHONE_MAC_ADDRESS` environment variable to your phone's Bluetooth MAC address by running the following:
2944
30-
```cpp
31-
#define PHONE_MAC_ADDRESS "XX:XX:XX:XX:XX:XX" // Replace with your phone's MAC
45+
```bash
46+
export PHONE_MAC_ADDRESS="XX:XX:XX:XX:XX:XX" # Replace with your phone's MAC
3247
```
3348

3449
2. Build the application:
@@ -43,7 +58,7 @@ A native Linux application to control your AirPods, with support for:
4358
3. Run the application:
4459

4560
```bash
46-
./applinux
61+
./librepods
4762
```
4863

4964
## Usage

0 commit comments

Comments
 (0)