summaryrefslogtreecommitdiff
blob: 7308b3492407cae144127c4df70237fd0cc0c588 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/sjog/sjog-0.6-r1.ebuild,v 1.1 2005/07/29 22:58:07 vanquirius Exp $

inherit eutils

DESCRIPTION="sjog - tool for the Sony Vaio jogdial"
HOMEPAGE="http://sjog.sourceforge.net/"
SRC_URI="mirror://sourceforge/sjog/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*
	media-libs/gdk-pixbuf
	=dev-libs/glib-1.2*"

src_unpack() {
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${P}-gcc4.patch
}

src_install() {
	make DESTDIR=${D} install
}

pkg_postinst() {
	einfo "Please ensure that the module sonypi is probed with the option"
	einfo "useinput=0. For example:"
	einfo
	einfo "# modprobe sonypi useinput=0"
	einfo
	einfo "Otherwise, you will get multiple events being called."
}