summaryrefslogtreecommitdiff
blob: 0062d599c1a42e9d4b0e8d98c116be6bec4dcfbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
EAUTORECONF=yes
inherit xfconf

DESCRIPTION="A fast, small and powerful file manager and graphical shell"
HOMEPAGE="http://rodent.xffm.org/"
SRC_URI="mirror://sourceforge/xffm/${PV}/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="experimental"

COMMON_DEPEND="x11-libs/libX11
	x11-libs/libSM
	dev-libs/libxml2
	>=dev-libs/glib-2.24
	x11-libs/gtk+:3
	>=x11-libs/cairo-1.8.10
	>=gnome-base/librsvg-2.26
	>=dev-libs/libzip-0.9
	sys-apps/file"
RDEPEND="${COMMON_DEPEND}
	gnome-base/gvfs"
DEPEND="${COMMON_DEPEND}
	dev-util/intltool
	virtual/pkgconfig"

pkg_setup() {
	XFCONF=( $(use_enable experimental) )
	DOCS=( ChangeLog README TODO )
	PATCHES=( "${FILESDIR}"/${P}-rupo.patch )
}

src_prepare() {
	sed -e "s:\$(bindir):\$(DESTDIR)\$(bindir):" -i Build/plugins/Makefile.am
	sed -e "/^Categories/s:Rodent:X-Rodent:" \
		-e "s/;;/;/" -i Build/*/*.desktop.in.in
	xfconf_src_prepare
}