zathura-djvu: 0.2.5 -> 0.2.7
This commit is contained in:
parent
f0c992bf51
commit
e67078d394
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
{ stdenv, fetchurl, pkgconfig, gtk, zathura_core, girara, djvulibre, gettext }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zathura-djvu-0.2.5";
|
name = "zathura-djvu-0.2.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
|
||||||
sha256 = "03cw54d2fipvbrnbqy0xccqkx6s77dyhyymx479aj5ryy4513dq8";
|
sha256 = "1sbfdsyp50qc85xc4458sn4w1rv1qbygdwmcr5kjlfpsmdq98vhd";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
--- a/config.mk 2012-05-14 01:13:09.009740082 +0400
|
--- zathura-djvu-0.2.7.orig/config.mk 2017-12-21 14:20:24.000000000 +0100
|
||||||
+++ b/config.mk 2012-05-14 01:13:50.400525700 +0400
|
+++ zathura-djvu-0.2.7/config.mk 2017-12-31 00:41:02.580154770 +0100
|
||||||
@@ -11,6 +11,9 @@
|
@@ -16,6 +16,9 @@
|
||||||
LIBDIR ?= ${PREFIX}/lib
|
DESKTOPPREFIX ?= ${PREFIX}/share/applications
|
||||||
|
|
||||||
# libs
|
# libs
|
||||||
+GTK_INC ?= $(shell pkg-config --cflags gtk+-2.0)
|
+GTK_INC ?= $(shell pkg-config --cflags gtk+-2.0)
|
||||||
@ -10,14 +10,14 @@
|
|||||||
CAIRO_INC ?= $(shell pkg-config --cflags cairo)
|
CAIRO_INC ?= $(shell pkg-config --cflags cairo)
|
||||||
CAIRO_LIB ?= $(shell pkg-config --libs cairo)
|
CAIRO_LIB ?= $(shell pkg-config --libs cairo)
|
||||||
|
|
||||||
@@ -29,8 +32,8 @@
|
@@ -34,8 +37,8 @@
|
||||||
PLUGINDIR = ${LIBDIR}/zathura
|
PLUGINDIR = ${LIBDIR}/zathura
|
||||||
endif
|
endif
|
||||||
|
|
||||||
-INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC}
|
-INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${CAIRO_INC} ${ZATHURA_INC}
|
||||||
-LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB}
|
-LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${CAIRO_LIB}
|
||||||
+INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${ZATHURA_INC} ${GTK_INC}
|
+INCS = ${GIRARA_INC} ${GLIB_INC} ${DJVU_INC} ${CAIRO_INC} ${ZATHURA_INC} ${GTK_INC}
|
||||||
+LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${GTK_LIB}
|
+LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB} ${CAIRO_LIB} ${GTK_LIB}
|
||||||
|
|
||||||
# flags
|
# pre-processor flags
|
||||||
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
|
CPPFLAGS += -D_FILE_OFFSET_BITS=64
|
||||||
|
Loading…
Reference in New Issue
Block a user