summaryrefslogtreecommitdiff
path: root/x11-misc/sunflower
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/sunflower')
-rw-r--r--x11-misc/sunflower/Manifest6
-rw-r--r--x11-misc/sunflower/files/sunflower5
-rw-r--r--x11-misc/sunflower/metadata.xml16
-rw-r--r--x11-misc/sunflower/sunflower-0.2_alpha59.ebuild92
4 files changed, 119 insertions, 0 deletions
diff --git a/x11-misc/sunflower/Manifest b/x11-misc/sunflower/Manifest
new file mode 100644
index 000000000000..0e145c215298
--- /dev/null
+++ b/x11-misc/sunflower/Manifest
@@ -0,0 +1,6 @@
+AUX sunflower 82 SHA256 ec4ccbe91715cffc2974056a5bb02aa11016821aede4074ec22e5d7ee8c31023 SHA512 5e9685e8e2d8933e9b3bb2f3dc92ad677f38b63766bdb407cef7373590ed8d0e73aebd1ed6e489b39c8b1477c50657df499a7b5e50c09df1e675448dcad7f62c WHIRLPOOL 1db306f95c84d3b23878aa93d205b484da1272d39c7ded5860aabb90d7ebbf3739a5c62e68aa87c713380287cfefbffe831353fd073152b91d58cc5b32157e9b
+DIST sunflower-0.2-59.tgz 790126 SHA256 f0497c18870487361780a776bf31235473c20ef66bc56a95c6048e00c399b525 SHA512 e97076eb1c57d52b8fd95501259acaaa9a429f9daacc30ef587cce2f3419433f5aa4554e0e86beeceda208b4be425b98c64c6ced04e36e86b2b4f803176c37f9 WHIRLPOOL 6126fda9675b9938e3a12620e48e22c6d23253890f47c5ab34a7322280d27d1d78e2e3745ccf55831094efb987835f9f0f159dbe109732da2c236096f485cfee
+EBUILD sunflower-0.2_alpha59.ebuild 2229 SHA256 87d1ef8a2333d7f241864e1f3107e658a1ba713f9d8dcd261e5baf1d1aa798d3 SHA512 7f9dd3d6cc75f6c4a24bf6a37079c10d5c1759a473a1f6dac861b9fc03d581aacc8210e9227f59417bd6fc2f1b5c817539329870f6f937b21d1adf75b2aa8ca7 WHIRLPOOL 8beec862866fe4dce2bc97e58977deed5a4bd9b5b9bc56fcca0ad132e5c5ce40dc5377af4edc93372085c8216b0bd602c3c29c2f81e1d6078df674e0bc179cd2
+MISC ChangeLog 2926 SHA256 982e97dd4f012f6a418d5171906113184d2f42fb4f0766d84a9afd699558f858 SHA512 b9c6ead943e8144745eaad76d2c71f4436ece53a550ff8774a0bf2ba2417d6379f63577af0c58f837c939c7dc8667d8c5d6bb484f3756bec0fdc937988143df9 WHIRLPOOL 3f4c9f978a605f0f957fb2ad91a8236dc879e2b14a7d83c58494bc5bf8476a5031da35a53440fa2256574cc868e6b528e9b29c46f41d192c72d4c01a412093a8
+MISC ChangeLog-2015 2790 SHA256 433a6f286f2f37e9f41dd9ec74ab60f432eb1fcd1ec7c00a5403424765b8c81f SHA512 0cc541df80e908256f9e7c1b3feb291fe2ae188d0ee6204bd402cec969bcb8187f22981155179e91110bf4bd9ee2ccc38c872c08875560f61ad30d455b38e240 WHIRLPOOL a462f07a85b0d6340cfb3ef9a804d53091b3ed6419d8ccc1b9a0c78890f0716cda418f95f47592c3c12f06ecaed501b9ee2524c5d43255ef980f356fa6c0534d
+MISC metadata.xml 521 SHA256 b6c10ea086bc05c2809e0b07ff446ef7ce947a2dc3d56cda6e6bc5b86749fc63 SHA512 7d99a90e35ce3fe213a527b9fac2474f4e7733b237d6026e4ba7915a44b806d5c0730da21885c83c20c05e0b331294c0515b9750561d54dafa90ffab8e987683 WHIRLPOOL c4ada9af989b85db70707f263eb992acd911541461c5ebe423f9e0dc96347fa13bceed668c839680251c04e8d1044b9529a15c7226a72764dfb3bee85fa554f4
diff --git a/x11-misc/sunflower/files/sunflower b/x11-misc/sunflower/files/sunflower
new file mode 100644
index 000000000000..192d4b99e1ae
--- /dev/null
+++ b/x11-misc/sunflower/files/sunflower
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+
+import os
+os.chdir("@SITEDIR@")
+import sunflower.Sunflower
diff --git a/x11-misc/sunflower/metadata.xml b/x11-misc/sunflower/metadata.xml
new file mode 100644
index 000000000000..f583c66eaf6a
--- /dev/null
+++ b/x11-misc/sunflower/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>henrique.ribeiro.dias@gmail.com</email>
+ <name>Henrique Dias</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">MeanEYE/Sunflower</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
new file mode 100644
index 000000000000..9d84a9408426
--- /dev/null
+++ b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+inherit eutils fdo-mime gnome2-utils python-r1
+
+MY_PN="Sunflower"
+DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
+HOMEPAGE="https://github.com/MeanEYE/Sunflower
+ http://sunflower-fm.org/"
+SRC_URI="http://sunflower-fm.org/pub/sunflower-${PV/_alpha/-}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}
+ >=dev-python/pygtk-2.15.0[${PYTHON_USEDEP}]
+ >=dev-python/notify-python-0.1[${PYTHON_USEDEP}]
+ gnome-base/librsvg:2"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare() {
+ find "${S}" -name "*.py[co]" -delete || die
+ find "${S}"/translations -name "*.po" -delete || die
+ rm "${S}"/translations/${PN}.pot || die
+
+ sed -i \
+ -e '/^application_file/s/os.path.dirname(sys.argv\[0\])/os.getcwd()/' \
+ ${MY_PN}.py || die
+}
+
+src_install() {
+ touch __init__.py || die
+ installme() {
+ # install modules
+ python_moduleinto ${PN}
+ python_domodule images application ${MY_PN}.py \
+ AUTHORS CHANGES COPYING DEPENDS TODO __init__.py
+
+ # generate and install startup scripts
+ sed \
+ -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \
+ "${FILESDIR}"/${PN} > "${WORKDIR}"/${PN} || die
+ python_doscript "${WORKDIR}"/${PN}
+ }
+
+ # install for all enabled implementations
+ python_foreach_impl installme
+
+ insinto /usr/share/locale
+ # correct gettext behavior
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd "${S}"/translations ; echo *) ; do
+ if has ${i} ${LINGUAS} ; then
+ doins -r "${S}"/translations/${i}
+ fi
+ done
+ else
+ doins -r "${S}"/translations/*
+ fi
+
+ newicon -s 64 images/${PN}_64.png ${PN}.png
+ doicon -s scalable images/${PN}.svg
+ newmenu ${MY_PN}.desktop ${PN}.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+
+ # TODO: better description
+ elog "optional dependencies:"
+ elog " dev-python/libgnome-python"
+ elog " media-libs/mutagen"
+ elog " x11-libs/vte:0[python] (terminal support)"
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}