summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/vmpk')
-rw-r--r--media-sound/vmpk/Manifest1
-rw-r--r--media-sound/vmpk/vmpk-0.7.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/media-sound/vmpk/Manifest b/media-sound/vmpk/Manifest
index 38056a349916..886aca0080be 100644
--- a/media-sound/vmpk/Manifest
+++ b/media-sound/vmpk/Manifest
@@ -1 +1,2 @@
DIST vmpk-0.6.2a.tar.bz2 452963 BLAKE2B 490a8f39d2a9f9eeef51abe4d090942a26aa9b84514da8b8852b3abf23bec1c5b8d71c48e456be6a6ac17ae20609440e40dc7a9b62bb4e24e495fe952e608f87 SHA512 89ba161c3ca7ae260d02c175d1116bea7cdfdfddb0f303d8b9177eeb3d77ded8f6126bed43efa6c279daec0a987d0be30c280d59f42a7c145167fb54a7b8db16
+DIST vmpk-0.7.2.tar.bz2 438006 BLAKE2B 78b1f50ce4ec6a430e4b82b500687261c448043d07fcd8e5a8fabcf0554f0488b7a87abf4a208a1d102a86c7b399c0637210c23f7d5b45a5166d6909aeb26b1f SHA512 69e31d6fd91a6604b7482b18840ed0b274723f380d7fe59827391e9031c3c670cb4e331c8bff01aacf6271973689f0bdb8c1dad4b749524095b398063634a477
diff --git a/media-sound/vmpk/vmpk-0.7.2.ebuild b/media-sound/vmpk/vmpk-0.7.2.ebuild
new file mode 100644
index 000000000000..12365dd4917c
--- /dev/null
+++ b/media-sound/vmpk/vmpk-0.7.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Virtual MIDI Piano Keyboard"
+HOMEPAGE="http://vmpk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/vmpk/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus"
+
+BDEPEND="
+ app-text/docbook-xsl-stylesheets
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ >=media-sound/drumstick-1.0.0
+ x11-libs/libxcb
+ dbus? ( dev-qt/qtdbus:5 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DBUS=$(usex dbus)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ rm -rf "${D}/usr/share/doc/packages" || die
+}