graphics/djview4: Updated for version 4.10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vladimir Yatsemirski 2015-05-15 07:41:47 +07:00 committed by Willy Sudiarto Raharjo
parent 26c287254f
commit ddbf14d3ee
3 changed files with 12 additions and 16 deletions

View File

@ -1,6 +1,7 @@
DjView4 is a portable DjVu viewer and browser plugin.
- Entirely based on the public djvulibre api.
- Entirely written in portable Qt4.
- Continuous scrolling of pages
- Side-by-side display of pages
- Ability to specify a url to the djview command
@ -10,3 +11,4 @@ DjView4 is a portable DjVu viewer and browser plugin.
- Display outlines
- Page names supported (see djvused command set-page-title)
- Metadata dialog (see djvused command set-meta)
- Implemented as reusable Qt widgets

View File

@ -4,7 +4,7 @@
# Copyright 2008-2010 Murat D. Kadirov <banderols@gmail.com>
# Copyright 2012 Binh Nguyen <binhvng@gmail.com>
# Copyright 2014 Vladimir Yatsemirski <7catssmile@gmail.com>
# Copyright 2015 Vladimir Yatsemirski <7catssmile@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,8 +24,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Thanks Jean-Pierre Moreau.
PRGNAM=djview4
VERSION=${VERSION:-4.9}
VERSION=${VERSION:-4.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -63,6 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/djview-$VERSION.tar.gz
mv djview-$VERSION djview4-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -89,17 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
# This plugin *should* work with Mozilla-based browsers
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib$LIBDIRSUFFIX/netscape $PKG/usr/lib$LIBDIRSUFFIX/mozilla
else
mv $PKG/usr/lib/netscape $PKG/usr/lib/mozilla
fi
mkdir -p $PKG/usr/share/{applications,pixmaps,}
cp $PKG/usr/share/djvu/djview4/desktop/*.desktop \
$PKG/usr/share/applications
cp $PKG/usr/share/djvu/djview4/desktop/hi32-djview4.png \
mkdir -p $PKG/usr/share/pixmaps
cp $PKG/usr/share/icons/hicolor/32x32/mimetypes/djvulibre-djview4.png \
$PKG/usr/share/pixmaps/djvulibre-djview4.png
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

View File

@ -1,8 +1,8 @@
PRGNAM="djview4"
VERSION="4.9"
VERSION="4.10"
HOMEPAGE="http://djvu.sourceforge.net/djview4.html"
DOWNLOAD="http://downloads.sourceforge.net/djvu/djview-4.9.tar.gz"
MD5SUM="0390cb133ffc7d3054f2184629e5b336"
DOWNLOAD="http://downloads.sourceforge.net/djvu/djview-4.10.tar.gz"
MD5SUM="eaa55a94ca03f0cf39d6a4b384179241"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""