From 99d110cd74bbd08011a754d1c11a08e51a90debe Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Tue, 10 Jul 2012 08:55:06 -0400 Subject: Enable GTK3 as default on FreeBSD and Linux, and make attempts to improve coloring when using other invasive GTK3 themes. The URI bar should now be colored correctly, unless explicitly overridden in a user theme. --- linux/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'linux/Makefile') diff --git a/linux/Makefile b/linux/Makefile index a351d34..6e35266 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -1,7 +1,14 @@ JS_CF=$(shell pkg-config --silence-errors --cflags javascriptcoregtk-1.0) JS_LD=$(shell pkg-config --silence-errors --libs javascriptcoregtk-1.0) -LIBS= glib-2.0 gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0 gnutls libbsd +GTK_VERSION?= gtk3 +LIBS= glib-2.0 +ifeq ("${GTK_VERSION}", "gtk2") +LIBS+= gtk+-2.0 webkit-1.0 +else +LIBS+= gtk+-3.0 webkitgtk-3.0 +endif +LIBS+= libsoup-2.4 gthread-2.0 gnutls libbsd CFLAGS+= -O2 -Wall -ggdb3 -D_GNU_SOURCE -I. -I.. $(shell pkg-config --cflags $(LIBS)) $(JS_CF) LDADD+= $(shell pkg-config --libs $(LIBS)) $(JS_LD) -ldl -lgcrypt -lX11 -- cgit 1.4.1-2-gfad0