diff options
author | Alexis Ballier <aballier@gentoo.org> | 2009-09-15 20:03:10 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2009-09-15 20:03:10 +0000 |
commit | 07e0eeb8575c2e3b2cff12fa8f4c05f8959fdf41 (patch) | |
tree | 5bcd82cc50ea85e73dea49e830f6023b38114248 /media-sound/vkeybd | |
parent | version bump (diff) | |
download | gentoo-2-07e0eeb8575c2e3b2cff12fa8f4c05f8959fdf41.tar.gz gentoo-2-07e0eeb8575c2e3b2cff12fa8f4c05f8959fdf41.tar.bz2 gentoo-2-07e0eeb8575c2e3b2cff12fa8f4c05f8959fdf41.zip |
version bump
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r-- | media-sound/vkeybd/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/vkeybd/vkeybd-0.1.18d.ebuild | 59 |
2 files changed, 65 insertions, 1 deletions
diff --git a/media-sound/vkeybd/ChangeLog b/media-sound/vkeybd/ChangeLog index eaac27a7fffd..d616be4acd63 100644 --- a/media-sound/vkeybd/ChangeLog +++ b/media-sound/vkeybd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/vkeybd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.36 2009/07/16 16:26:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.37 2009/09/15 20:03:10 aballier Exp $ + +*vkeybd-0.1.18d (15 Sep 2009) + + 15 Sep 2009; Alexis Ballier <aballier@gentoo.org> +vkeybd-0.1.18d.ebuild: + version bump *vkeybd-0.1.18c (16 Jul 2009) diff --git a/media-sound/vkeybd/vkeybd-0.1.18d.ebuild b/media-sound/vkeybd/vkeybd-0.1.18d.ebuild new file mode 100644 index 000000000000..0df1d8bd74b7 --- /dev/null +++ b/media-sound/vkeybd/vkeybd-0.1.18d.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.18d.ebuild,v 1.1 2009/09/15 20:03:10 aballier Exp $ + +EAPI=2 +inherit eutils toolchain-funcs + +DESCRIPTION="A virtual MIDI keyboard for X" +HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html" +SRC_URI="http://ftp.suse.com/pub/people/tiwai/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="alsa lash oss" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + >=dev-lang/tk-8.3 + lash? ( media-sound/lash ) + x11-libs/libX11" +DEPEND="${RDEPEND} + x11-proto/xf86bigfontproto + x11-proto/bigreqsproto + x11-proto/xextproto + x11-proto/xcmiscproto" + +S=${WORKDIR}/${PN} + +pkg_setup() { + TCL_VERSION=`echo 'puts [info tclversion]' | tclsh` + + vkeybconf="PREFIX=/usr" + + if use alsa; then + vkeybconf+=" USE_ALSA=1" + use oss || vkeybconf+=" USE_AWE=0 USE_MIDI=0" + else + vkeybconf+=" USE_ALSA=0 USE_AWE=1 USE_MIDI=1" + fi + + use lash && vkeybconf+=" USE_LASH=1" + + vkeybconf+=" TCL_VERSION=${TCL_VERSION}" +} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.1.18c-desktop_entry.patch +} + +src_compile() { + tc-export CC + emake ${vkeybconf} COPTFLAGS="${CFLAGS}" || die "emake failed" +} + +src_install() { + emake ${vkeybconf} DESTDIR="${D}" \ + install-all || die "emake install failed" + dodoc ChangeLog README +} |