summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2017-11-30 17:55:30 +0000
committerDenis Dupeyron <calchan@gentoo.org>2017-11-30 17:55:52 +0000
commita3e11ba9a569c5fcc4b5fca175503d5147d2462d (patch)
treeb1a7600c1515081691bd08365cd0329467d473ef /xfce-extra
parentdev-python/ujson: depend on unittest2 (diff)
downloadgentoo-a3e11ba9a569c5fcc4b5fca175503d5147d2462d.tar.gz
gentoo-a3e11ba9a569c5fcc4b5fca175503d5147d2462d.tar.bz2
gentoo-a3e11ba9a569c5fcc4b5fca175503d5147d2462d.zip
xfce-extra/eatmonkey: remove obsolete xfconf.eclass, migrate to EAPI6
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/eatmonkey/Manifest2
-rw-r--r--xfce-extra/eatmonkey/eatmonkey-0.1.4-r1.ebuild45
2 files changed, 46 insertions, 1 deletions
diff --git a/xfce-extra/eatmonkey/Manifest b/xfce-extra/eatmonkey/Manifest
index a33897055f74..08398931cbec 100644
--- a/xfce-extra/eatmonkey/Manifest
+++ b/xfce-extra/eatmonkey/Manifest
@@ -1 +1 @@
-DIST eatmonkey-0.1.4.tar.bz2 181996 SHA256 b8915a0204d750c939314711cc836f3ad9eb0faddaa2e140ca679d2764a7b3fb SHA512 95bd0bf46588151398fba52b01309f9df1cd8ccce046a2b81f7167adafc4f1cd1b217deb27c0ec91429a6cdcfb807bbaf7e00fcd7b31414316dced7a2c0d4a15 WHIRLPOOL d5f36c3eab5f6193a68a54379b1c3eb31fc74ee1c6e8ed3e4b93ac0f9aa7261cb8ff4f3ab0cfb2ebe6ddabb312457d3d00ab055804e585077c5af254955a76bf
+DIST eatmonkey-0.1.4.tar.bz2 181996 BLAKE2B d9272cd62dea09e44c9f8cf20055d68a6f0e0eda29ac89ab450b9b60ed4fa511c6661b2a38811fac86c0203b119c1eb07a886b11ca7ad0f48db6e0fcb6431848 SHA512 95bd0bf46588151398fba52b01309f9df1cd8ccce046a2b81f7167adafc4f1cd1b217deb27c0ec91429a6cdcfb807bbaf7e00fcd7b31414316dced7a2c0d4a15
diff --git a/xfce-extra/eatmonkey/eatmonkey-0.1.4-r1.ebuild b/xfce-extra/eatmonkey/eatmonkey-0.1.4-r1.ebuild
new file mode 100644
index 000000000000..c7f2c0b86a33
--- /dev/null
+++ b/xfce-extra/eatmonkey/eatmonkey-0.1.4-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A download manager that works exclusively with aria2"
+HOMEPAGE="https://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"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_prepare() {
+ eapply -p0 "${FILESDIR}"/${P}-syntax.patch
+ sed -i -e 's:/usr/local:/usr:' src/eat{monkey,manager.rb} || die
+ default
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}