/[gentoo-x86]/app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild
Gentoo

Contents of /app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 12 03:51:01 2014 UTC (4 months, 3 weeks ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Import ArchLinux patchset, including fixes for RPMs, archives with spaces, segfaults with password protected archives, more mime types, and rar5 files with white spaces.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.3.ebuild,v 1.1 2014/05/11 17:57:05 ssuominen Exp $
4
5 EAPI=5
6 inherit xfconf
7
8 DESCRIPTION="a GTK+ based and advanced archive manager that can be used with Thunar"
9 HOMEPAGE="http://xarchiver.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
15 IUSE="debug"
16
17 RDEPEND=">=dev-libs/glib-2
18 >=x11-libs/gtk+-2.24:2"
19 DEPEND="${RDEPEND}
20 dev-util/intltool
21 sys-devel/gettext
22 virtual/pkgconfig"
23
24 pkg_setup() {
25 PATCHES=(
26 "${FILESDIR}"/${P}-add-mime-types.patch
27 "${FILESDIR}"/${P}-fix-password-protected.patch
28 "${FILESDIR}"/${P}-rar5-whitespace.patch
29 "${FILESDIR}"/${P}-fix-double-escaping.patch
30 "${FILESDIR}"/${P}-fix-rpm-support.patch
31 )
32
33 XFCONF=(
34 $(xfconf_use_debug)
35 )
36
37 DOCS=( AUTHORS ChangeLog README TODO )
38 }
39
40 src_prepare() {
41 sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.in || die
42 xfconf_src_prepare
43 }
44
45 src_install() {
46 xfconf_src_install DOCDIR="${ED}/usr/share/doc/${PF}"
47 }
48
49 pkg_postinst() {
50 xfconf_pkg_postinst
51 elog "You need external programs for some formats, including:"
52 elog "7zip - app-arch/p7zip"
53 elog "arj - app-arch/unarj app-arch/arj"
54 elog "lha - app-arch/lha"
55 elog "lzop - app-arch/lzop"
56 elog "rar - app-arch/unrar app-arch/rar"
57 elog "zip - app-arch/unzip app-arch/zip"
58 }

  ViewVC Help
Powered by ViewVC 1.1.20