summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-26 09:26:18 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-26 09:26:18 +0000
commitd1680932b287ff9b1bfc566cdcbc429b975484f4 (patch)
tree9260a5949d53a8825d06301485b52449f0de2d2f /media-libs
parentUse l10n.eclass for handling locales. (diff)
downloadgentoo-2-d1680932b287ff9b1bfc566cdcbc429b975484f4.tar.gz
gentoo-2-d1680932b287ff9b1bfc566cdcbc429b975484f4.tar.bz2
gentoo-2-d1680932b287ff9b1bfc566cdcbc429b975484f4.zip
media-libs/sk1libs: Drop bundled media-fonts/ttf-bitstream-vera, #427898
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sk1libs/ChangeLog7
-rw-r--r--media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/media-libs/sk1libs/ChangeLog b/media-libs/sk1libs/ChangeLog
index 734e516eb5b5..ad471f7704a7 100644
--- a/media-libs/sk1libs/ChangeLog
+++ b/media-libs/sk1libs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/sk1libs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/ChangeLog,v 1.15 2012/02/25 14:39:08 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/ChangeLog,v 1.16 2012/07/26 09:26:18 jlec Exp $
+
+*sk1libs-0.9.1-r1 (26 Jul 2012)
+
+ 26 Jul 2012; Justin Lecher <jlec@gentoo.org> +sk1libs-0.9.1-r1.ebuild:
+ Drop bundled media-fonts/ttf-bitstream-vera, #427898
25 Feb 2012; Patrick Lauer <patrick@gentoo.org> sk1libs-0.9.1.ebuild:
Restricting jython
diff --git a/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild b/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..1a0bc04d645c
--- /dev/null
+++ b/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/sk1libs-0.9.1-r1.ebuild,v 1.1 2012/07/26 09:26:18 jlec Exp $
+
+EAPI="3"
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit distutils
+
+DESCRIPTION="sk1 vector graphics lib"
+HOMEPAGE="http://sk1project.org/index.php"
+SRC_URI="http://uniconvertor.googlecode.com/files/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~sparc-solaris ~x86-solaris"
+LICENSE="GPL-2 LGPL-2"
+IUSE=""
+
+DEPEND="
+ media-fonts/ttf-bitstream-vera
+ media-libs/freetype:2
+ virtual/jpeg
+ >=media-libs/lcms-1.15:0[python]"
+RDEPEND="${DEPEND}
+ app-text/ghostscript-gpl
+ media-libs/netpbm"
+
+src_prepare() {
+ distutils_src_prepare
+ sed -i -e "/include_dirs/s:\(/usr/include/freetype2\):${EPREFIX}\1:" \
+ setup.py || die
+}
+
+src_install() {
+ distutils_src_install
+
+ font-fixation() {
+ rm -rf "${ED}"/$(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts
+ dosym /usr/share/fonts/ttf-bitstream-vera $(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts
+ }
+ python_execute_function font-fixation
+}