summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-09-04 16:45:46 +0000
committerZac Medico <zmedico@gentoo.org>2012-09-04 16:45:46 +0000
commit98e5c9c005fbae0a59f772fe46c1241ea20bf095 (patch)
tree14e8f4ef76d2b5e993a518c4b7e04a2aac5dddb5 /app-text
parentRemove extras USE flag from IUSE (diff)
downloadgentoo-2-98e5c9c005fbae0a59f772fe46c1241ea20bf095.tar.gz
gentoo-2-98e5c9c005fbae0a59f772fe46c1241ea20bf095.tar.bz2
gentoo-2-98e5c9c005fbae0a59f772fe46c1241ea20bf095.zip
Use system liberation-fonts for bug #433932.
(Portage version: 2.2.0_alpha124/cvs/Linux i686)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/ChangeLog5
-rw-r--r--app-text/calibre/calibre-0.8.67.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index 75ee6a02800b..51798dd94583 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.224 2012/08/31 17:12:17 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.225 2012/09/04 16:45:46 zmedico Exp $
+
+ 04 Sep 2012; Zac Medico <zmedico@gentoo.org> calibre-0.8.67.ebuild:
+ Use system liberation-fonts for bug #433932.
*calibre-0.8.67 (31 Aug 2012)
diff --git a/app-text/calibre/calibre-0.8.67.ebuild b/app-text/calibre/calibre-0.8.67.ebuild
index 39b4930f2692..d886ce370b13 100644
--- a/app-text/calibre/calibre-0.8.67.ebuild
+++ b/app-text/calibre/calibre-0.8.67.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.67.ebuild,v 1.1 2012/08/31 17:12:17 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.67.ebuild,v 1.2 2012/09/04 16:45:46 zmedico Exp $
EAPI=4
PYTHON_DEPEND=2:2.7
@@ -36,6 +36,7 @@ COMMON_DEPEND="
>=dev-python/mechanize-0.1.11
>=dev-python/python-dateutil-1.4.1
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
+ media-fonts/liberation-fonts
>=media-gfx/imagemagick-6.5.9[jpeg,png]
>=media-libs/libwmf-0.2.8
media-libs/libmtp
@@ -157,6 +158,13 @@ src_install() {
rm -r "${ED}"usr/etc/bash_completion.d
find "${ED}"usr/etc -type d -empty -delete
+ cd "${ED}"/usr/share/calibre/fonts/liberation || die
+ local x
+ for x in * ; do
+ [[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
+ ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
+ done
+
python_convert_shebangs -r $(python_get_version) "${ED}"
newinitd "${FILESDIR}"/calibre-server.init calibre-server