summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/ChangeLog7
-rw-r--r--app-text/calibre/Manifest10
-rw-r--r--app-text/calibre/calibre-0.4.54.ebuild88
3 files changed, 100 insertions, 5 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index da720b5a7ebd..8eced9482d6f 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.2 2008/05/14 21:33:36 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.3 2008/05/15 13:13:55 flameeyes Exp $
+
+*calibre-0.4.54 (15 May 2008)
+
+ 15 May 2008; Diego Pettenò <flameeyes@gentoo.org> +calibre-0.4.54.ebuild:
+ Version bump.
14 May 2008; Diego Pettenò <flameeyes@gentoo.org> calibre-0.4.53.ebuild:
Depend on Python 2.5, see bug #221935.
diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest
index 10bdb5b309d5..9c19bde8cee7 100644
--- a/app-text/calibre/Manifest
+++ b/app-text/calibre/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST calibre-0.4.53.tar.bz2 3825138 RMD160 de99049d79bae36a023ee7f73bd9b6f48801e85e SHA1 1d0ae70bc38c4eee3c5afdd0f2585b9621fb0167 SHA256 11de8615c0c65f80b3a5c426578a003cdc5cdafec5555ac139098efe6eb46dc4
+DIST calibre-0.4.54.tar.bz2 3838439 RMD160 df4f7cdb7b2e20d22d888425446451fedfd61060 SHA1 872dbfbab272a39dd181b3bd7c11003ce0188a20 SHA256 5159160af7cedb9d79d4bc8b1ed6477567c0bab37c5ee1b9c8da8782bc9f4d46
EBUILD calibre-0.4.53.ebuild 2258 RMD160 5625ada21abc6bc5dd668d1daf63f4e593fc0fb9 SHA1 e3f0db53e53d8e83f760c6f2e868654b76d97fae SHA256 446245f24ce26e27fb537ddebbd3b6be317907a1d2c82655c8af651cb2760725
-MISC ChangeLog 649 RMD160 971ad764c1a160d13f3150f8c3c580546f87ab24 SHA1 3bc26e7ef466428385d8dfa3299241d6b8fb17c5 SHA256 d2614ae629b9d6a22e816c87ce745b48673f044d3cb8a5cba742070a79d6d666
+EBUILD calibre-0.4.54.ebuild 2258 RMD160 b8d7973402f4fc189868792282db133882017e0c SHA1 36bdf6291f928cdb352e9b8ca674b1241029e587 SHA256 029e8a3a0c4898b3c7b058b6859975f082bc618e96bb3ada136104c3460e0b5f
+MISC ChangeLog 774 RMD160 59aa5adb88b5f8f836fff763066a6eb700b8bdab SHA1 84c0341cec2a4f5809b0cdc86201a790b7b050e7 SHA256 e60babe134079768a977666ca2db347c2cac1c8074c93b168faaef620444e5d9
MISC metadata.xml 233 RMD160 da5a1d3b7836dcebb5fec29696b5bfb583fe346c SHA1 1c7142c677598358888a6cfc6f6f65df2e8b6901 SHA256 4d1294dc1b2a6f96aa637a0b8d340bc67191103af0f15197d07fc62446b4a709
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEUEARECAAYFAkgrWrcACgkQAiZjviIA2Xhh0ACfXfTXY6ZvRRRL7wRYcXRUO0fH
-A/QAliMaZQOBhhBwEyR9ODOyZ+Gm5FE=
-=GG8h
+iEYEARECAAYFAkgsNxoACgkQAiZjviIA2XjSYQCdFvwDc8cb0dgtu3wnJEMCFoBA
+G/UAoMkwSLiTTqKHXYfKW/5nn8zJRVR9
+=LN8k
-----END PGP SIGNATURE-----
diff --git a/app-text/calibre/calibre-0.4.54.ebuild b/app-text/calibre/calibre-0.4.54.ebuild
new file mode 100644
index 000000000000..7bac73439a90
--- /dev/null
+++ b/app-text/calibre/calibre-0.4.54.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.4.54.ebuild,v 1.1 2008/05/15 13:13:55 flameeyes Exp $
+
+NEED_PYTHON=2.5
+
+inherit distutils eutils fdo-mime
+
+MY_P="${P/_p/-p}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Ebook management application."
+HOMEPAGE="http://calibre.kovidgoyal.net"
+SRC_URI="http://calibre.kovidgoyal.net/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64"
+
+SLOT="0"
+
+IUSE=""
+
+RDEPEND=">=dev-python/imaging-1.1.6
+ >=dev-libs/libusb-0.1.12
+ >=dev-python/PyQt4-4.3.1
+ >=dev-python/fonttools-2.0_beta1
+ >=app-text/unrtf-0.20.1
+ >=dev-python/mechanize-0.1.7b
+ >=media-gfx/imagemagick-6.3.5
+ >=dev-python/dbus-python-0.82.2
+ >=app-text/convertlit-1.8
+ >=dev-python/lxml-1.3.3
+ dev-python/ttfquery
+ dev-python/genshi"
+
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ >=gnome-base/librsvg-2.0.0
+ >=x11-misc/xdg-utils-1.0.2-r2
+ sys-apps/help2man"
+
+src_compile() {
+ emake || die "pre-build failed"
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+
+ # Create directory before running the postinst script
+ # otherwise it will bail out.
+ dodir /usr/share/icons/hicolor
+ dodir /etc/xdg/menus
+ dodir /usr/share/applications
+ dodir /usr/share/desktop-directories
+ dodir /usr/share/applnk
+ dodir /usr/share/mime/packages
+
+ # Bypass the default kde-config output, and force it to
+ # tell xdg-mime to use a different path.
+ cat - > "${T}/kde-config" <<EOF
+#!/bin/bash
+
+case \$1:\$2 in
+ --version:) echo -e "Qt: 3.3.8\nKDE: 3.5.8\nkde-config: 1.0" ;;
+ --path:mime) echo "${D}/usr/share/mimelnk/" ;;
+esac
+EOF
+
+ chmod +x "${T}/kde-config"
+
+ PATH="${T}:${PATH}" KDEDIRS="${D}/usr" XDG_DATA_DIRS="${D}/usr/share" DESTDIR="${D}" PYTHONPATH="${S}/build/lib" \
+ python "${S}"/src/${PN}/linux.py \
+ --use-destdir --do-not-reload-udev-hal \
+ --group-file="${ROOT}"/etc/group --dont-check-root \
+ || die "post-installation failed."
+
+ rm -r "${D}"/usr/share/applications/{mimeinfo.cache,defaults.list} \
+ "${D}"/usr/share/mime/{subclasses,XMLnamespaces,globs,mime.cache,magic,aliases} \
+ "${D}"/usr/share/applnk
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ distutils_pkg_postinst
+}