diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 16:26:08 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 16:26:08 +0000 |
commit | 17ac08e7b480cf6a61db8f72f864e806ab80a919 (patch) | |
tree | 5ab67a79ebf674a78511fbfdea61b4045fe43838 /media-sound/vkeybd | |
parent | stable amd64, bug 277194 (diff) | |
download | gentoo-2-17ac08e7b480cf6a61db8f72f864e806ab80a919.tar.gz gentoo-2-17ac08e7b480cf6a61db8f72f864e806ab80a919.tar.bz2 gentoo-2-17ac08e7b480cf6a61db8f72f864e806ab80a919.zip |
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r-- | media-sound/vkeybd/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/vkeybd/files/vkeybd-0.1.18c-desktop_entry.patch | 15 | ||||
-rw-r--r-- | media-sound/vkeybd/vkeybd-0.1.18c.ebuild | 59 |
3 files changed, 81 insertions, 1 deletions
diff --git a/media-sound/vkeybd/ChangeLog b/media-sound/vkeybd/ChangeLog index c666a11a0b6b..eaac27a7fffd 100644 --- a/media-sound/vkeybd/ChangeLog +++ b/media-sound/vkeybd/ChangeLog @@ -1,6 +1,12 @@ # 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.35 2009/07/16 08:58:25 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.36 2009/07/16 16:26:08 ssuominen Exp $ + +*vkeybd-0.1.18c (16 Jul 2009) + + 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> + +vkeybd-0.1.18c.ebuild, +files/vkeybd-0.1.18c-desktop_entry.patch: + Version bump. 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> vkeybd-0.1.17b-r1.ebuild: diff --git a/media-sound/vkeybd/files/vkeybd-0.1.18c-desktop_entry.patch b/media-sound/vkeybd/files/vkeybd-0.1.18c-desktop_entry.patch new file mode 100644 index 000000000000..7baaa7cd7a06 --- /dev/null +++ b/media-sound/vkeybd/files/vkeybd-0.1.18c-desktop_entry.patch @@ -0,0 +1,15 @@ +diff -ur vkeybd.orig/vkeybd.desktop vkeybd/vkeybd.desktop +--- vkeybd.orig/vkeybd.desktop 2008-04-17 14:00:15.000000000 +0300 ++++ vkeybd/vkeybd.desktop 2009-07-16 19:22:41.000000000 +0300 +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=vkeybd + Name[xh]=i-vkeybd + Name[ta]=பெயர்(vkeybd.டெஸ்க்டாப்): vkeybd +@@ -42,4 +41,4 @@ + Icon=vkeybd_48x48 + Terminal=false + StartupWMClass=vkeybd.tcl +-Categories=Application;AudioVideo;Audio;Music ++Categories=AudioVideo;Audio; diff --git a/media-sound/vkeybd/vkeybd-0.1.18c.ebuild b/media-sound/vkeybd/vkeybd-0.1.18c.ebuild new file mode 100644 index 000000000000..516ccf5eea62 --- /dev/null +++ b/media-sound/vkeybd/vkeybd-0.1.18c.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.18c.ebuild,v 1.1 2009/07/16 16:26:08 ssuominen 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/vkeybd/vkeybd-0.1.18c.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}"/${P}-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 +} |