diff --git a/Makefile b/Makefile index 48228cf..0ddac47 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,8 @@ OBJ = $(patsubst %.c,$(OBJDIR)/%.o,$(SRC)) TARGET = bin/clevo-indicator -CFLAGS += `pkg-config --cflags appindicator3-0.1` -LDFLAGS += `pkg-config --libs appindicator3-0.1` +CFLAGS += `pkg-config --cflags ayatana-appindicator3-0.1` +LDFLAGS += `pkg-config --libs ayatana-appindicator3-0.1` all: $(TARGET) diff --git a/README.md b/README.md index e9d6342..abf2f6c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,14 @@ For command-line, use *-h* to display help, or a number representing percentage Build and Install ----------------- - +For Ubuntu 22.04: +```shell +sudo apt install libayatana-appindicator3-dev libgtk-3-dev +git clone https://github.com/grizzlei/clevo-indicator.git +cd clevo-indicator +make install +``` +For older Ubuntu versions: ```shell sudo apt-get install libappindicator3-dev libgtk-3-dev git clone https://github.com/SkyLandTW/clevo-indicator.git diff --git a/src/clevo-indicator.c b/src/clevo-indicator.c index 06be525..7eadfd0 100644 --- a/src/clevo-indicator.c +++ b/src/clevo-indicator.c @@ -47,7 +47,7 @@ #include #include -#include +#include #define NAME "clevo-indicator"