commit:     ab1488f446c3fedc900ef3f8f589836e66cac10f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 18:39:44 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 18:43:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1488f4

app-arch/xarchiver: Switch to fork, bump to 0.5.4.8, #584834

Switch to the maintained fork of https://github.com/ib/xarchiver since
the original upstream maintainer no longer has time to work on it
and the original version has not been updated since 2013.

 app-arch/xarchiver/Manifest                 |  1 +
 app-arch/xarchiver/xarchiver-0.5.4.8.ebuild | 49 +++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/app-arch/xarchiver/Manifest b/app-arch/xarchiver/Manifest
index 4d954e7774..234cfc5490 100644
--- a/app-arch/xarchiver/Manifest
+++ b/app-arch/xarchiver/Manifest
@@ -1 +1,2 @@
+DIST xarchiver-0.5.4.8.tar.gz 987648 SHA256 
0947dce52538876d31e18ab89270f5eb52fba2c21ce877a4d56cdb5de5048e81 SHA512 
d3be46b87c9475bfde2a3449511a08b1abef3d90b0b2c0e1165e093fa54210dbc2182b986a55e12e11bed67b516732f498c8038b360df3f697603befc2a4a8b3
 WHIRLPOOL 
ba602771a06adfda1dc5a8cf1323deb339159b9399a54f4e47d42d0e56601eb93769bb2ac58bcd39f09ceaf7de9f837d4ec91eae150d1a12fda64e509d08a273
 DIST xarchiver-0.5.4.tar.bz2 1003045 SHA256 
e63fa73979fcc56efe8cca9095fd915d31a1714ce9676246b8626f164e452ef4 SHA512 
3b767c2601d94104e2fc72aa8d168afa5a154b5747a9b0518d1c348417e56e4c19d872a0029fb78decc897e0f3bc9573e17d0317b85f584e7275b0e519f5f30d
 WHIRLPOOL 
3f5a277b05147daf29db0be26718ed51fa0bb6d2416ee41cdd8ce6c54bc66064fc5f313af39a32b428997f906c9fd4d1a0b8d60fe5d2d867b1137960b0cbe4d1

diff --git a/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild 
b/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild
new file mode 100644
index 0000000000..009ad112cb
--- /dev/null
+++ b/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools gnome2-utils xdg-utils
+
+DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
+HOMEPAGE="https://github.com/ib/xarchiver";
+SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2:=
+       x11-libs/gtk+:3="
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+src_prepare() {
+       sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
+       default
+       eautoreconf
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
+       gnome2_icon_cache_update
+
+       elog "You need external programs for some formats, including:"
+       elog "7zip - app-arch/p7zip"
+       elog "arj - app-arch/unarj app-arch/arj"
+       elog "lha - app-arch/lha"
+       elog "lzop - app-arch/lzop"
+       elog "rar - app-arch/unrar app-arch/rar"
+       elog "zip - app-arch/unzip app-arch/zip"
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
+       gnome2_icon_cache_update
+}

Reply via email to