[gentoo-commits] repo/proj/guru:dev commit in: media-libs/rtmidi/

2021-06-24 Thread Casey Avila
commit: 23489b05a4f654d5c6be86adef200ea80ba43895
Author: Casey Avila  theavilas  org>
AuthorDate: Thu Jun 24 19:18:24 2021 +
Commit:     Casey Avila  theavilas  org>
CommitDate: Thu Jun 24 19:18:24 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=23489b05

media-libs/rtmidi: fix SRC_URI, bug #795990

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Casey Avila  theavilas.org>

 media-libs/rtmidi/Manifest| 2 +-
 media-libs/rtmidi/rtmidi-4.0.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/rtmidi/Manifest b/media-libs/rtmidi/Manifest
index 6ecfca7e0..58e4775f1 100644
--- a/media-libs/rtmidi/Manifest
+++ b/media-libs/rtmidi/Manifest
@@ -1 +1 @@
-DIST rtmidi-4.0.0.tar.gz 95928 BLAKE2B 
25c0c8a4bb63acd24fad5afa18194d0c6de6138298e7c163118e725ec772276b5cea3c7eb0f4aad9f8b27ad51941027d260835cc373857021280a03dc76eb789
 SHA512 
1c4c1400b60de5a91a47849efaf3f51af6cd2fc5e681c2f5981b7d748c438efef0b8f0dbc3a26408820ca1eabb58c86ba2f7a6abaf0dd1f083fd6b768065bc0a
+DIST rtmidi-4.0.0.tar.gz 509743 BLAKE2B 
16a43e0c30e49775e7fcf8af1318fb2240b97d2f5e32e043763e51896b95c38d508b3cdbbf712d562f6e57b7b3ed99f74b5a22c50cd298ebb020215c3e78eed8
 SHA512 
1b7e6698944104f6a80c17c9af85a9fad4b215af47277f4d9f5e61668cdea86886aae8296c79948313b3efbaa8569c441c38b0b1f3bad20dce3cee19d6a5eaa8

diff --git a/media-libs/rtmidi/rtmidi-4.0.0.ebuild 
b/media-libs/rtmidi/rtmidi-4.0.0.ebuild
index d018dab6a..e36685be5 100644
--- a/media-libs/rtmidi/rtmidi-4.0.0.ebuild
+++ b/media-libs/rtmidi/rtmidi-4.0.0.ebuild
@@ -7,7 +7,7 @@ inherit cmake
 
 DESCRIPTION="A set of C++ classes that provide a common API for realtime MIDI 
input/output"
 HOMEPAGE="http://www.music.mcgill.ca/~gary/rtmidi";
-SRC_URI="https://dl.bintray.com/aeon-engine/aeon_dependencies/rtmidi/src/${P}.tar.gz";
+SRC_URI="http://www.music.mcgill.ca/~gary/rtmidi/release/${P}.tar.gz";
 
 LICENSE="RtMidi"
 SLOT="0"



[gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/

2021-02-22 Thread Casey Avila
commit: 8305b21b681b52f356b94fb10e8a79e8f4fee911
Author: Casey Avila  theavilas  org>
AuthorDate: Mon Feb 22 18:58:27 2021 +
Commit:     Casey Avila  theavilas  org>
CommitDate: Mon Feb 22 18:58:27 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8305b21b

media-sound/pianobooster: use xdg eclass instead of xdg-utils

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Casey Avila  theavilas.org>

 media-sound/pianobooster/pianobooster-1.0.0.ebuild | 12 +---
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/media-sound/pianobooster/pianobooster-1.0.0.ebuild 
b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
index 530d45fc..4b82a390 100644
--- a/media-sound/pianobooster/pianobooster-1.0.0.ebuild
+++ b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake xdg-utils
+inherit cmake xdg
 
 DESCRIPTION="A MIDI player/game that displays notes and teaches you how to 
play the piano"
 HOMEPAGE="https://www.pianobooster.org";
@@ -53,13 +53,3 @@ src_configure() {
 
cmake_src_configure
 }
-
-pkg_postinst() {
-   xdg_icon_cache_update
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   xdg_icon_cache_update
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/

2021-02-20 Thread Casey Avila
commit: 80fe143ef47d8c582a039b6ad0cc6c2b037b7ac3
Author: Casey Avila  theavilas  org>
AuthorDate: Sun Feb 21 07:04:10 2021 +
Commit:     Casey Avila  theavilas  org>
CommitDate: Sun Feb 21 07:04:10 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80fe143e

media-sound/pianobooster: new package

Signed-off-by: Casey Avila  theavilas.org>

 media-sound/pianobooster/Manifest  |  1 +
 media-sound/pianobooster/metadata.xml  | 11 
 media-sound/pianobooster/pianobooster-1.0.0.ebuild | 65 ++
 3 files changed, 77 insertions(+)

diff --git a/media-sound/pianobooster/Manifest 
b/media-sound/pianobooster/Manifest
new file mode 100644
index ..71171d1a
--- /dev/null
+++ b/media-sound/pianobooster/Manifest
@@ -0,0 +1 @@
+DIST v1.0.0.tar.gz 3096142 BLAKE2B 
4fe4c06d9770dbec28369251540a51d7fb60d72a9a952a31676654707c1e7ab04c12c09ab84df0a77a5083f59faea680e1c673e86d2396ff4fc52796ab7ea7e4
 SHA512 
0ba67d97beffa9eebfc770b339daa7b7e213654eb84895556cd8d412ca7c47e9ffd1b01a7eefd3c81e0a6f56ad9b7da45b062209c10ad2380c2e59bdee4d01ac

diff --git a/media-sound/pianobooster/metadata.xml 
b/media-sound/pianobooster/metadata.xml
new file mode 100644
index ..af5290f2
--- /dev/null
+++ b/media-sound/pianobooster/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   ca...@theavilas.org
+       Casey Avila
+   
+   
+   pianobooster/PianoBooster
+   
+

diff --git a/media-sound/pianobooster/pianobooster-1.0.0.ebuild 
b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
new file mode 100644
index ..530d45fc
--- /dev/null
+++ b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg-utils
+
+DESCRIPTION="A MIDI player/game that displays notes and teaches you how to 
play the piano"
+HOMEPAGE="https://www.pianobooster.org";
+SRC_URI="https://github.com/pianobooster/PianoBooster/archive/v1.0.0.tar.gz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+RESTRICT="mirror"
+KEYWORDS="~amd64 ~x86"
+IUSE="jack"
+
+DEPEND="
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtopengl:5
+   dev-qt/qtwidgets:5
+   dev-qt/qtxml:5
+   media-libs/ftgl
+   media-libs/rtmidi[jack?]
+   media-sound/fluidsynth
+   jack? ( virtual/jack )
+   virtual/opengl"
+
+RDEPEND="${DEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-qt/linguist-tools:5"
+
+S="${WORKDIR}/PianoBooster-${PV}"
+
+src_prepare() {
+
+   # Substitute because debian-based distros use 
/usr/include/rtmidi/RtMidi.h
+   # instead of the RtMidi's default /usr/include/RtMidi.h
+   sed -i -e "s/rtmidi\/RtMidi.h/RtMidi.h/g" 
src/GuiKeyboardSetupDialog.cpp || die "Couldn't fix rtmidi headers!"
+   sed -i -e "s/rtmidi\/RtMidi.h/RtMidi.h/g" src/MidiDeviceRt.h || die 
"Couldn't fix rtmidi headers!"
+
+   sed -i -e "s/share\/doc\/pianobooster/share\/doc\/${P}/g" 
src/CMakeLists.txt || die "Couldn't fix CMakeLists!"
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   mycmakeargs+=(
+   -DUSE_JACK=$(usex jack)
+   )
+
+   cmake_src_configure
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-libs/rtmidi/, licenses/

2021-02-20 Thread Casey Avila
commit: 58034b73a49011135daf2f4628b94ef804c72861
Author: Casey Avila  theavilas  org>
AuthorDate: Sun Feb 21 05:08:17 2021 +
Commit:     Casey Avila  theavilas  org>
CommitDate: Sun Feb 21 05:08:17 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58034b73

media-libs/rtmidi: new package and license

Signed-off-by: Casey Avila  theavilas.org>

 licenses/RtMidi   | 27 +++
 media-libs/rtmidi/Manifest|  1 +
 media-libs/rtmidi/metadata.xml| 11 +++
 media-libs/rtmidi/rtmidi-4.0.0.ebuild | 32 
 4 files changed, 71 insertions(+)

diff --git a/licenses/RtMidi b/licenses/RtMidi
new file mode 100644
index ..97d50aba
--- /dev/null
+++ b/licenses/RtMidi
@@ -0,0 +1,27 @@
+
+RtMidi: realtime MIDI i/o C++ classes
+Copyright (c) 2003-2019 Gary P. Scavone
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Any person wishing to distribute modifications to the Software is
+asked to send the modifications to the original developer so that
+they can be incorporated into the canonical version.  This is,
+however, not a binding provision of this license.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
+ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

diff --git a/media-libs/rtmidi/Manifest b/media-libs/rtmidi/Manifest
new file mode 100644
index ..6ecfca7e
--- /dev/null
+++ b/media-libs/rtmidi/Manifest
@@ -0,0 +1 @@
+DIST rtmidi-4.0.0.tar.gz 95928 BLAKE2B 
25c0c8a4bb63acd24fad5afa18194d0c6de6138298e7c163118e725ec772276b5cea3c7eb0f4aad9f8b27ad51941027d260835cc373857021280a03dc76eb789
 SHA512 
1c4c1400b60de5a91a47849efaf3f51af6cd2fc5e681c2f5981b7d748c438efef0b8f0dbc3a26408820ca1eabb58c86ba2f7a6abaf0dd1f083fd6b768065bc0a

diff --git a/media-libs/rtmidi/metadata.xml b/media-libs/rtmidi/metadata.xml
new file mode 100644
index ..2c412c89
--- /dev/null
+++ b/media-libs/rtmidi/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   ca...@theavilas.org
+   Casey Avila
+   
+   
+   thestk/rtmidi
+   
+

diff --git a/media-libs/rtmidi/rtmidi-4.0.0.ebuild 
b/media-libs/rtmidi/rtmidi-4.0.0.ebuild
new file mode 100644
index ..94fe8463
--- /dev/null
+++ b/media-libs/rtmidi/rtmidi-4.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A set of C++ classes that provide a common API for realtime MIDI 
input/output"
+HOMEPAGE="http://www.music.mcgill.ca/~gary/rtmidi";
+SRC_URI="https://dl.bintray.com/aeon-engine/aeon_dependencies/rtmidi/src/rtmidi-4.0.0.tar.gz";
+
+LICENSE="RtMidi"
+SLOT="0"
+RESTRICT="mirror"
+KEYWORDS="~amd64 ~x86"
+IUSE="+alsa jack"
+
+DEPEND="
+   alsa? ( media-libs/alsa-lib )
+   jack? ( virtual/jack )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+   mycmakeargs+=(
+   -DRTMIDI_API_ALSA=$(usex alsa)
+   -DRTMIDI_API_JACK=$(usex jack)
+   )
+
+   cmake_src_configure
+}