summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-11-08 13:48:44 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-11-08 13:48:44 +0000
commit35aee80635e82724ff7ecc59b94088757fde04ac (patch)
tree56d9ce3ce399a7bf693a3a5d41964850f022683a /media-gfx/gnofract4d/gnofract4d-3.13.ebuild
parentMove to virtual/jpeg (diff)
downloadhistorical-35aee80635e82724ff7ecc59b94088757fde04ac.tar.gz
historical-35aee80635e82724ff7ecc59b94088757fde04ac.tar.bz2
historical-35aee80635e82724ff7ecc59b94088757fde04ac.zip
Version bump. Fix distutils.eclass usage wrt #313501. Use virtual/jpeg wrt #327487.
Package-Manager: portage-2.2.0_alpha4/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/gnofract4d/gnofract4d-3.13.ebuild')
-rw-r--r--media-gfx/gnofract4d/gnofract4d-3.13.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/gnofract4d-3.13.ebuild b/media-gfx/gnofract4d/gnofract4d-3.13.ebuild
new file mode 100644
index 000000000000..93617dc05438
--- /dev/null
+++ b/media-gfx/gnofract4d/gnofract4d-3.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gnofract4d/gnofract4d-3.13.ebuild,v 1.1 2010/11/08 13:48:43 ssuominen Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils eutils fdo-mime
+
+DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals"
+HOMEPAGE="http://gnofract4d.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ >=media-libs/libpng-1.4
+ virtual/jpeg
+ >=dev-python/pygtk-2
+ >=gnome-base/gconf-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+PYTHON_MODNAME="fract4d fractutils fract4dgui"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.12-libpng14.patch
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+ rm -rf "${D}"/usr/share/doc/${PN}
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}