summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/calibre/distinfo4
-rw-r--r--misc/calibre/patches/patch-setup_extensions.py23
2 files changed, 22 insertions, 5 deletions
diff --git a/misc/calibre/distinfo b/misc/calibre/distinfo
index 2ea84412087..6abcff6de09 100644
--- a/misc/calibre/distinfo
+++ b/misc/calibre/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.65 2016/05/21 06:37:00 wiz Exp $
+$NetBSD: distinfo,v 1.66 2016/06/04 12:06:07 joerg Exp $
SHA1 (calibre-2.57.1.tar.xz) = 25ac0fcc480c2416f70e3231192642df78f36792
RMD160 (calibre-2.57.1.tar.xz) = e762ea9889e12ab30ecfe036d9613f7e2c7cdcff
SHA512 (calibre-2.57.1.tar.xz) = 482dec810d0ca2220a7c2b291750aefd3133c9969a0237841283995ee5c07bda0e6fa2a266a7fd876be283dcfb71d5bb8aca6c9270e7f6772ab40cc0cb410ca0
Size (calibre-2.57.1.tar.xz) = 40495212 bytes
SHA1 (patch-setup_build__environment.py) = b620c36fee9a4c403af0fecced8ea8189dc8e25c
-SHA1 (patch-setup_extensions.py) = 698abb3609a3f576ae1d194422d10ffaa698e3db
+SHA1 (patch-setup_extensions.py) = 18edee06e64294ba87a60aafa3e34dfa6f09cd94
SHA1 (patch-src_calibre_linux.py) = 16c3122a612ec9996f774c5c2c9d40a475723662
diff --git a/misc/calibre/patches/patch-setup_extensions.py b/misc/calibre/patches/patch-setup_extensions.py
index a4f4deb3740..dcb1494f357 100644
--- a/misc/calibre/patches/patch-setup_extensions.py
+++ b/misc/calibre/patches/patch-setup_extensions.py
@@ -1,10 +1,27 @@
-$NetBSD: patch-setup_extensions.py,v 1.6 2015/12/30 00:08:33 wiz Exp $
+$NetBSD: patch-setup_extensions.py,v 1.7 2016/06/04 12:06:07 joerg Exp $
Fix build for pictureflow.
---- setup/extensions.py.orig 2015-12-21 03:57:33.000000000 +0000
+--- setup/extensions.py.orig 2016-02-26 03:04:36.000000000 +0000
+++ setup/extensions.py
-@@ -636,7 +636,7 @@ class Build(Command):
+@@ -549,6 +549,7 @@ class Build(Command):
+ INCLUDEPATH += {freetype}
+ DESTDIR = {destdir}
+ CONFIG -= create_cmake # Prevent qmake from generating a cmake build file which it puts in the calibre src directory
++ QMAKE_LFLAGS += $(COMPILER_RPATH_FLAG)$(X11BASE)/lib
+ QMAKE_LIBS_PRIVATE += {glib} {fontconfig}
+ ''').format(
+ headers=' '.join(headers), sources=' '.join(sources), others=' '.join(others), destdir=self.d(
+@@ -603,6 +604,8 @@ class Build(Command):
+ SOURCES = {sources}
+ INCLUDEPATH += {sipinc} {pyinc}
+ VERSION = {ver}
++ QMAKE_LFLAGS += $(COMPILER_RPATH_FLAG)$(X11BASE)/lib
++
+ win32 {{
+ LIBS += {py_lib}
+ TARGET_EXT = .dll
+@@ -633,7 +636,7 @@ class Build(Command):
if iswindows:
qmc += ['-spec', qmakespec]
fext = 'dll' if iswindows else 'dylib' if isosx else 'so'