Skip to content
/ siglo Public
forked from theironrobin/siglo

GTK app to sync InfiniTime watch with PinePhone

License

Notifications You must be signed in to change notification settings

nlfx/siglo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

siglo

GTK app to sync InfiniTime watch with PinePhone

'siglo' means century in Spanish

Dependancies

Arch Linux

sudo pacman -S --needed meson python-pip base-devel bluez bluez-utils dbus-python
pip3 install gatt pyxdg

Ubuntu

sudo apt install meson python3-dbus gettext appstream-util libglib2.0-dev
pip3 install gatt

Build/Install

git clone https://github.com/alexr4535/siglo.git
cd siglo
mkdir build
meson build/
cd build
sudo ninja install

Make sure Bluetooth Adapter is enabled in Settings->Bluetooth, or:

sudo systemctl start bluetooth
echo "power on" | sudo bluetoothctl

Icons by svgrepo.com

Building and installing Flatpak app

Building and installing on target architecture

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.gnome.Sdk//3.38 org.gnome.Platform//3.38

flatpak-builder --repo=repo --force-clean build-dir/ org.gnome.siglo.json
flatpak build-bundle ./repo/ siglo.flatpak org.gnome.siglo
flatpak install --user ./siglo.flatpak

Cross-compiling for PinePhone

Example cross-compiling for PinePhone on an x86_64 Fedora machine:

sudo dnf install qemu-system-arm qemu-user-static
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.gnome.Sdk/aarch64/3.38 org.gnome.Platform/aarch64/3.38

flatpak-builder --arch=aarch64 --repo=repo --force-clean build-dir org.gnome.siglo.json
flatpak build-bundle --arch=aarch64 ./repo/ siglo.flatpak org.gnome.siglo

Transfer the siglo.flatpak file on the PinePhone and install it with the following command:

sudo flatpak install ./siglo.flatpak

If this project helped you, you can buy me a cup of coffee :)

Donate

DOGE address: DLDNfkXoJeueb2GRx4scnmRc12SX1H22VW

About

GTK app to sync InfiniTime watch with PinePhone

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.8%
  • Meson 7.0%
  • CSS 0.2%