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