aboutsummaryrefslogtreecommitdiff
path: root/office/calibre
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-15 11:47:53 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:45 -0600
commit607b582a2927bd387edee1f88795ec7cd2bcd728 (patch)
tree1a4a5f28c87cb7cc882fb1cf1d46d567518dbc91 /office/calibre
parent9d32241eeb1d15f4e5770f8a50acdc44b4c4e70f (diff)
office/calibre: Updated for version 1.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/calibre')
-rw-r--r--office/calibre/README2
-rw-r--r--office/calibre/calibre.SlackBuild7
-rw-r--r--office/calibre/calibre.info6
3 files changed, 9 insertions, 6 deletions
diff --git a/office/calibre/README b/office/calibre/README
index 1b4cf6b49e39..1e4ebaba0278 100644
--- a/office/calibre/README
+++ b/office/calibre/README
@@ -8,5 +8,3 @@ i.e. a single entry in the database that may correspond to ebooks in
several formats. It also supports conversion from a dozen different ebook
formats to LRF and EPUB. A graphical interface to the conversion software
can be accessed easily by just clicking the "Convert E-books" button.
-
-Calibre can optionally use unrar if installed to read rar files.
diff --git a/office/calibre/calibre.SlackBuild b/office/calibre/calibre.SlackBuild
index 35c5b2fed302..9dc5e73706a4 100644
--- a/office/calibre/calibre.SlackBuild
+++ b/office/calibre/calibre.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=calibre
-VERSION=${VERSION:-1.13.0}
+VERSION=${VERSION:-1.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -112,6 +112,8 @@ cat src/calibre/linux.py | sed -n "/^VIEWER/,/^'''/p" | \
sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-lrfviewer.desktop
cat src/calibre/linux.py | sed -n "/^EVIEWER/,/^'''/p" | \
sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-viewer.desktop
+cat src/calibre/linux.py | sed -n "/^ETWEAK/,/^'''/p" | \
+ sed -e "/'''/d" > $PKG/usr/share/applications/$PRGNAM-ebook-edit.desktop
cat src/calibre/linux.py | sed -n "/^GUI/,/^'''/p" | \
sed -e "/'''/d" -e '/^Name/s|calibre|Calibre|' \
> $PKG/usr/share/applications/$PRGNAM-gui.desktop
@@ -123,12 +125,15 @@ for i in 16 24 32 64 96 128; do
-resize ${i}x${i}! $PRGNAM-viewer-${i}.png
convert imgsrc/mimetypes/lrf.svg \
-resize ${i}x${i}! application-x-sony-bbeb-${i}.png
+ convert resources/images/tweak.png -resize ${i}x${i}! $PRGNAM-ebook-edit-${i}.png
install -D -m 0644 $PRGNAM-gui-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-gui.png
install -D -m 0644 $PRGNAM-viewer-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-viewer.png
install -D -m 0644 application-x-sony-bbeb-${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/mimetypes/application-x-sony-bbeb.png
+ install -D -m 0644 $PRGNAM-ebook-edit-${i}.png \
+ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM-ebook-edit.png
done
# Don't ship fonts that are already in Slackware.
diff --git a/office/calibre/calibre.info b/office/calibre/calibre.info
index 365560f6f7f5..3f5435a2d1d5 100644
--- a/office/calibre/calibre.info
+++ b/office/calibre/calibre.info
@@ -1,8 +1,8 @@
PRGNAM="calibre"
-VERSION="1.13.0"
+VERSION="1.15.0"
HOMEPAGE="http://calibre-ebook.com"
-DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.13.0.tar.xz"
-MD5SUM="aeee6229f36eacdd1a28bade3bc1dd9f"
+DOWNLOAD="http://downloads.sourceforge.net/calibre/calibre-1.15.0.tar.xz"
+MD5SUM="ee72ec13e501b51f22916ea94d26c610"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cssutils dnspython lxml mechanize podofo python-dateutil netifaces psutil cssselect apsw"