blob: 8f8c57eec3732ea9c26ecad9ba628b15b47d15e1 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/spacefm/spacefm-0.7.0.ebuild,v 1.2 2012/02/14 22:39:59 xmw Exp $
EAPI=4
inherit fdo-mime
DESCRIPTION="a multi-panel tabbed file manager"
HOMEPAGE="http://spacefm.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fam gtk kde kernel_linux su udev"
COMMON_DEPEND=">=dev-libs/glib-2
dev-util/desktop-file-utils
sys-apps/dbus
x11-libs/gdk-pixbuf
x11-libs/gtk+:2
x11-libs/startup-notification"
RDEPEND="${COMMON_DEPEND}
virtual/eject
virtual/freedesktop-icon-theme
x11-misc/shared-mime-info
!kernel_linux? ( fam? ( virtual/fam ) )
udev? ( sys-fs/udisks
sys-process/lsof )
su? (
gtk? ( x11-libs/gksu )
kde? ( kde-base/kdesu )
|| ( x11-misc/ktsuss x11-libs/gksu kde-base/kdesu ) )"
DEPEND="${COMMON_DEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext"
src_configure() {
econf \
--disable-hal \
$(use_enable kernel_linux inotify)
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
ewarn ""
ewarn "Consider backing up your ~/.config/spacefm directory"
ewarn "because 0.7.0 introduces a few fixes which will be"
ewarn "applied to the session file the first time you run spacefm."
ewarn "Further information:"
ewarn "http://igurublog.wordpress.com/2012/02/14/spacefm-0-7-0/"
ewarn ""
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
|