1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools gnome2-utils xdg-utils
8 DESCRIPTION="A GTK+ archive manager that can be used with Thunar"
9 HOMEPAGE="https://github.com/ib/xarchiver"
10 SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
17 # older pigz versions have incompatible command-line processing
18 # https://bugs.gentoo.org/661464
19 RDEPEND=">=dev-libs/glib-2:=
21 !!<app-arch/pigz-2.4[symlink]"
27 app-text/docbook-xml-dtd
28 app-text/docbook-xsl-stylesheets
34 sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die
47 xdg_desktop_database_update
48 gnome2_icon_cache_update
50 elog "You need external programs for some formats, including:"
51 elog "7zip - app-arch/p7zip"
52 elog "arj - app-arch/unarj app-arch/arj"
53 elog "lha - app-arch/lha"
54 elog "lzop - app-arch/lzop"
55 elog "rar - app-arch/unrar app-arch/rar"
56 elog "zip - app-arch/unzip app-arch/zip"
60 xdg_desktop_database_update
61 gnome2_icon_cache_update