# ChangeLog for media-sound/vkeybd
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.25 2006/11/25 10:45:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/ChangeLog,v 1.26 2006/11/25 11:17:47 aballier Exp $
+
+*vkeybd-0.1.17a (25 Nov 2006)
+
+ 25 Nov 2006; Alexis Ballier <aballier@gentoo.org>
+ +files/vkeybd-0.1.17a-makefile.patch, +vkeybd-0.1.17a.ebuild:
+ Version bump
*vkeybd-0.1.15-r2 (25 Nov 2006)
MD5 bdc9dca596496f04bc2b7d209dc1aba0 files/vkeybd-0.1.15-makefile.patch 1126
RMD160 978cfb2e57b0386f57a002ddc5a1988cf66c4910 files/vkeybd-0.1.15-makefile.patch 1126
SHA256 99588b3b8752606eed880f567e671bd3bb720e3f943ab2b302145654d8cc0b31 files/vkeybd-0.1.15-makefile.patch 1126
+AUX vkeybd-0.1.17a-makefile.patch 835 RMD160 b1ca4f529cdd46391cba90b918acc53796773fa7 SHA1 a50f39c8e9059cb47aff4aef89a0c395916a788a SHA256 9ca0f12d2c98ff6a375832d1c317f858b404ed37b9bdc20ea719214a603cef03
+MD5 a9cdc8777f3673668e89db4ff3907b79 files/vkeybd-0.1.17a-makefile.patch 835
+RMD160 b1ca4f529cdd46391cba90b918acc53796773fa7 files/vkeybd-0.1.17a-makefile.patch 835
+SHA256 9ca0f12d2c98ff6a375832d1c317f858b404ed37b9bdc20ea719214a603cef03 files/vkeybd-0.1.17a-makefile.patch 835
DIST vkeybd-0.1.15.tar.gz 26117 RMD160 51382b99528a1e6ba6b48e07a4840d0e655eddd9 SHA1 68693fceaf561d563ab7821df8368b479a9fe60b SHA256 a77e5376ab850d829e5759fcd82b236d5f92a6fd5826add84635e851f1b336a1
+DIST vkeybd-0.1.17a.tar.bz2 32135 RMD160 baa89b7a7d95e7ab964831e8d1e41d1b0e46a0fc SHA1 364750ea51d8af8324a8a9395431f3aa370ea3ed SHA256 7247495ae336e1e34ca6474e6e8cf4bc0fb589f29698ff924ceb4dc683422a7e
EBUILD vkeybd-0.1.15-r1.ebuild 1427 RMD160 9d985a94a02cc6ddf0dd3013cd7d0d5570d5cc42 SHA1 f326a8a1a8d2618b974ae425ba2801feec3a95f3 SHA256 5605e769f1206f35da6c7d4cdd35c71918c468cd6d5b83f899d4b83886eccae3
MD5 c3ba0c45afab3c239303138e19719828 vkeybd-0.1.15-r1.ebuild 1427
RMD160 9d985a94a02cc6ddf0dd3013cd7d0d5570d5cc42 vkeybd-0.1.15-r1.ebuild 1427
MD5 dc2a1feb0c12826498e61b77edc6ca88 vkeybd-0.1.15-r2.ebuild 1577
RMD160 89e483b891ab7827dd1e07921d9768ca62c89419 vkeybd-0.1.15-r2.ebuild 1577
SHA256 592aba23dc92c5566ff73f838e274b5c02e3874cef33e0ec5509e0e0aed8c223 vkeybd-0.1.15-r2.ebuild 1577
-MISC ChangeLog 3727 RMD160 49f82148445a9cff331898dc1540dcd8c3e55c4c SHA1 291103f1ea630030d7b0274cc4ae8898182e18a0 SHA256 8bfc1a884077db9bc6548574cb26b0ec890b5ab5e90534afbc89dd14a3b5868f
-MD5 988c88c58e5243619ca7dbce92ef3a0b ChangeLog 3727
-RMD160 49f82148445a9cff331898dc1540dcd8c3e55c4c ChangeLog 3727
-SHA256 8bfc1a884077db9bc6548574cb26b0ec890b5ab5e90534afbc89dd14a3b5868f ChangeLog 3727
+EBUILD vkeybd-0.1.17a.ebuild 1576 RMD160 3da6a9ebdf34ad8b05271000d4268c77592f9488 SHA1 0a74e4221190009ec51ac353503665d82ab8fb5f SHA256 19395893dc5bda250431bbb6ff6442f8853d0858962b8b6458520910cfeef69b
+MD5 fff8265e9f777d45eb0c755cc402b97c vkeybd-0.1.17a.ebuild 1576
+RMD160 3da6a9ebdf34ad8b05271000d4268c77592f9488 vkeybd-0.1.17a.ebuild 1576
+SHA256 19395893dc5bda250431bbb6ff6442f8853d0858962b8b6458520910cfeef69b vkeybd-0.1.17a.ebuild 1576
+MISC ChangeLog 3890 RMD160 af13cecc61fd6c776f2092817c27c9adf6bf60d8 SHA1 3e481820a29a1d871dbc04ab39d60668db959b5a SHA256 888d3cf2fbcdbbe3fc06706e8ffc884e63e77e1963b5ba5f90b6721f6513e18a
+MD5 d8111bd5d3bdf806f3332f6920114e79 ChangeLog 3890
+RMD160 af13cecc61fd6c776f2092817c27c9adf6bf60d8 ChangeLog 3890
+SHA256 888d3cf2fbcdbbe3fc06706e8ffc884e63e77e1963b5ba5f90b6721f6513e18a ChangeLog 3890
MISC metadata.xml 221 RMD160 600a2278f8a89283311c5bb10b02d54cebef8ca3 SHA1 aff61004cffd7341912643e1ab44a8df84e14c23 SHA256 3341e7789c5ba08aade2440d5ce6d2937e8432775731033190f11df5f64d085e
MD5 d0d7ea03e238a808414b4426394c100f metadata.xml 221
RMD160 600a2278f8a89283311c5bb10b02d54cebef8ca3 metadata.xml 221
MD5 89f22f95b5731a1bfb5cc64b6f812de2 files/digest-vkeybd-0.1.15-r2 238
RMD160 bb0a57b691cde216f2c68b332d4a06668eded94f files/digest-vkeybd-0.1.15-r2 238
SHA256 1b276b98f0577efd7e08cfeeb8a67c48994133787b256ac2f567974c17726150 files/digest-vkeybd-0.1.15-r2 238
+MD5 797680dbfd78c762c44f2a7a1571478c files/digest-vkeybd-0.1.17a 244
+RMD160 5ab940ed4ea9c5a177687165b48c15611d0cd31f files/digest-vkeybd-0.1.17a 244
+SHA256 beed27566f6ba02d01b12be6d98cca8379ab7846a79e79dbb770b1b08ff38ff5 files/digest-vkeybd-0.1.17a 244
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFaB94vFcC4BYPU0oRAqZWAJ9DRkpf0yS0qUueXlJNzsPVcUF5QQCgrg/D
-wbN/F89wzjH7NOH3LEuOWA8=
-=jvu7
+iD8DBQFFaCZbvFcC4BYPU0oRAplSAJ9LY1cdZ7tDbkv2hdPELGE/eKijugCgj2aE
+Xh1dSi/4dINauy5CJgsW0So=
+=SaJ2
-----END PGP SIGNATURE-----
--- /dev/null
+--- vkeybd/Makefile.old 2006-11-25 12:09:56.000000000 +0100
++++ vkeybd/Makefile 2006-11-25 12:10:41.000000000 +0100
+@@ -84,7 +84,7 @@
+
+ VKB_TCLFILE = $(VKBLIB_DIR)/vkeybd.tcl
+
+-CFLAGS = -Wall -O -DVKB_TCLFILE=\"$(VKB_TCLFILE)\" \
++CFLAGS = -Wall -O $(EXTRACFLAGS) -DVKB_TCLFILE=\"$(VKB_TCLFILE)\" \
+ -DVKBLIB_DIR=\"$(VKBLIB_DIR)\"\
+ -DVERSION_STR=\"$(VERSION)\"\
+ $(DEVICES) $(XINC) $(TCLINC) $(TKINC) $(LADCCACFLAGS)
+@@ -94,10 +94,10 @@
+ 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)
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vkeybd/vkeybd-0.1.17a.ebuild,v 1.1 2006/11/25 11:17:47 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.alsa-project.org/~iwai/${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 virtual/x11 )"
+
+DEPEND="${RDEPEND}
+ || ( ( x11-proto/xf86bigfontproto
+ x11-proto/bigreqsproto
+ x11-proto/xextproto
+ x11-proto/xcmiscproto )
+ virtual/x11 )"
+
+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}"
+ myconf="${myconf} CC=$(tc-getCC)"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-makefile.patch"
+}
+
+src_compile() {
+ emake ${myconf} EXTRACFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "Make failed."
+}
+
+src_install() {
+ emake ${myconf} DESTDIR="${D}" install-all || die "Installation Failed"
+ dodoc README ChangeLog
+}