Adding vkeybd, a virtual midi keyboard
svn path=/nixpkgs/trunk/; revision=26919
This commit is contained in:
parent
198f3407a3
commit
3d3efea4f1
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchurl, alsaLib, libX11, makeWrapper, tcl, tk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vkeybd-${version}";
|
||||
version = "0.1.18d";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.suse.com/pub/people/tiwai/vkeybd/${name}.tar.bz2";
|
||||
sha256 = "0107b5j1gf7dwp7qb4w2snj4bqiyps53d66qzl2rwj4jfpakws5a";
|
||||
};
|
||||
|
||||
buildInputs = [ alsaLib libX11 makeWrapper tcl tk ];
|
||||
|
||||
configurePhase = ''
|
||||
ensureDir $out/bin
|
||||
sed -e "s@/usr/local@$out@" -i Makefile
|
||||
'';
|
||||
|
||||
makeFlags = [ "TKLIB=-ltk8.5" "TCLLIB=-ltcl8.5" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/vkeybd --set TK_LIBRARY "${tk}/lib/${tk.libPrefix}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Virtual MIDI keyboard";
|
||||
homepage = http://www.alsa-project.org/~tiwai/alsa.html;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
|
@ -6917,6 +6917,10 @@ let
|
|||
|
||||
virtualgl = callPackage ../tools/X11/virtualgl { };
|
||||
|
||||
vkeybd = callPackage ../applications/audio/vkeybd {
|
||||
inherit (xlibs) libX11;
|
||||
};
|
||||
|
||||
vlc = callPackage ../applications/video/vlc {
|
||||
dbus = dbus.libs;
|
||||
alsa = alsaLib;
|
||||
|
|
Loading…
Reference in New Issue