depend on gtk3 instead of gtk2

This commit is contained in:
Benedikt Heine 2017-07-13 14:47:18 +02:00
parent b06475b4aa
commit 855d4bb860
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ addons:
- libpango1.0-dev
- libcairo2-dev
- libnotify-dev
- libgtk2.0-dev
- libgtk-3-dev
dist: trusty
sudo: false
language: c

View File

@ -87,6 +87,6 @@ test-clean:
rm -f test/test test/*.o
dunstify: dunstify.o
${CC} ${CFLAGS} -o $@ dunstify.o $(shell pkg-config --libs --cflags glib-2.0 libnotify gdk-2.0)
${CC} ${CFLAGS} -o $@ dunstify.o $(shell pkg-config --libs --cflags glib-2.0 libnotify gdk-3.0)
.PHONY: all clean dist install uninstall

View File

@ -23,7 +23,7 @@ Dunst has a number of build dependencies that must be present before attempting
- libxdg-basedir
- glib
- pango/cairo
- libgtk2.0
- libgtk-3-dev
Checkout the [wiki][wiki] for more information.

View File

@ -22,7 +22,7 @@ CFLAGS += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC}
pkg_config_packs := dbus-1 x11 xscrnsaver \
"glib-2.0 >= 2.36" gio-2.0 \
pangocairo gdk-2.0 xrandr xinerama
pangocairo gdk-3.0 xrandr xinerama
# check if we need libxdg-basedir
ifeq (,$(findstring STATIC_CONFIG,$(CFLAGS)))