mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
d339184bbf
Expression handles new modular structure of zathura and adds support for djvu, pdf and ps plugins.
24 lines
734 B
Diff
24 lines
734 B
Diff
--- a/config.mk 2012-05-14 01:13:09.009740082 +0400
|
|
+++ b/config.mk 2012-05-14 01:13:50.400525700 +0400
|
|
@@ -11,6 +11,9 @@
|
|
LIBDIR ?= ${PREFIX}/lib
|
|
|
|
# libs
|
|
+GTK_INC ?= $(shell pkg-config --cflags gtk+-2.0)
|
|
+GTK_LIB ?= $(shell pkg-config --libs gtk+-2.0)
|
|
+
|
|
CAIRO_INC ?= $(shell pkg-config --cflags cairo)
|
|
CAIRO_LIB ?= $(shell pkg-config --libs cairo)
|
|
|
|
@@ -29,8 +32,8 @@
|
|
PLUGINDIR = ${LIBDIR}/zathura
|
|
endif
|
|
|
|
-INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC}
|
|
-LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB}
|
|
+INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC} ${GTK_INC}
|
|
+LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${GTK_LIB}
|
|
|
|
# flags
|
|
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
|