From 4807a34ed82d5133f22b0793cdbcb8cc7a1bfa07 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 14 Jan 2024 12:25:13 -0500 Subject: QMidiPlayer? --- media-sound/qmidiplayer/Manifest | 3 ++ media-sound/qmidiplayer/qmidiplayer-0.8.8.0.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 media-sound/qmidiplayer/Manifest create mode 100644 media-sound/qmidiplayer/qmidiplayer-0.8.8.0.ebuild diff --git a/media-sound/qmidiplayer/Manifest b/media-sound/qmidiplayer/Manifest new file mode 100644 index 0000000..dfc9f74 --- /dev/null +++ b/media-sound/qmidiplayer/Manifest @@ -0,0 +1,3 @@ +DIST SMELT.zip 390552 BLAKE2B e6da995c006dc231dbd8629f4572393dabace0b626ebf870950d8b987884422c27ee75f777c365e4c77dd74b9b8bfd454defa62c422199f940ab6797bbece328 SHA512 4bc718e4d9096de54adef8cd9cb27bbbf0805836cd83e38969e50b52710f36c08367699f9aa4a7a730d33474809234851eb13f01c3c1d125b0a439f9a2a57c86 +DIST qmidiplayer-0.8.8.0.tar.xz 1496972 BLAKE2B a5e8c2e27ff328906c15e7d3e3c5f4f1b152384ef8a6657ba0acc76a728cbe9f6dafa2239018273aa26e428dc5b6ad08da4f347ca8cee5e6f9cfb0d8396c5ebc SHA512 2d54d95ed5101e8547c4ed82c6560ba4f49ddfbc2bc910c5c1f9e1541de9cfdf5a9cd36c4b6cf688b09b05f2e07ac615ef0dc39159ce8341fa8271135feac6de +EBUILD qmidiplayer-0.8.8.0.ebuild 1055 BLAKE2B 9502f3e96239e3332c3265f35c7a680372e74a89629a56151dacf55714455682581d86481c0d56fd87fa46b1714d1b5b8a66de4ca01eabd756d45aed95b9ac13 SHA512 661a0879160894538fb3cb5abc8ac4527e510cdf3828f1591638f4183e5c089a180935c8d7ec18eed903849ffd4b568e1e978aed60885ff1989021bb66568ec3 diff --git a/media-sound/qmidiplayer/qmidiplayer-0.8.8.0.ebuild b/media-sound/qmidiplayer/qmidiplayer-0.8.8.0.ebuild new file mode 100644 index 0000000..d05a46e --- /dev/null +++ b/media-sound/qmidiplayer/qmidiplayer-0.8.8.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A free cross-platform MIDI file player based on libfluidsynth and Qt." +HOMEPAGE="https://cgit.chrisoft.org/QMidiPlayer.git/" +SRC_URI=" + https://cgit.chrisoft.org/QMidiPlayer.git/snapshot/QMidiPlayer-${PV}.tar.xz -> ${P}.tar.xz + https://github.com/BearKidsTeam/SMELT/archive/752937d5c647b3b30c64eba0b988f388d3336766.zip -> SMELT.zip +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+visualization" + +DEPEND=" + media-sound/fluidsynth + media-libs/rtmidi + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtdbus:5 + dev-libs/icu + visualization? ( + media-libs/freetype:2= + sys-libs/zlib + media-libs/glew + media-libs/glfw + media-libs/devil[png] + ) +" + +BDEPEND=" + dev-qt/linguist-tools + app-arch/unzip +" + +src_prepare() { + mv $WORKDIR/SMELT $WORKDIR/${P}/visualization/ +} + +src_configure() { + local mycmakeargs=( + -DBUILD_VISUALIZATION="$(usex visualization)" + -DUSE_QT6="OFF" + ) + cmake_src_configure +} -- cgit v1.2.3