diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild')
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild new file mode 100644 index 000000000000..437acd4d8528 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-3.14.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +DISTUTILS_SINGLE_IMPL=1 +MY_PV=V_${PV//./_} + +inherit distutils-r1 fdo-mime + +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" +HOMEPAGE="http://edyoung.github.io/gnofract4d/" +SRC_URI="https://github.com/edyoung/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + media-libs/libpng:0= + virtual/jpeg:0 + >=dev-python/pygtk-2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/gnofract4d-3.14-desktop.patch + "${FILESDIR}"/gnofract4d-3.14-manual.patch +) + +S="${WORKDIR}"/${PN}-${MY_PV} + +python_compile_all() { + # Needs fixing to be able to generate commands.xml + "${EPYTHON}" createdocs.py || die +} + +python_install_all() { + distutils-r1_python_install_all + rm -rf "${ED%/}"/usr/share/doc/${PN} || die +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} |