diff options
Diffstat (limited to 'media-sound/vkeybd')
-rw-r--r-- | media-sound/vkeybd/Manifest | 2 | ||||
-rw-r--r-- | media-sound/vkeybd/vkeybd-0.1.18e.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/media-sound/vkeybd/Manifest b/media-sound/vkeybd/Manifest index 3f0e4c705b15..a2346755b05e 100644 --- a/media-sound/vkeybd/Manifest +++ b/media-sound/vkeybd/Manifest @@ -1,5 +1,7 @@ AUX vkeybd-0.1.18c-desktop_entry.patch 498 BLAKE2B abc3ba4a1425e097b96fda6a3fa14f99adebd315d493a46a40422b6590a4fceb567e1179af58ba52fcc44bdffe9d7e611901c67f3c3df3d2ba6c28bfae39076f SHA512 5bb4d0a1b47e1e3390f927c1c8394da12c3058d68b43a5b46b4c3d91659aa720abd2fff2cdd1a8827c90512a116010d8d023b35214f6ec696a34857eb547b6a9 AUX vkeybd-0.1.18c-fix-buildsystem.patch 2243 BLAKE2B 635d6c46029b9e9012bc93880042213be52d46584d1478cfdb702292878faa17536c84016ac791813650b33abcbcb94fed8070120d96def6b6a70a017c56492b SHA512 1d2cfe82272df9859175e921ab4c0d3683b69d5cc74a35c5f47395396f08b992f3b59adb4923e20b69a425485e891cd406f81a86dddbf71305bf0288acd3a0d6 DIST vkeybd-0.1.18d.tar.bz2 38918 BLAKE2B 75af417b1458f840c22c4fb1fd10da24a78b1bff9e64c094291643bbe6c2c0dd5e552665ee41765e3cb7659f4d81dc35b69e372291ab1e154f838417b936952b SHA512 d26766e80b598af12e3962d043896f7737685a04dc5bd466be6902cc14a8bf5727900e0dfe66e443169a2539f22a110d1fbbc514a621a4a7cb8aa0e9d38be583 +DIST vkeybd-0.1.18e.tar.gz 41157 BLAKE2B c37c32eb90ef6b4eb4af683c6a26d5fbce377a6f0364fe113c5cf826f3d4fc12f14b8f75d67af8ad9e00c571d44a88055cdd6bbaacfa9cbeba2dea15649110ce SHA512 0007d2315e24be26c20884df86fd622f4dd149055fc0e261260a5b7dffa11fe24b52f0f8647bb07c099a13a6612b616dbf800ca701b24376b8d3b66c55e8da11 EBUILD vkeybd-0.1.18d.ebuild 1251 BLAKE2B 5deb886515e00c504e6123086db5beea05e1996adda29d0f14fd9131ced236b0d0d2cd2e352c086ad2e4f9bc5f89f5488e977b7b30f616dd9aeddefc5c3fa50a SHA512 5b93bc7faffb3f365e35678f9c712fbbe54a7106b4cc32b76c00fda036e1dcf9554646c6f97895a13a921de66a9f58f42fcfbc398f33a43c28f3f72992d42f02 +EBUILD vkeybd-0.1.18e.ebuild 1245 BLAKE2B ebdf0baf130548856f7c9d8463482c98a5212d29459e4168135544a3f8a9ad23a67b41b46ce80fb7bccea53af36e5e13c68f37376ca2136e69aa3aaa89d96415 SHA512 a7c178439eeb22ca4a55cb215b02d374cbe38c495c26f953daa1bf8868ddcf3e1a0eccfdca5dc85942881827da51666a98b10072572714a72461e0147e6a1a0b MISC metadata.xml 254 BLAKE2B 7f76152858fde96b9de5250e4cba30bfe0c5f2aa6ec7c84316072d84e4b664ecd6485642d3d184b1f2ddde8d9e03a94dd47dd00c5b8d82f80c5c0993d5627593 SHA512 7ed31d18221f55928f798dbf095166f535f7c0f5a1c3010b5113fd6b0d275af283f3d2e6839591335ec93bcd50aab5d0f104ad76eefda4d7a6b64d41af183f0b diff --git a/media-sound/vkeybd/vkeybd-0.1.18e.ebuild b/media-sound/vkeybd/vkeybd-0.1.18e.ebuild new file mode 100644 index 000000000000..7ddc220f14dc --- /dev/null +++ b/media-sound/vkeybd/vkeybd-0.1.18e.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A virtual MIDI keyboard for X" +HOMEPAGE="https://github.com/tiwai/vkeybd" +SRC_URI="https://github.com/tiwai/vkeybd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="alsa lash oss" + +RDEPEND=" + >=dev-lang/tk-8.3:= + x11-libs/libX11 + alsa? ( media-libs/alsa-lib:= ) + lash? ( media-sound/lash:= )" +DEPEND="${RDEPEND} + x11-base/xorg-proto + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1.18c-desktop_entry.patch + "${FILESDIR}"/${PN}-0.1.18c-fix-buildsystem.patch +) + +src_configure() { + export TCL_VERSION="$(echo 'puts [info tclversion]' | tclsh)" + + export USE_ALSA=$(usex alsa 1 0) + export USE_AWE=$(usex alsa $(usex oss 1 0) 1) + export USE_MIDI=$(usex alsa $(usex oss 1 0) 1) + export USE_LASH=$(usex lash 1 0) + + tc-export CC PKG_CONFIG +} + +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" +} |