summaryrefslogtreecommitdiff
path: root/media-sound/vkeybd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/vkeybd
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r--media-sound/vkeybd/Manifest6
-rw-r--r--media-sound/vkeybd/files/vkeybd-0.1.18c-desktop_entry.patch15
-rw-r--r--media-sound/vkeybd/metadata.xml8
-rw-r--r--media-sound/vkeybd/vkeybd-0.1.18d.ebuild65
4 files changed, 94 insertions, 0 deletions
diff --git a/media-sound/vkeybd/Manifest b/media-sound/vkeybd/Manifest
new file mode 100644
index 000000000000..fa2072b6f862
--- /dev/null
+++ b/media-sound/vkeybd/Manifest
@@ -0,0 +1,6 @@
+AUX vkeybd-0.1.18c-desktop_entry.patch 498 SHA256 e1a8e46f5de882a9e75589070423b737a30e5998557a65b2a858cd53b1495236 SHA512 5bb4d0a1b47e1e3390f927c1c8394da12c3058d68b43a5b46b4c3d91659aa720abd2fff2cdd1a8827c90512a116010d8d023b35214f6ec696a34857eb547b6a9 WHIRLPOOL 0212238b41a557e4f11adad158bb2ade0e644501724a479adb2b5f6af83641c203527e14b043304a2bc354fd4aa0c6bc48daf4725dfc59987d3313ba1d0055fc
+DIST vkeybd-0.1.18d.tar.bz2 38918 SHA256 aa683ed57592489e05fdd898368abe3ee245a4d5829385cfe5edb81764590704 SHA512 d26766e80b598af12e3962d043896f7737685a04dc5bd466be6902cc14a8bf5727900e0dfe66e443169a2539f22a110d1fbbc514a621a4a7cb8aa0e9d38be583 WHIRLPOOL 317d7fa02e0712c9c4924d9705ba5d6580e42b099271078bf219c5f65a48b96f1ac3b69a69a26f69166f35f87c64bb0f89098238b0ae6220e50e4f7373b25d38
+EBUILD vkeybd-0.1.18d.ebuild 1507 SHA256 c031c134bb92782de965fb79ff331fe554b8d87f587def04cefd06ae920e4365 SHA512 5e981b29b014343a43215c06a1cdc1866c452dee76106b49484e655cc7a4c4c59e3a88bd88e640f90a17be401019646d3b0f3a0d3983597221ea767e94b1ae4e WHIRLPOOL bc7fb263fd175e01f92ba6160abb37f5ad87162e6e9ff2e86660e041b3beecb12f26cb14b46ae39b26f12166b9ee7189c05dd15fa00b050fc2969d9da1ebca0d
+MISC ChangeLog 2501 SHA256 f4b8c127810a8f2471ccb2ceec34d35c5b78e31ee6b1b3536ec719e881a68e03 SHA512 6dc2af75b006d07b913df0eb863eb8f8be90445b3b29f2844a81a50f818b2fb9873d11d81da89271394f546c99ebff5b3ef55e8a5f5343816c3ef4256244e4d5 WHIRLPOOL c3411d7801e9fb6091b4746637fedc554a0b57e32c123997071110b527e380c9875d7bfc8d289d748dc77acddd0378ef9b80ba969b6a7a73eb71a0b4b274f0c4
+MISC ChangeLog-2015 5934 SHA256 0a4e40968712d70ea5fc2f36b28dc81327114657a08822848233900cbe2d0e85 SHA512 42dfcf3b07b640301532fa35c71abeab25b145a67adc5a8a09fec7e00eece24fdefd110ec47323e5532eae313d045c672c3d8fe43554297c6880e666c3e299ce WHIRLPOOL d98a684dc66af8ce8254e42141e6c67b4ca9ddde727438f167251a2cb9206359b5aac54fd3103f07bbbf24cf51b8fba5fefc2065bf8efc52e1f3e275064d48c6
+MISC metadata.xml 253 SHA256 6b992cbf9f9d479cdf83d3f9a1ec920aa0be988f39ee4f1f41fd12b917f1b36b SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894 WHIRLPOOL 73df5c8f06d7079d8407b50207f0c217cf57ae161fbaf3c39e168b6f11b2bfac4f61b6191a5b9beecc981c003191844660c330dc8679580e1d2d336ff4e38e00
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/metadata.xml b/media-sound/vkeybd/metadata.xml
new file mode 100644
index 000000000000..ee7258ac28eb
--- /dev/null
+++ b/media-sound/vkeybd/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-sound/vkeybd/vkeybd-0.1.18d.ebuild b/media-sound/vkeybd/vkeybd-0.1.18d.ebuild
new file mode 100644
index 000000000000..cdf69d35b90a
--- /dev/null
+++ b/media-sound/vkeybd/vkeybd-0.1.18d.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/${PN}/${P}.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}"/${PN}-0.1.18c-desktop_entry.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake ${vkeybconf} COPTFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ emake ${vkeybconf} DESTDIR="${D}" install-all || die
+ dodoc ChangeLog README
+}
+
+pkg_postinst() {
+ elog "The system-wide keymap is locale-sensitive now. A file"
+ elog "vkeybdmap-\$LANG is searched in prior. For example, /etc/vkeybdmap-de"
+ elog "can be used for the german locale. See the localization guide:"
+ elog
+ elog "https://wiki.gentoo.org/wiki/Localization/Guide"
+}