* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/
@ 2021-02-21 7:05 Casey Avila
0 siblings, 0 replies; 3+ messages in thread
From: Casey Avila @ 2021-02-21 7:05 UTC (permalink / raw
To: gentoo-commits
commit: 80fe143ef47d8c582a039b6ad0cc6c2b037b7ac3
Author: Casey Avila <casey <AT> theavilas <DOT> org>
AuthorDate: Sun Feb 21 07:04:10 2021 +0000
Commit: Casey Avila <casey <AT> theavilas <DOT> org>
CommitDate: Sun Feb 21 07:04:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80fe143e
media-sound/pianobooster: new package
Signed-off-by: Casey Avila <casey <AT> 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 00000000..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 00000000..af5290f2
--- /dev/null
+++ b/media-sound/pianobooster/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>casey@theavilas.org</email>
+ <name>Casey Avila</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pianobooster/PianoBooster</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000..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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/
@ 2021-02-22 19:00 Casey Avila
0 siblings, 0 replies; 3+ messages in thread
From: Casey Avila @ 2021-02-22 19:00 UTC (permalink / raw
To: gentoo-commits
commit: 8305b21b681b52f356b94fb10e8a79e8f4fee911
Author: Casey Avila <casey <AT> theavilas <DOT> org>
AuthorDate: Mon Feb 22 18:58:27 2021 +0000
Commit: Casey Avila <casey <AT> theavilas <DOT> org>
CommitDate: Mon Feb 22 18:58:27 2021 +0000
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 <casey <AT> 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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/
@ 2021-03-28 10:17 Andrew Ammerlaan
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 10:17 UTC (permalink / raw
To: gentoo-commits
commit: 534e2adbc864828487113fe13201312d3da8cc25
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:16:56 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:17:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=534e2adb
media-sound/pianobooster: properly name tarball
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
media-sound/pianobooster/Manifest | 2 +-
media-sound/pianobooster/pianobooster-1.0.0.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-sound/pianobooster/Manifest b/media-sound/pianobooster/Manifest
index 71171d1a9..11d78c2a1 100644
--- a/media-sound/pianobooster/Manifest
+++ b/media-sound/pianobooster/Manifest
@@ -1 +1 @@
-DIST v1.0.0.tar.gz 3096142 BLAKE2B 4fe4c06d9770dbec28369251540a51d7fb60d72a9a952a31676654707c1e7ab04c12c09ab84df0a77a5083f59faea680e1c673e86d2396ff4fc52796ab7ea7e4 SHA512 0ba67d97beffa9eebfc770b339daa7b7e213654eb84895556cd8d412ca7c47e9ffd1b01a7eefd3c81e0a6f56ad9b7da45b062209c10ad2380c2e59bdee4d01ac
+DIST pianobooster-1.0.0.tar.gz 3096142 BLAKE2B 4fe4c06d9770dbec28369251540a51d7fb60d72a9a952a31676654707c1e7ab04c12c09ab84df0a77a5083f59faea680e1c673e86d2396ff4fc52796ab7ea7e4 SHA512 0ba67d97beffa9eebfc770b339daa7b7e213654eb84895556cd8d412ca7c47e9ffd1b01a7eefd3c81e0a6f56ad9b7da45b062209c10ad2380c2e59bdee4d01ac
diff --git a/media-sound/pianobooster/pianobooster-1.0.0.ebuild b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
index 4b82a3902..9ad1c50b2 100644
--- a/media-sound/pianobooster/pianobooster-1.0.0.ebuild
+++ b/media-sound/pianobooster/pianobooster-1.0.0.ebuild
@@ -7,7 +7,7 @@ inherit cmake xdg
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"
+SRC_URI="https://github.com/pianobooster/PianoBooster/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-28 10:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 19:00 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/ Casey Avila
-- strict thread matches above, loose matches on Subject: below --
2021-03-28 10:17 Andrew Ammerlaan
2021-02-21 7:05 Casey Avila
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox