diff options
| author | Blista Kanjo | 2024-06-26 07:47:53 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2024-06-26 07:47:53 -0400 |
| commit | c80ee4f6a3b646b8fc53d32ceb9f2d595d1870f6 (patch) | |
| tree | f2575e768648682db25de1a398beaffcfdc50c34 /.local/share/python-playerctl_systray/Makefile | |
| parent | 8b39f73286dca8124def51e2d8152dca00a65fb1 (diff) | |
feat: add `playerctl_systray`
Diffstat (limited to '.local/share/python-playerctl_systray/Makefile')
| -rw-r--r-- | .local/share/python-playerctl_systray/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.local/share/python-playerctl_systray/Makefile b/.local/share/python-playerctl_systray/Makefile new file mode 100644 index 0000000..e135452 --- /dev/null +++ b/.local/share/python-playerctl_systray/Makefile @@ -0,0 +1,4 @@ +compile: + cython3 --embed -o playerctl_systray.c -X language_level=3 playerctl_systray.py + PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+'` ; \ + gcc -march=native -O2 -pipe -fno-plt -I /usr/include/$$PYTHON_VERSION -o playerctl_systray playerctl_systray.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl `pkg-config --cflags --libs gtk+-3.0 appindicator3-0.1 dbus-1 dbus-glib-1` |
