summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/eatmonkey')
-rw-r--r--xfce-extra/eatmonkey/Manifest1
-rw-r--r--xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild39
-rw-r--r--xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch13
-rw-r--r--xfce-extra/eatmonkey/metadata.xml8
4 files changed, 61 insertions, 0 deletions
diff --git a/xfce-extra/eatmonkey/Manifest b/xfce-extra/eatmonkey/Manifest
new file mode 100644
index 00000000000..7d166b27fcb
--- /dev/null
+++ b/xfce-extra/eatmonkey/Manifest
@@ -0,0 +1 @@
+DIST eatmonkey-0.1.4.tar.bz2 181996 SHA256 b8915a0204d750c939314711cc836f3ad9eb0faddaa2e140ca679d2764a7b3fb
diff --git a/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild b/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild
new file mode 100644
index 00000000000..3077e14ac23
--- /dev/null
+++ b/xfce-extra/eatmonkey/eatmonkey-0.1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit xfconf
+
+DESCRIPTION="A download manager that works exclusively with aria2"
+HOMEPAGE="http://goodies.xfce.org/projects/applications/eatmonkey"
+SRC_URI="mirror://xfce/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND=">=x11-libs/gtk+-2.12:2
+ dev-libs/libunique:1
+ >=xfce-base/libxfce4util-4.8
+ >=net-libs/libsoup-2.26:2.4"
+RDEPEND="${COMMON_DEPEND}
+ >=net-misc/aria2-1.9.0[bittorrent,xmlrpc]
+ dev-lang/ruby
+ dev-ruby/ruby-glib2
+ dev-ruby/ruby-gtk2"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+pkg_setup() {
+ PATCHES=( "${FILESDIR}"/${P}-syntax.patch )
+ DOCS=( AUTHORS ChangeLog NEWS README )
+}
+
+src_prepare() {
+ sed -i -e 's:/usr/local:/usr:' src/eat{monkey,manager.rb} || die
+ xfconf_src_prepare
+}
diff --git a/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
new file mode 100644
index 00000000000..bacd69778e5
--- /dev/null
+++ b/xfce-extra/eatmonkey/files/eatmonkey-0.1.4-syntax.patch
@@ -0,0 +1,13 @@
+Fix compability with Ruby 1.8 by Alex Legler <a3li@gentoo.org>. It helps to actually mark the method static.
+
+--- src/compat18.rb
++++ src/compat18.rb
+@@ -12,7 +12,7 @@
+ end
+
+ class Dir
+- def exists?(path)
++ def self.exists?(path)
+ File.directory?(path)
+ end
+ end
diff --git a/xfce-extra/eatmonkey/metadata.xml b/xfce-extra/eatmonkey/metadata.xml
new file mode 100644
index 00000000000..008cf479f61
--- /dev/null
+++ b/xfce-extra/eatmonkey/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xfce@gentoo.org</email>
+ <name>XFCE Team</name>
+ </maintainer>
+</pkgmetadata>