summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@gentoo.org>2003-04-22 17:45:46 +0000
committerStanislav Brabec <utx@gentoo.org>2003-04-22 17:45:46 +0000
commit610d18bcb63624d356011fefd50f863e98a6abcf (patch)
tree50f0aa4103a2242585fdf562657c06ca9713a5f8 /media-sound/vkeybd
parentfix for tcl/tk 8.4 (#19556) (diff)
downloadgentoo-2-610d18bcb63624d356011fefd50f863e98a6abcf.tar.gz
gentoo-2-610d18bcb63624d356011fefd50f863e98a6abcf.tar.bz2
gentoo-2-610d18bcb63624d356011fefd50f863e98a6abcf.zip
updated to version 0.1.13, fixed bug #19557
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r--media-sound/vkeybd/ChangeLog8
-rw-r--r--media-sound/vkeybd/files/digest-vkeybd-0.1.131
-rw-r--r--media-sound/vkeybd/files/vkeybd-0.1.13-Makefile.passvariables.patch38
-rw-r--r--media-sound/vkeybd/vkeybd-0.1.13.ebuild52
4 files changed, 98 insertions, 1 deletions
diff --git a/media-sound/vkeybd/ChangeLog b/media-sound/vkeybd/ChangeLog
index fd8697486074..9101b5e6de6e 100644
--- a/media-sound/vkeybd/ChangeLog
+++ b/media-sound/vkeybd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/vkeybd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.4 2003/02/12 07:35:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.5 2003/04/22 17:45:46 utx Exp $
+
+*vkeybd-0.1.13 (22 Apr 2003)
+
+ 22 Apr 2003; Stanislav Brabec <utx@gentoo.org> vkeybd-0.1.13.ebuild,
+ files/vkeybd-0.1.13-Makefile.passvariables.patch:
+ Updated to version 0.1.13, fixed bug #19557.
*vkeybd-0.1.12 (20 Dec 2002)
diff --git a/media-sound/vkeybd/files/digest-vkeybd-0.1.13 b/media-sound/vkeybd/files/digest-vkeybd-0.1.13
new file mode 100644
index 000000000000..6eb51cce349d
--- /dev/null
+++ b/media-sound/vkeybd/files/digest-vkeybd-0.1.13
@@ -0,0 +1 @@
+MD5 3c8353800e28783b23e19478143d11f6 vkeybd-0.1.13.tar.gz 25539
diff --git a/media-sound/vkeybd/files/vkeybd-0.1.13-Makefile.passvariables.patch b/media-sound/vkeybd/files/vkeybd-0.1.13-Makefile.passvariables.patch
new file mode 100644
index 000000000000..282e9dd1876b
--- /dev/null
+++ b/media-sound/vkeybd/files/vkeybd-0.1.13-Makefile.passvariables.patch
@@ -0,0 +1,38 @@
+--- Makefile~ 2003-01-23 16:41:33.000000000 +0100
++++ Makefile 2003-04-22 19:16:04.000000000 +0200
+@@ -8,7 +8,9 @@
+ #
+ # installation directory
+ #
++ifndef $(PREFIX)
+ PREFIX = /usr/local
++endif
+ # binary and Tcl script are put there
+ BIN_DIR = $(PREFIX)/bin
+ # man page
+@@ -24,15 +26,25 @@
+ # device selections -- multiple avaialble
+ # to disable the device, set value 0 (do not comment out!)
+ #
++ifndef $(USE_AWE)
+ USE_AWE = 1
++endif
++ifndef $(USE_MIDI)
+ USE_MIDI = 1
++endif
++ifndef $(USE_ALSA)
+ USE_ALSA = 1
++endif
++ifndef $(USE_LADCCA)
+ USE_LADCCA = 0
++endif
+
+ #
+ # Tcl/Tk library -- depends on your distribution
+ #
++ifndef $(TCL_VERSION)
+ TCL_VERSION = 8.4
++endif
+ TCLLIB = -ltcl$(TCL_VERSION)
+ TCLINC =
+ TKLIB = -ltk$(TCL_VERSION)
diff --git a/media-sound/vkeybd/vkeybd-0.1.13.ebuild b/media-sound/vkeybd/vkeybd-0.1.13.ebuild
new file mode 100644
index 000000000000..ddf0ebb416db
--- /dev/null
+++ b/media-sound/vkeybd/vkeybd-0.1.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.13.ebuild,v 1.1 2003/04/22 17:45:46 utx Exp $
+
+DESCRIPTION="A virtual MIDI keyboard for X."
+HOMEPAGE="http://www.alsa-project.org/~iwai/alsa.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="alsa oss ladcca"
+
+DEPEND="alsa? ( >=media-libs/alsa-lib-0.5.0 )
+ >=dev-lang/tk-8.3
+ >=dev-lang/tcl-8.3
+ virtual/x11
+ ladcca? ( media-libs/ladcca )"
+
+SRC_URI="http://www.alsa-project.org/~iwai/${P}.tar.gz"
+S=${WORKDIR}/${PN}
+TCL_VERSION=`awk -F\' '/TCL_VERSION/ {print $2}' /usr/lib/tclConfig.sh`
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-Makefile.passvariables.patch || die \
+ "Patch #1 failed"
+}
+
+src_compile() {
+ local 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
+
+ make ${myconf} TCL_VERSION=$TCL_VERSION || die "Make failed."
+}
+
+src_install() {
+ make DESTDIR=${D} PREFIX=/usr install || die "Installation Failed"
+ make DESTDIR=${D} PREFIX=/usr install-man || die \
+ "Man-Page Installation Failed"
+ dodoc README
+}