summaryrefslogtreecommitdiff
blob: f81d4d08357312c2fd1f44c391ed55224cecb55e (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-extra/thunar-volman/thunar-volman-0.1.3_pre20071026.ebuild,v 1.3 2007/11/20 20:46:47 armin76 Exp $

inherit eutils xfce44

xfce44

DESCRIPTION="Thunar volume management"
HOMEPAGE="http://foo-projects.org/~benny/projects/thunar-volman"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

KEYWORDS="alpha amd64 arm ~hppa ia64 ~ppc ~ppc64 sparc x86"
IUSE="debug"

RDEPEND="dev-libs/dbus-glib
	sys-apps/hal
	>=xfce-extra/exo-0.3.2
	>=xfce-base/thunar-${THUNAR_MASTER_VERSION}"
DEPEND="${RDEPEND}
	dev-util/pkgconfig"

pkg_setup() {
	if ! built_with_use xfce-extra/exo hal; then
		ewarn "Volume management requires exo with hal support. Enable"
		ewarn "hal USE flag and re-emerge exo."
		die "re-emerge exo with USE hal"
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	# Fix make check.
	echo thunar-volman-settings.desktop.in.in >> po/POTFILES.skip
}

DOCS="AUTHORS ChangeLog NEWS README THANKS"