xfce-extra/eatmonkey: remove obsolete xfconf.eclass, migrate to EAPI6
authorDenis Dupeyron <calchan@gentoo.org>
Thu, 30 Nov 2017 17:55:30 +0000 (17:55 +0000)
committerDenis Dupeyron <calchan@gentoo.org>
Thu, 30 Nov 2017 17:55:52 +0000 (17:55 +0000)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

xfce-extra/eatmonkey/Manifest
xfce-extra/eatmonkey/eatmonkey-0.1.4-r1.ebuild [new file with mode: 0644]

index a33897055f74c6d742ee4ce7d2062244f53fe933..08398931cbec93d1a79c2d66149578a0a9181ff3 100644 (file)
@@ -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 (file)
index 0000000..c7f2c0b
--- /dev/null
@@ -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
+}