diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-04-18 06:35:36 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-04-18 06:35:36 +0000 |
commit | ea4f7783c58149444f9602716a28423c67f73df0 (patch) | |
tree | 891333a7c2fdb224fbb69913f3e1725f2be8859b /media-libs | |
parent | Version bump (diff) | |
download | gentoo-2-ea4f7783c58149444f9602716a28423c67f73df0.tar.gz gentoo-2-ea4f7783c58149444f9602716a28423c67f73df0.tar.bz2 gentoo-2-ea4f7783c58149444f9602716a28423c67f73df0.zip |
media-libs/sk1libs: Bump to distutils-r1.eclass, #466278; thanks Nikoli for a first patch
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/sk1libs/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/sk1libs/metadata.xml | 16 | ||||
-rw-r--r-- | media-libs/sk1libs/sk1libs-0.9.1-r2.ebuild | 54 |
3 files changed, 70 insertions, 10 deletions
diff --git a/media-libs/sk1libs/ChangeLog b/media-libs/sk1libs/ChangeLog index 1c4ae7698fce..bf1d9f2375ab 100644 --- a/media-libs/sk1libs/ChangeLog +++ b/media-libs/sk1libs/ChangeLog @@ -1,6 +1,12 @@ # 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.18 2012/09/11 03:02:14 ottxor Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sk1libs/ChangeLog,v 1.19 2013/04/18 06:35:36 jlec Exp $ + +*sk1libs-0.9.1-r2 (18 Apr 2013) + + 18 Apr 2013; Justin Lecher <jlec@gentoo.org> +sk1libs-0.9.1-r2.ebuild, + metadata.xml: + Bump to distutils-r1.eclass, #466278; thanks Nikoli for a first patch 11 Sep 2012; Christoph Junghans <ottxor@gentoo.org> sk1libs-0.9.1-r1.ebuild: added ~x86-linux diff --git a/media-libs/sk1libs/metadata.xml b/media-libs/sk1libs/metadata.xml index 89e5e5b8ea55..7c0d59e6385a 100644 --- a/media-libs/sk1libs/metadata.xml +++ b/media-libs/sk1libs/metadata.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>graphics</herd> - <maintainer> - <email>jlec@gentoo.org</email> - <description>Package adder</description> - </maintainer> - <upstream> - <remote-id type="google-code">uniconvertor</remote-id> - </upstream> + <herd>graphics</herd> + <maintainer> + <email>jlec@gentoo.org</email> + <description>Package adder</description> + </maintainer> + <upstream> + <remote-id type="google-code">uniconvertor</remote-id> + </upstream> </pkgmetadata> diff --git a/media-libs/sk1libs/sk1libs-0.9.1-r2.ebuild b/media-libs/sk1libs/sk1libs-0.9.1-r2.ebuild new file mode 100644 index 000000000000..4d2b5f9df474 --- /dev/null +++ b/media-libs/sk1libs/sk1libs-0.9.1-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2013 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-r2.ebuild,v 1.1 2013/04/18 06:35:36 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_8,1_9} ) + +inherit distutils-r1 python-r1 + +DESCRIPTION="sk1 vector graphics lib" +HOMEPAGE="http://sk1project.org" +SRC_URI="http://uniconvertor.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +DEPEND=" + media-fonts/ttf-bitstream-vera + media-libs/freetype:2 + virtual/jpeg + >=media-libs/lcms-1.15:0[python] + sys-libs/zlib +" +RDEPEND="${DEPEND} + app-arch/bzip2 + app-arch/gzip + app-text/ghostscript-gpl + media-libs/netpbm +" + +python_prepare_all() { + sed \ + -e "/include_dirs/s:\(/usr/include/freetype2\):${EPREFIX}\1:" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + +python_install_all() { + font-fixation() { + local ttf + for ttf in "${ED}"/$(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts/*.ttf; do + rm -f "${ttf}" || die + dosym \ + "${EPREFIX}"/usr/share/fonts/ttf-bitstream-vera/$(basename "${ttf}") \ + $(python_get_sitedir)/sk1libs/ft2engine/fallback_fonts/$(basename "${ttf}") + done + } + python_foreach_impl font-fixation + + distutils-r1_python_install_all +} |