summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-08-09 20:01:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-08-09 20:01:54 +0000
commit2ff62c3dd0435b3a14097218fbf8a6fe886251b1 (patch)
tree16f3d525902e9c9c6d88f14af15ef7ab9d471626 /media-gfx/fr0st
parent[bump] app-editors/padre-0.880.0 (diff)
downloadgentoo-2-2ff62c3dd0435b3a14097218fbf8a6fe886251b1.tar.gz
gentoo-2-2ff62c3dd0435b3a14097218fbf8a6fe886251b1.tar.bz2
gentoo-2-2ff62c3dd0435b3a14097218fbf8a6fe886251b1.zip
Initial commit as requested by flam3 upstream.
(Portage version: 2.2.0_alpha50/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/fr0st')
-rw-r--r--media-gfx/fr0st/ChangeLog9
-rw-r--r--media-gfx/fr0st/fr0st-1.4.ebuild63
-rw-r--r--media-gfx/fr0st/metadata.xml5
3 files changed, 77 insertions, 0 deletions
diff --git a/media-gfx/fr0st/ChangeLog b/media-gfx/fr0st/ChangeLog
new file mode 100644
index 000000000000..1312d895e5bf
--- /dev/null
+++ b/media-gfx/fr0st/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-gfx/fr0st
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fr0st/ChangeLog,v 1.1 2011/08/09 20:01:54 ssuominen Exp $
+
+*fr0st-1.4 (09 Aug 2011)
+
+ 09 Aug 2011; Samuli Suominen <ssuominen@gentoo.org> +fr0st-1.4.ebuild:
+ Initial commit as requested by flam3 upstream.
+
diff --git a/media-gfx/fr0st/fr0st-1.4.ebuild b/media-gfx/fr0st/fr0st-1.4.ebuild
new file mode 100644
index 000000000000..11b0081b282a
--- /dev/null
+++ b/media-gfx/fr0st/fr0st-1.4.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fr0st/fr0st-1.4.ebuild,v 1.1 2011/08/09 20:01:54 ssuominen Exp $
+
+EAPI=3
+
+WX_GTK_VER="2.8"
+PYTHON_DEPEND="2:2.7"
+
+inherit eutils multilib python wxwidgets
+
+DESCRIPTION="A fractal flame editor"
+HOMEPAGE="http://fr0st.wordpress.com/"
+SRC_URI="http://launchpad.net/${PN}/trunk/${PV}.0/+download/${P}-src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/wxpython:2.8
+ >=media-gfx/flam3-3.0.1"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}-src
+
+pkg_setup() {
+ fr0st_libdir="/usr/$(get_libdir)/fr0st"
+ fr0st_sharedir="/usr/share/fr0st"
+
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ python_convert_shebangs 2 fr0st.py
+}
+
+src_install() {
+ insinto "${fr0st_sharedir}"
+ doins -r icons || die
+
+ insinto "${fr0st_libdir}"
+ doins -r fr0stlib samples || die
+
+ exeinto "${fr0st_libdir}"
+ doexe fr0st.py || die
+
+ dosym "${fr0st_libdir}"/fr0st.py /usr/bin/fr0st || die
+ dosym "${fr0st_sharedir}"/icons/fr0st.png /usr/share/pixmaps/fr0st.png || die
+
+ make_desktop_entry fr0st fr0st
+
+ dodoc changelog.txt
+}
+
+pkg_postinst() {
+ python_mod_optimize "${fr0st_libdir}"
+}
+
+pkg_postrm() {
+ python_mod_cleanup "${fr0st_libdir}"
+}
diff --git a/media-gfx/fr0st/metadata.xml b/media-gfx/fr0st/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/fr0st/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>