blob: fc1046b3e3292eb7dba0810a1538005a520022a0 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-itouch/xmms-itouch-0.1.2-r1.ebuild,v 1.9 2004/07/06 23:55:21 eradicator Exp $
IUSE="nls"
inherit gnuconfig
DESCRIPTION="XMMS plugin for multimedia keys on Logitech keyboards and others alike"
HOMEPAGE="http://www.saunalahti.fi/~syrjala/xmms-itouch/"
SRC_URI="http://www.saunalahti.fi/~syrjala/xmms-itouch/${P}.tar.gz
http://www.saunalahti.fi/~syrjala/xmms-itouch/xmms-itouch.config"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~amd64 ~ppc ~sparc"
DEPEND="media-sound/xmms"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
gnuconfig_update
ebegin "Applying latest keyboard-models file"
cp -f ${DISTDIR}/xmms-itouch.config ${P}
eend
}
src_compile() {
econf `use_enable nls` || die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
}
pkg_postinst() {
einfo "To configure the multimedia keys on your keyboard for use with"
einfo "XMMS, enable this plugin within XMMS and choose a keyboard model"
einfo "from the list. You can also \"grab\" keys within this"
einfo "configuration screen. However, for complete freedom of choice "
einfo "xev is your friend :-)"
}
|