[gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/
commit: 534e2adbc864828487113fe13201312d3da8cc25 Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Mar 28 10:16:56 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Mar 28 10:17:44 2021 + 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 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"
[gentoo-commits] repo/proj/guru:dev commit in: media-sound/pianobooster/
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/
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 +}