Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Dependecies updated for Ubuntu 22.04 #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/clevo-indicator.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include <sys/wait.h>
#include <unistd.h>

#include <libappindicator/app-indicator.h>
#include <libayatana-appindicator3-0.1/libayatana-appindicator/app-indicator.h>

#define NAME "clevo-indicator"

Expand Down