1 |
commit: 9ce1585f068305ff2825bc479320d5735cfb47a2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 30 22:00:06 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 30 22:07:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce1585f |
7 |
|
8 |
media-sound/pianobooster: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
.../pianobooster/files/pianobooster-0.6.4b-cmake.patch | 4 ++-- |
13 |
.../pianobooster/files/pianobooster-0.6.4b-gcc47.patch | 4 ++-- |
14 |
.../files/pianobooster-0.6.4b-underlinking.patch | 4 ++-- |
15 |
media-sound/pianobooster/pianobooster-0.6.4b.ebuild | 13 ++++++------- |
16 |
4 files changed, 12 insertions(+), 13 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch |
19 |
index 8cdd8738e2b..6808c77d6e6 100644 |
20 |
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch |
21 |
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch |
22 |
@@ -1,5 +1,5 @@ |
23 |
---- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig |
24 |
-+++ pianobooster-src-0.6.4b/src/CMakeLists.txt |
25 |
+--- a/CMakeLists.txt.orig |
26 |
++++ b/CMakeLists.txt |
27 |
@@ -2,12 +2,6 @@ |
28 |
# for the debug build type cmake -DCMAKE_BUILD_TYPE=Debug |
29 |
SET(CMAKE_BUILD_TYPE Release) |
30 |
|
31 |
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch |
32 |
index 2b1b28c5a84..101809716d3 100644 |
33 |
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch |
34 |
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-gcc47.patch |
35 |
@@ -1,5 +1,5 @@ |
36 |
---- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig 2013-04-06 10:48:02.469532914 -0700 |
37 |
-+++ pianobooster-src-0.6.4b/src/CMakeLists.txt 2013-04-06 10:48:12.989532445 -0700 |
38 |
+--- a/CMakeLists.txt.orig 2013-04-06 10:48:02.469532914 -0700 |
39 |
++++ b/CMakeLists.txt 2013-04-06 10:48:12.989532445 -0700 |
40 |
@@ -203,8 +203,6 @@ |
41 |
${PIANOBOOSTER_UI_HDRS} ) |
42 |
ENDIF(WIN32) |
43 |
|
44 |
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch |
45 |
index 37720e534a3..c462ca016aa 100644 |
46 |
--- a/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch |
47 |
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-underlinking.patch |
48 |
@@ -2,8 +2,8 @@ Fix build failure caused by underlinking. |
49 |
|
50 |
Gentoo-bug: 369697 |
51 |
|
52 |
---- a/src/CMakeLists.txt |
53 |
-+++ b/src/CMakeLists.txt |
54 |
+--- a/CMakeLists.txt |
55 |
++++ b/CMakeLists.txt |
56 |
@@ -57,6 +57,8 @@ |
57 |
#IF(ALSA_FOUND) |
58 |
ADD_DEFINITIONS(-D__LINUX_ALSASEQ__) |
59 |
|
60 |
diff --git a/media-sound/pianobooster/pianobooster-0.6.4b.ebuild b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild |
61 |
index 5b72ba44adb..ca211b2aa50 100644 |
62 |
--- a/media-sound/pianobooster/pianobooster-0.6.4b.ebuild |
63 |
+++ b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild |
64 |
@@ -1,11 +1,12 @@ |
65 |
-# Copyright 1999-2016 Gentoo Foundation |
66 |
+# Copyright 1999-2017 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
|
69 |
-EAPI="4" |
70 |
+EAPI=6 |
71 |
|
72 |
inherit cmake-utils |
73 |
|
74 |
MY_P=${PN}-src-${PV} |
75 |
+ |
76 |
DESCRIPTION="A MIDI file player that teaches how to play the piano" |
77 |
HOMEPAGE="http://pianobooster.sourceforge.net" |
78 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
79 |
@@ -23,20 +24,18 @@ DEPEND="fluidsynth? ( media-sound/fluidsynth ) |
80 |
dev-qt/qtopengl:4" |
81 |
RDEPEND="${DEPEND}" |
82 |
|
83 |
-DOCS="ReleaseNote.txt ../README.txt" |
84 |
- |
85 |
PATCHES=( |
86 |
"${FILESDIR}"/${P}-cmake.patch |
87 |
"${FILESDIR}"/${P}-gcc47.patch |
88 |
"${FILESDIR}"/${P}-underlinking.patch |
89 |
) |
90 |
+DOCS=( ReleaseNote.txt ../README.txt ) |
91 |
|
92 |
S=${WORKDIR}/${MY_P}/src |
93 |
|
94 |
src_configure() { |
95 |
- mycmakeargs=( |
96 |
- $(cmake-utils_use_use fluidsynth) |
97 |
+ local mycmakeargs=( |
98 |
+ -DUSE_FLUIDSYNTH=$(usex fluidsynth) |
99 |
) |
100 |
- |
101 |
cmake-utils_src_configure |
102 |
} |