diff options
Diffstat (limited to 'office/epdfview/epdfview.SlackBuild')
-rw-r--r-- | office/epdfview/epdfview.SlackBuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/office/epdfview/epdfview.SlackBuild b/office/epdfview/epdfview.SlackBuild index 98a7928912..af7fd41501 100644 --- a/office/epdfview/epdfview.SlackBuild +++ b/office/epdfview/epdfview.SlackBuild @@ -26,15 +26,13 @@ PRGNAM=epdfview VERSION=0.1.7 -BUILD=${BUILD:-2} -TAG=${TAG=_SBo} +BUILD=${BUILD:-3} +TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -76,6 +74,20 @@ find . \ # Add patch to fix mouse-scrolling in 0.1.7 patch -p0 < $CWD/mouse-scroll-fix.patch +# Patch for poppler 0.15.0 +patch -p2 < $CWD/poppler-0150.patch + +# Patch for poppler 0.15.1 +patch -p2 < $CWD/poppler-0151.patch + +# Patch for poppler 0.16.2 +patch -p0 < $CWD/poppler-0162.patch + +# After all the poppler patches, we need to "autoreconf" to set the right variables, +# but it fails if there is no "ChangeLog" file, so that is created first +touch ChangeLog +autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |