diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-31 12:39:59 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-31 12:40:26 +0200 |
commit | 288aeafdfc8610e46383c5fb3387561aad00bf2e (patch) | |
tree | ae2aecc611b6c6b8d56ae06a99f5dda88fabe1d1 /media-sound | |
parent | x11-misc/py3status: add 3.58, drop 3.57 (diff) | |
download | gentoo-288aeafdfc8610e46383c5fb3387561aad00bf2e.tar.gz gentoo-288aeafdfc8610e46383c5fb3387561aad00bf2e.tar.bz2 gentoo-288aeafdfc8610e46383c5fb3387561aad00bf2e.zip |
media-sound/vkeybd: bump to 0.1.18e + eapi8 + updated homepage and source
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/vkeybd/Manifest | 1 | ||||
-rw-r--r-- | media-sound/vkeybd/vkeybd-0.1.18e.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/media-sound/vkeybd/Manifest b/media-sound/vkeybd/Manifest index 2b81b76c94e7..b267ba48a7d5 100644 --- a/media-sound/vkeybd/Manifest +++ b/media-sound/vkeybd/Manifest @@ -1 +1,2 @@ DIST vkeybd-0.1.18d.tar.bz2 38918 BLAKE2B 75af417b1458f840c22c4fb1fd10da24a78b1bff9e64c094291643bbe6c2c0dd5e552665ee41765e3cb7659f4d81dc35b69e372291ab1e154f838417b936952b SHA512 d26766e80b598af12e3962d043896f7737685a04dc5bd466be6902cc14a8bf5727900e0dfe66e443169a2539f22a110d1fbbc514a621a4a7cb8aa0e9d38be583 +DIST vkeybd-0.1.18e.tar.gz 41157 BLAKE2B c37c32eb90ef6b4eb4af683c6a26d5fbce377a6f0364fe113c5cf826f3d4fc12f14b8f75d67af8ad9e00c571d44a88055cdd6bbaacfa9cbeba2dea15649110ce SHA512 0007d2315e24be26c20884df86fd622f4dd149055fc0e261260a5b7dffa11fe24b52f0f8647bb07c099a13a6612b616dbf800ca701b24376b8d3b66c55e8da11 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" +} |