Makefile, and mark 50 compatible

This commit is contained in:
2026-03-02 02:17:08 +09:00
parent 357c722ba1
commit 4aa72bbf4d
4 changed files with 24 additions and 15 deletions

23
Makefile Normal file
View File

@@ -0,0 +1,23 @@
UUID = freon@UshakovVasilii_Github.yahoo.com
INSTALLDIR = $(HOME)/.local/share/gnome-shell/extensions/$(UUID)
.PHONY: all schemas install zip clean test
all: schemas
schemas:
glib-compile-schemas $(UUID)/schemas
install: schemas
rm -rf $(INSTALLDIR)
cp -r $(UUID) $(INSTALLDIR)
zip: schemas
cd $(UUID) && zip -x "*.pot" -x "*.po" -r ../$(UUID).zip *
clean:
rm -f $(UUID).zip
rm -f $(UUID)/schemas/gschemas.compiled
test: install
dbus-run-session -- gnome-shell --devkit --wayland

View File

@@ -1,6 +0,0 @@
#!/bin/sh
NAME=freon@UshakovVasilii_Github.yahoo.com
glib-compile-schemas $NAME/schemas
rm -rf ~/.local/share/gnome-shell/extensions/$NAME
cp -r $NAME ~/.local/share/gnome-shell/extensions/.

View File

@@ -1,5 +1,5 @@
{
"shell-version": ["45", "46", "47", "48", "49"],
"shell-version": ["45", "46", "47", "48", "49", "50"],
"uuid": "freon@UshakovVasilii_Github.yahoo.com",
"name": "Freon",
"description": "Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM (forked from xtranophilist/gnome-shell-extension-sensors)",

View File

@@ -1,8 +0,0 @@
#!/bin/sh
NAME=freon@UshakovVasilii_Github.yahoo.com
glib-compile-schemas $NAME/schemas
cd $NAME
zip -x "*.pot" -x "*.po" -r $NAME.zip *
cd ..
mv $NAME/$NAME.zip .