office/fbreader: Updated for version 0.8.17

This commit is contained in:
Audrius Kažukauskas 2010-05-11 22:26:05 +02:00 committed by David Somero
parent 814d286b66
commit a4696f4a10
4 changed files with 17 additions and 9 deletions

View file

@ -8,11 +8,13 @@ FBReader is e-book reader for Linux PDAs and desktop.
(css and tables are not supported); OpenReader format (css and tables are not
supported); Non-DRM'ed mobipocket format (tables are not supported); Plain
text format.
- Direct reading from tar, zip, gzip and bzip2 archives.
- Direct reading from tar, zip, gzip and bzip2 archives.
- Automatically generated contents table.
- Embedded images support.
- Footnotes/hyperlinks support.
This builds the QT-based user interface by default; if you prefer to build
Requires liblinebreak (build time dependency) which can be found here at SBo.
This builds the Qt-based user interface by default; if you prefer to build
the GTK interface instead, run the script as follows:
UI=gtk ./fbreader.SlackBuild

View file

@ -1,3 +1,3 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -4,7 +4,7 @@
# Written by Audrius Kažukauskas <neobug@tornado.ktu.lt>
PRGNAM=fbreader
VERSION=0.8.8d
VERSION=0.8.17
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -17,6 +17,7 @@ OUTPUT=${OUTPUT:-/tmp}
# If you want to build the gtk interface instead, then change this
# value to 'gtk' or run the script like this:
# UI=gtk ./fbreader.SlackBuild
# (or UI=qt4 for those who have Qt4 from -current)
UI=${UI:-qt}
if [ "$ARCH" = "i486" ]; then
@ -52,6 +53,11 @@ sed -i 's|moc-qt3|moc|' makefiles/arch/desktop.mk
sed -i 's|-I /usr/include/qt3|$(shell pkg-config --cflags qt-mt)|' makefiles/arch/desktop.mk
sed -i 's|-lqt-mt|$(shell pkg-config --libs qt-mt)|' makefiles/arch/desktop.mk
# Fix all Qt4 related flags
sed -i 's|moc-qt4|moc|' makefiles/arch/desktop.mk
sed -i 's|-I /usr/include/qt4|$(shell pkg-config --cflags QtGui)|' makefiles/arch/desktop.mk
sed -i 's|-lQtGui|$(shell pkg-config --libs QtGui)|' makefiles/arch/desktop.mk
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="fbreader"
VERSION="0.8.8d"
VERSION="0.8.17"
HOMEPAGE="http://www.fbreader.org/"
DOWNLOAD="http://www.fbreader.org/fbreader-sources-0.8.8d.tgz"
MD5SUM="37839e49a7696e615cf87c3eba59e1a5"
DOWNLOAD="http://www.fbreader.org/fbreader-sources-0.8.17.tgz"
MD5SUM="cde2f1224c51d0adbf970bdb6748eb90"
MAINTAINER="Audrius Kazukauskas"
EMAIL="neobug@tornado.ktu.lt"
APPROVED="rworkman"
APPROVED="David Somero"