Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/vkeybd: ChangeLog vkeybd-0.1.18c.ebuild
Date: Thu, 16 Jul 2009 16:26:10
Message-Id: E1MRTma-0003Ha-3F@stork.gentoo.org
1 ssuominen 09/07/16 16:26:08
2
3 Modified: ChangeLog
4 Added: vkeybd-0.1.18c.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.36 media-sound/vkeybd/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vkeybd/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vkeybd/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vkeybd/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -u -r1.35 -r1.36
22 --- ChangeLog 16 Jul 2009 08:58:25 -0000 1.35
23 +++ ChangeLog 16 Jul 2009 16:26:08 -0000 1.36
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-sound/vkeybd
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.35 2009/07/16 08:58:25 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.36 2009/07/16 16:26:08 ssuominen Exp $
29 +
30 +*vkeybd-0.1.18c (16 Jul 2009)
31 +
32 + 16 Jul 2009; Samuli Suominen <ssuominen@g.o>
33 + +vkeybd-0.1.18c.ebuild, +files/vkeybd-0.1.18c-desktop_entry.patch:
34 + Version bump.
35
36 16 Jul 2009; Samuli Suominen <ssuominen@g.o>
37 vkeybd-0.1.17b-r1.ebuild:
38
39
40
41 1.1 media-sound/vkeybd/vkeybd-0.1.18c.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.18c.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.18c.ebuild?rev=1.1&content-type=text/plain
45
46 Index: vkeybd-0.1.18c.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.18c.ebuild,v 1.1 2009/07/16 16:26:08 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="A virtual MIDI keyboard for X"
56 HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html"
57 SRC_URI="http://ftp.suse.com/pub/people/tiwai/vkeybd/vkeybd-0.1.18c.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~sparc ~x86"
62 IUSE="alsa lash oss"
63
64 RDEPEND="alsa? ( media-libs/alsa-lib )
65 >=dev-lang/tk-8.3
66 lash? ( media-sound/lash )
67 x11-libs/libX11"
68 DEPEND="${RDEPEND}
69 x11-proto/xf86bigfontproto
70 x11-proto/bigreqsproto
71 x11-proto/xextproto
72 x11-proto/xcmiscproto"
73
74 S=${WORKDIR}/${PN}
75
76 pkg_setup() {
77 TCL_VERSION=`echo 'puts [info tclversion]' | tclsh`
78
79 vkeybconf="PREFIX=/usr"
80
81 if use alsa; then
82 vkeybconf+=" USE_ALSA=1"
83 use oss || vkeybconf+=" USE_AWE=0 USE_MIDI=0"
84 else
85 vkeybconf+=" USE_ALSA=0 USE_AWE=1 USE_MIDI=1"
86 fi
87
88 use lash && vkeybconf+=" USE_LASH=1"
89
90 vkeybconf+=" TCL_VERSION=${TCL_VERSION}"
91 }
92
93 src_prepare() {
94 epatch "${FILESDIR}"/${P}-desktop_entry.patch
95 }
96
97 src_compile() {
98 tc-export CC
99 emake ${vkeybconf} COPTFLAGS="${CFLAGS}" || die "emake failed"
100 }
101
102 src_install() {
103 emake ${vkeybconf} DESTDIR="${D}" \
104 install-all || die "emake install failed"
105 dodoc ChangeLog README
106 }