From d55248989fe4aa8b7c6f5d06ac8a89b66ba3aba8 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Tue, 10 Jun 2025 13:32:36 -0400 Subject: refactor: multiple changes (see description) * add LICENSEs where necesary * remove *pkg scripts from repo see: https://github.com/kj-sh604/gitpkg * rename .local/src python directories * update .local/bin scripts in relation to above --- .local/src/playerctl_systray/Makefile | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .local/src/playerctl_systray/Makefile (limited to '.local/src/playerctl_systray/Makefile') diff --git a/.local/src/playerctl_systray/Makefile b/.local/src/playerctl_systray/Makefile new file mode 100644 index 0000000..a0ab881 --- /dev/null +++ b/.local/src/playerctl_systray/Makefile @@ -0,0 +1,4 @@ +compile: + cython3 --embed -o playerctl_systray.c -X language_level=3 playerctl_systray.py + PYTHON_VERSION=`ls --sort version /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \ + 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