From c80ee4f6a3b646b8fc53d32ceb9f2d595d1870f6 Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Wed, 26 Jun 2024 07:47:53 -0400 Subject: feat: add `playerctl_systray` --- .local/share/python-playerctl_systray/Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .local/share/python-playerctl_systray/Makefile (limited to '.local/share/python-playerctl_systray/Makefile') 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` -- cgit v1.2.3