* [gentoo-commits] repo/gentoo:master commit in: media-sound/pianobooster/files/, media-sound/pianobooster/
@ 2017-04-30 22:07 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-04-30 22:07 UTC (permalink / raw
To: gentoo-commits
commit: 9ce1585f068305ff2825bc479320d5735cfb47a2
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 22:00:06 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 22:07:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce1585f
media-sound/pianobooster: Port to EAPI 6
Package-Manager: Portage-2.3.5, Repoman-2.3.2
.../pianobooster/files/pianobooster-0.6.4b-cmake.patch | 4 ++--
.../pianobooster/files/pianobooster-0.6.4b-gcc47.patch | 4 ++--
.../files/pianobooster-0.6.4b-underlinking.patch | 4 ++--
media-sound/pianobooster/pianobooster-0.6.4b.ebuild | 13 ++++++-------
4 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch
index 8cdd8738e2b..6808c77d6e6 100644
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch
@@ -1,5 +1,5 @@
---- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig
-+++ pianobooster-src-0.6.4b/src/CMakeLists.txt
+--- a/CMakeLists.txt.orig
++++ b/CMakeLists.txt
@@ -2,12 +2,6 @@
# for the debug build type cmake -DCMAKE_BUILD_TYPE=Debug
SET(CMAKE_BUILD_TYPE Release)
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch
index 2b1b28c5a84..101809716d3 100644
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch
@@ -1,5 +1,5 @@
---- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig 2013-04-06 10:48:02.469532914 -0700
-+++ pianobooster-src-0.6.4b/src/CMakeLists.txt 2013-04-06 10:48:12.989532445 -0700
+--- a/CMakeLists.txt.orig 2013-04-06 10:48:02.469532914 -0700
++++ b/CMakeLists.txt 2013-04-06 10:48:12.989532445 -0700
@@ -203,8 +203,6 @@
${PIANOBOOSTER_UI_HDRS} )
ENDIF(WIN32)
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch
index 37720e534a3..c462ca016aa 100644
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch
@@ -2,8 +2,8 @@ Fix build failure caused by underlinking.
Gentoo-bug: 369697
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
@@ -57,6 +57,8 @@
#IF(ALSA_FOUND)
ADD_DEFINITIONS(-D__LINUX_ALSASEQ__)
diff --git a/media-sound/pianobooster/pianobooster-0.6.4b.ebuild b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild
index 5b72ba44adb..ca211b2aa50 100644
--- a/media-sound/pianobooster/pianobooster-0.6.4b.ebuild
+++ b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=6
inherit cmake-utils
MY_P=${PN}-src-${PV}
+
DESCRIPTION="A MIDI file player that teaches how to play the piano"
HOMEPAGE="http://pianobooster.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
@@ -23,20 +24,18 @@ DEPEND="fluidsynth? ( media-sound/fluidsynth )
dev-qt/qtopengl:4"
RDEPEND="${DEPEND}"
-DOCS="ReleaseNote.txt ../README.txt"
-
PATCHES=(
"${FILESDIR}"/${P}-cmake.patch
"${FILESDIR}"/${P}-gcc47.patch
"${FILESDIR}"/${P}-underlinking.patch
)
+DOCS=( ReleaseNote.txt ../README.txt )
S=${WORKDIR}/${MY_P}/src
src_configure() {
- mycmakeargs=(
- $(cmake-utils_use_use fluidsynth)
+ local mycmakeargs=(
+ -DUSE_FLUIDSYNTH=$(usex fluidsynth)
)
-
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-30 22:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-30 22:07 [gentoo-commits] repo/gentoo:master commit in: media-sound/pianobooster/files/, media-sound/pianobooster/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox