aboutsummaryrefslogtreecommitdiff
blob: e5181cc47e944b8888a1d21149902d5edcddde86 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"
inherit base

DESCRIPTION="freesmartphone.org usage daemon"
HOMEPAGE="http://www.freesmartphone.org"
SRC_URI="http://www.freesmartphone.org/sources/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~arm ~x86 ~amd64"
IUSE=""

RDEPEND=">=dev-libs/glib-2.18.0
	>=dev-libs/libgee-0.3.0
	>=media-libs/alsa-lib-1.0.20
	>=sys-apps/dbus-1.2.1
	>=dev-libs/dbus-glib-0.76
	>=sys-mobilephone/libfso-glib-0.2.0
	>=sys-mobilephone/libfsoframework-0.2.3"
DEPEND="${RDEPEND}
	>=dev-lang/vala-0.7.6"

src_prepare() {
	cp "${FILESDIR}"/controller-plugin.vala "${S}"/src/plugins/controller/plugin.vala
	cp "${FILESDIR}"/lowlevel_kernel26-plugin.vala "${S}"/src/plugins/lowlevel_kernel26/plugin.vala
	cp "${FILESDIR}"/lowlevel_openmoko-plugin.vala "${S}"/src/plugins/lowlevel_openmoko/plugin.vala
}

pkg_postinst() {
	elog "To use fsousaged instead of ousaged edit the config in"
	elog "/etc/frameworkd.conf , below the lines where [ousaged] appear make sure"
	elog "that \"disable 1\" appear. And anywhere add the lines :"
	elog "  [fsousage]"
	elog "  [fsousage.controller]"
	elog "With this the daemon will be used without any need of initscript."
}