mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 16:34:21 +09:00
Makefile, and mark 50 compatible
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal 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
|
||||||
@@ -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/.
|
|
||||||
@@ -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",
|
"uuid": "freon@UshakovVasilii_Github.yahoo.com",
|
||||||
"name": "Freon",
|
"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)",
|
"description": "Shows CPU temperature, disk temperature, video card temperature (NVIDIA/Catalyst/Bumblebee&NVIDIA), voltage and fan RPM (forked from xtranophilist/gnome-shell-extension-sensors)",
|
||||||
|
|||||||
@@ -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 .
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user