summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-01-26 22:17:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-01-26 22:17:04 +0000
commitc7d7072f115428cbf387cb0f99a35983b88977ed (patch)
tree46fcaac15a1c145f1f9ee7951edb2423f7c42b23
parentSupport openrc layout (diff)
downloadgentoo-2-c7d7072f115428cbf387cb0f99a35983b88977ed.tar.gz
gentoo-2-c7d7072f115428cbf387cb0f99a35983b88977ed.tar.bz2
gentoo-2-c7d7072f115428cbf387cb0f99a35983b88977ed.zip
version bump, closes bug #205949
(Portage version: 2.1.4)
-rw-r--r--media-sound/vkeybd/ChangeLog10
-rw-r--r--media-sound/vkeybd/files/digest-vkeybd-0.1.17b3
-rw-r--r--media-sound/vkeybd/files/vkeybd-0.1.17b-makefile.patch17
-rw-r--r--media-sound/vkeybd/vkeybd-0.1.17b.ebuild63
4 files changed, 91 insertions, 2 deletions
diff --git a/media-sound/vkeybd/ChangeLog b/media-sound/vkeybd/ChangeLog
index caf92ce3f2ae..a52bc0038752 100644
--- a/media-sound/vkeybd/ChangeLog
+++ b/media-sound/vkeybd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/vkeybd
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.29 2007/07/22 08:38:31 drac Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.30 2008/01/26 22:17:03 aballier Exp $
+
+*vkeybd-0.1.17b (26 Jan 2008)
+
+ 26 Jan 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/vkeybd-0.1.17b-makefile.patch, +vkeybd-0.1.17b.ebuild:
+ version bump, closes bug #205949
22 Jul 2007; Samuli Suominen <drac@gentoo.org> -vkeybd-0.1.15-r1.ebuild,
vkeybd-0.1.15-r2.ebuild, vkeybd-0.1.17a.ebuild:
diff --git a/media-sound/vkeybd/files/digest-vkeybd-0.1.17b b/media-sound/vkeybd/files/digest-vkeybd-0.1.17b
new file mode 100644
index 000000000000..b48f8099ff06
--- /dev/null
+++ b/media-sound/vkeybd/files/digest-vkeybd-0.1.17b
@@ -0,0 +1,3 @@
+MD5 821a3aaf9b87639dc7143f5a95ff6679 vkeybd-0.1.17b.tar.bz2 37195
+RMD160 5b1a4b4cba4de120af1e2aa33b6017ccf411cb50 vkeybd-0.1.17b.tar.bz2 37195
+SHA256 95f4a44bb286ab7c4ddbb19605b6eef07bae76c01b31d37c52ea8eaaf8ebef89 vkeybd-0.1.17b.tar.bz2 37195
diff --git a/media-sound/vkeybd/files/vkeybd-0.1.17b-makefile.patch b/media-sound/vkeybd/files/vkeybd-0.1.17b-makefile.patch
new file mode 100644
index 000000000000..ee0ef098ea29
--- /dev/null
+++ b/media-sound/vkeybd/files/vkeybd-0.1.17b-makefile.patch
@@ -0,0 +1,17 @@
+Index: vkeybd/Makefile
+===================================================================
+--- vkeybd.orig/Makefile
++++ vkeybd/Makefile
+@@ -95,10 +95,10 @@ TARGETS = vkeybd sftovkb
+ all: $(TARGETS)
+
+ vkeybd: vkb.o vkb_device.o $(DEVOBJS) $(EXTRAOBJS)
+- $(CC) -o $@ $^ $(TKLIB) $(TCLLIB) $(XLIB) $(EXTRALIB) -lm
++ $(CC) $(LDFLAGS) -o $@ $^ $(TKLIB) $(TCLLIB) $(XLIB) $(EXTRALIB) -lm
+
+ sftovkb: sftovkb.o sffile.o malloc.o fskip.o
+- $(CC) -o $@ $^ -lm
++ $(CC) $(LDFLAGS) -o $@ $^ -lm
+
+ install: $(TARGETS) vkeybd.tcl vkeybd.list vkeybdmap*
+ mkdir -p $(DESTDIR)$(BIN_DIR)
diff --git a/media-sound/vkeybd/vkeybd-0.1.17b.ebuild b/media-sound/vkeybd/vkeybd-0.1.17b.ebuild
new file mode 100644
index 000000000000..ce2e83f29a54
--- /dev/null
+++ b/media-sound/vkeybd/vkeybd-0.1.17b.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.17b.ebuild,v 1.1 2008/01/26 22:17:03 aballier Exp $
+
+inherit toolchain-funcs eutils
+
+IUSE="alsa oss ladcca"
+
+DESCRIPTION="A virtual MIDI keyboard for X"
+HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html"
+SRC_URI="http://www.gtlib.gatech.edu/pub/suse/people/tiwai/vkeybd/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+RDEPEND="alsa? ( >=media-libs/alsa-lib-0.5.0 )
+ >=dev-lang/tk-8.3
+ ladcca? ( >=media-libs/ladcca-0.3.1 )
+ 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`
+
+ myconf="PREFIX=/usr"
+
+ #vkeybd requires at least one of its USE_ variable to be set
+ if use alsa ; then
+ myconf="${myconf} USE_ALSA=1"
+ use oss || myconf="${myconf} USE_AWE=0 USE_MIDI=0"
+ else
+ myconf="${myconf} USE_ALSA=0 USE_AWE=1 USE_MIDI=1"
+ fi
+
+ if use ladcca ; then
+ myconf="${myconf} USE_LADCCA=1"
+ fi
+
+ myconf="${myconf} TCL_VERSION=${TCL_VERSION}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake ${myconf} COPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed."
+}
+
+src_install() {
+ emake ${myconf} DESTDIR="${D}" install-all || die "emake install failed."
+ dodoc README ChangeLog
+}