Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/xarchiver/
Date: Mon, 27 Feb 2017 18:43:15
Message-Id: 1488220982.ab1488f446c3fedc900ef3f8f589836e66cac10f.mgorny@gentoo
1 commit: ab1488f446c3fedc900ef3f8f589836e66cac10f
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 18:39:44 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 18:43:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1488f4
7
8 app-arch/xarchiver: Switch to fork, bump to 0.5.4.8, #584834
9
10 Switch to the maintained fork of https://github.com/ib/xarchiver since
11 the original upstream maintainer no longer has time to work on it
12 and the original version has not been updated since 2013.
13
14 app-arch/xarchiver/Manifest | 1 +
15 app-arch/xarchiver/xarchiver-0.5.4.8.ebuild | 49 +++++++++++++++++++++++++++++
16 2 files changed, 50 insertions(+)
17
18 diff --git a/app-arch/xarchiver/Manifest b/app-arch/xarchiver/Manifest
19 index 4d954e7774..234cfc5490 100644
20 --- a/app-arch/xarchiver/Manifest
21 +++ b/app-arch/xarchiver/Manifest
22 @@ -1 +1,2 @@
23 +DIST xarchiver-0.5.4.8.tar.gz 987648 SHA256 0947dce52538876d31e18ab89270f5eb52fba2c21ce877a4d56cdb5de5048e81 SHA512 d3be46b87c9475bfde2a3449511a08b1abef3d90b0b2c0e1165e093fa54210dbc2182b986a55e12e11bed67b516732f498c8038b360df3f697603befc2a4a8b3 WHIRLPOOL ba602771a06adfda1dc5a8cf1323deb339159b9399a54f4e47d42d0e56601eb93769bb2ac58bcd39f09ceaf7de9f837d4ec91eae150d1a12fda64e509d08a273
24 DIST xarchiver-0.5.4.tar.bz2 1003045 SHA256 e63fa73979fcc56efe8cca9095fd915d31a1714ce9676246b8626f164e452ef4 SHA512 3b767c2601d94104e2fc72aa8d168afa5a154b5747a9b0518d1c348417e56e4c19d872a0029fb78decc897e0f3bc9573e17d0317b85f584e7275b0e519f5f30d WHIRLPOOL 3f5a277b05147daf29db0be26718ed51fa0bb6d2416ee41cdd8ce6c54bc66064fc5f313af39a32b428997f906c9fd4d1a0b8d60fe5d2d867b1137960b0cbe4d1
25
26 diff --git a/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild
27 new file mode 100644
28 index 0000000000..009ad112cb
29 --- /dev/null
30 +++ b/app-arch/xarchiver/xarchiver-0.5.4.8.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +inherit autotools gnome2-utils xdg-utils
39 +
40 +DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
41 +HOMEPAGE="https://github.com/ib/xarchiver"
42 +SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
47 +IUSE=""
48 +
49 +RDEPEND=">=dev-libs/glib-2:=
50 + x11-libs/gtk+:3="
51 +DEPEND="${RDEPEND}
52 + dev-util/intltool
53 + sys-devel/gettext
54 + virtual/pkgconfig"
55 +
56 +src_prepare() {
57 + sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
58 + default
59 + eautoreconf
60 +}
61 +
62 +pkg_postinst() {
63 + xdg_desktop_database_update
64 + GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
65 + gnome2_icon_cache_update
66 +
67 + elog "You need external programs for some formats, including:"
68 + elog "7zip - app-arch/p7zip"
69 + elog "arj - app-arch/unarj app-arch/arj"
70 + elog "lha - app-arch/lha"
71 + elog "lzop - app-arch/lzop"
72 + elog "rar - app-arch/unrar app-arch/rar"
73 + elog "zip - app-arch/unzip app-arch/zip"
74 +}
75 +
76 +pkg_postrm() {
77 + xdg_desktop_database_update
78 + GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
79 + gnome2_icon_cache_update
80 +}