ssuominen    14/05/12 03:51:01

  Added:                xarchiver-0.5.3-r1.ebuild
  Log:
  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)

Revision  Changes    Path
1.1                  app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: xarchiver-0.5.3-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/app-arch/xarchiver/xarchiver-0.5.3-r1.ebuild,v 1.1 
2014/05/12 03:51:01 ssuominen Exp $

EAPI=5
inherit xfconf

DESCRIPTION="a GTK+ based and advanced archive manager that can be used with 
Thunar"
HOMEPAGE="http://xarchiver.sourceforge.net/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="debug"

RDEPEND=">=dev-libs/glib-2
        >=x11-libs/gtk+-2.24:2"
DEPEND="${RDEPEND}
        dev-util/intltool
        sys-devel/gettext
        virtual/pkgconfig"

pkg_setup() {
        PATCHES=(
                "${FILESDIR}"/${P}-add-mime-types.patch
                "${FILESDIR}"/${P}-fix-password-protected.patch
                "${FILESDIR}"/${P}-rar5-whitespace.patch
                "${FILESDIR}"/${P}-fix-double-escaping.patch
                "${FILESDIR}"/${P}-fix-rpm-support.patch
                )

        XFCONF=(
                $(xfconf_use_debug)
                )

        DOCS=( AUTHORS ChangeLog README TODO )
}

src_prepare() {
        sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.in || die
        xfconf_src_prepare
}

src_install() {
        xfconf_src_install DOCDIR="${ED}/usr/share/doc/${PF}"
}

pkg_postinst() {
        xfconf_pkg_postinst
        elog "You need external programs for some formats, including:"
        elog "7zip - app-arch/p7zip"
        elog "arj - app-arch/unarj app-arch/arj"
        elog "lha - app-arch/lha"
        elog "lzop - app-arch/lzop"
        elog "rar - app-arch/unrar app-arch/rar"
        elog "zip - app-arch/unzip app-arch/zip"
}




Reply via email to