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: Thu, 03 Jan 2019 04:51:42
Message-Id: 1546491090.20d02b9496e7ac8a17bd533740c09b579c6a9405.mgorny@gentoo
1 commit: 20d02b9496e7ac8a17bd533740c09b579c6a9405
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 3 04:48:30 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 3 04:51:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20d02b94
7
8 app-arch/xarchiver: Bump to 0.5.4.14
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-arch/xarchiver/Manifest | 1 +
13 app-arch/xarchiver/xarchiver-0.5.4.14.ebuild | 62 ++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/app-arch/xarchiver/Manifest b/app-arch/xarchiver/Manifest
17 index b508bad0f5e..60092e56e2a 100644
18 --- a/app-arch/xarchiver/Manifest
19 +++ b/app-arch/xarchiver/Manifest
20 @@ -1 +1,2 @@
21 DIST xarchiver-0.5.4.13.tar.gz 1079259 BLAKE2B c824e81182a6105d24fe85d148fb7e71c2ae761948421bacf7af240e4b2a381582ab5db46c29ee3b2daf01f710696ee53a93a0a2923923083c177e9473bee4f1 SHA512 ace6b3bade20f517c63a035022944d092868e4c000976ef388a3ee70ef8a28177ee20cfb089d0984e9274722c4ec13d129fd7a4ef542e7b5cd4423c26ad5b849
22 +DIST xarchiver-0.5.4.14.tar.gz 1081542 BLAKE2B 591d93dfbaa98164bc169105462155b09ed87dab8ad5adff6653e77673095a29d7f00cdaeed1b928039fe3cc5f668f8da46885905ae73d03f5b4c71dd279a7b4 SHA512 b38881e6cdfb402499efbd18ab25cac3869cd48ef96941a4bb3cb8b6b130a2317abe3b1d11bfc3d60e81eef7cafa34515fefc11e469443d96d139c2f09cf4498
23
24 diff --git a/app-arch/xarchiver/xarchiver-0.5.4.14.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.14.ebuild
25 new file mode 100644
26 index 00000000000..12127f58d60
27 --- /dev/null
28 +++ b/app-arch/xarchiver/xarchiver-0.5.4.14.ebuild
29 @@ -0,0 +1,62 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit autotools gnome2-utils xdg-utils
36 +
37 +DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
38 +HOMEPAGE="https://github.com/ib/xarchiver"
39 +SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
44 +IUSE="doc"
45 +
46 +# older pigz versions have incompatible command-line processing
47 +# https://bugs.gentoo.org/661464
48 +RDEPEND=">=dev-libs/glib-2:=
49 + x11-libs/gtk+:3=
50 + !!<app-arch/pigz-2.4[symlink]"
51 +DEPEND="${RDEPEND}
52 + dev-util/intltool
53 + sys-devel/gettext
54 + virtual/pkgconfig
55 + doc? (
56 + app-text/docbook-xml-dtd
57 + app-text/docbook-xsl-stylesheets
58 + dev-libs/libxml2
59 + dev-libs/libxslt
60 + )"
61 +
62 +src_prepare() {
63 + sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
64 + default
65 + eautoreconf
66 +}
67 +
68 +src_configure() {
69 + local myconf=(
70 + $(use_enable doc)
71 + )
72 + econf "${myconf[@]}"
73 +}
74 +
75 +pkg_postinst() {
76 + xdg_desktop_database_update
77 + gnome2_icon_cache_update
78 +
79 + elog "You need external programs for some formats, including:"
80 + elog "7zip - app-arch/p7zip"
81 + elog "arj - app-arch/unarj app-arch/arj"
82 + elog "lha - app-arch/lha"
83 + elog "lzop - app-arch/lzop"
84 + elog "rar - app-arch/unrar app-arch/rar"
85 + elog "zip - app-arch/unzip app-arch/zip"
86 +}
87 +
88 +pkg_postrm() {
89 + xdg_desktop_database_update
90 + gnome2_icon_cache_update
91 +}