---- 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\r
SET(CMAKE_BUILD_TYPE Release)\r
---- 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} )\r
ENDIF(WIN32)\r
-# 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"
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
}