Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CMakeLists.txt.user*

# Android Template

.flatpak-builder/

### Android ###
# Gradle files
Expand Down
9 changes: 9 additions & 0 deletions linux/me.kavishdevar.LibrePods.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Name=LibrePods
Comment=AirPods Manager for Linux
Exec=applinux
Icon=me.kavishdevar.LibrePods
Categories=Audio;AudioVideo;Utility;
Terminal=false
StartupNotify=true
28 changes: 28 additions & 0 deletions linux/me.kavishdevar.LibrePods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
app-id: me.kavishdevar.LibrePods
runtime: org.kde.Platform
runtime-version: '6.9'
sdk: org.kde.Sdk
finish-args:
- --share=ipc
- --socket=session-bus # For MPRIS (media player control)
- --socket=system-bus # For BlueZ (Bluetooth daemon)
- --socket=pulseaudio # For audio control (pactl) - use pipewire if on PipeWire
- --allow=bluetooth # For direct Bluetooth access
- --socket=wayland # For Wayland compatibility
- --socket=fallback-x11 # For X11 compatibility
- --filesystem=~/.config/AirPodsTrayApp # To save QSettings
- --filesystem=xdg-config/autostart # For autostart functionality
- --device=all # For full hardware access
- --talk-name=org.bluez # Explicit BlueZ D-Bus access
- --share=network

modules:
- name: librepods
buildsystem: cmake-ninja
sources:
- type: dir
path: .
build-commands:
- cmake --build .
- install -Dm644 me.kavishdevar.LibrePods.desktop -t /app/share/applications/
- install -Dm644 assets/airpods.png -t /app/share/icons/hicolor/512x512/apps/