summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2016-08-05 12:03:21 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2016-08-05 12:04:37 +0200
commit0f85f463b00b9e626de3cbf2e4119ab326e1a62f (patch)
tree33148af9e3f40d2dd6eeccec5d598903cc6030f4 /x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild
parentmedia-video/devedeng: version bump to 4.7.1 (diff)
downloadgentoo-0f85f463b00b9e626de3cbf2e4119ab326e1a62f.tar.gz
gentoo-0f85f463b00b9e626de3cbf2e4119ab326e1a62f.tar.bz2
gentoo-0f85f463b00b9e626de3cbf2e4119ab326e1a62f.zip
x11-misc/xplanetFX: version bump to 2.6.12
Package-Manager: portage-2.3.0
Diffstat (limited to 'x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild')
-rw-r--r--x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild
new file mode 100644
index 000000000000..0d3e35e14318
--- /dev/null
+++ b/x11-misc/xplanetFX/xplanetFX-2.6.12.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-r1
+
+DESCRIPTION="GUI to configure, run or daemonize xplanet with HQ capabilities"
+HOMEPAGE="http://mein-neues-blog.de/xplanetFX/"
+SRC_URI="http://repository.mein-neues-blog.de:9000/archive/${P/FX/fx}_all.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ media-gfx/imagemagick
+ sys-devel/bc
+ x11-misc/xplanet
+ libnotify? ( x11-libs/libnotify )"
+#python
+
+S="${WORKDIR}/usr"
+
+src_prepare() {
+ default
+
+ eapply "${FILESDIR}"/${PN}-2.6.4-gentoo-path.patch
+ sed -e "s/Application;//" -i share/applications/*desktop || die
+
+ # These will be installed separately
+ mkdir gentoo || die
+ mv share/${PN}/{autostart,flipview.py,stars/catalog.py,xplanetFX_gtk,xplanetFX_tray} \
+ gentoo || die
+}
+
+src_install() {
+ dobin bin/${PN}
+ insinto /usr/share/applications
+ doins share/applications/${PN}.desktop
+ insinto /usr/share/pixmaps
+ doins share/pixmaps/*
+ insinto /usr/share/${PN}
+ doins -r share/${PN}/*
+
+ exeinto /usr/share/${PN}
+ doexe gentoo/autostart
+
+ dodoc share/doc/${PN}/{changelog,README}
+
+ python_scriptinto /usr/share/${PN}/stars
+ python_foreach_impl python_doscript gentoo/catalog.py
+ python_scriptinto /usr/share/${PN}
+ python_foreach_impl python_doscript gentoo/{xplanetFX_gtk,xplanetFX_tray}
+ python_foreach_impl python_domodule gentoo/flipview.py
+}