summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-05-18 17:08:44 +0000
committerTim Harder <radhermit@gentoo.org>2011-05-18 17:08:44 +0000
commit318d1b2a778fe239447fb53026ab584c99c2925c (patch)
tree658a0eb189db11c9d282c63f651cc290f5b5be3e /media-sound/pianobooster
parentDon't try to apply non-existing patch wrt #367923 by Adrian Frith. (diff)
downloadhistorical-318d1b2a778fe239447fb53026ab584c99c2925c.tar.gz
historical-318d1b2a778fe239447fb53026ab584c99c2925c.tar.bz2
historical-318d1b2a778fe239447fb53026ab584c99c2925c.zip
Initial import. Ebuild based on work by Nao Nakashima (bug #316449).
Package-Manager: portage-2.2.0_alpha33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/pianobooster')
-rw-r--r--media-sound/pianobooster/ChangeLog10
-rw-r--r--media-sound/pianobooster/Manifest19
-rw-r--r--media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch44
-rw-r--r--media-sound/pianobooster/metadata.xml8
-rw-r--r--media-sound/pianobooster/pianobooster-0.6.4b.ebuild39
5 files changed, 120 insertions, 0 deletions
diff --git a/media-sound/pianobooster/ChangeLog b/media-sound/pianobooster/ChangeLog
new file mode 100644
index 000000000000..7b0b290fed6e
--- /dev/null
+++ b/media-sound/pianobooster/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-sound/pianobooster
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobooster/ChangeLog,v 1.1 2011/05/18 17:08:44 radhermit Exp $
+
+*pianobooster-0.6.4b (18 May 2011)
+
+ 18 May 2011; Tim Harder <radhermit@gentoo.org> +pianobooster-0.6.4b.ebuild,
+ +files/pianobooster-0.6.4b-cmake.patch, +metadata.xml:
+ Initial import. Ebuild based on work by Nao Nakashima (bug #316449).
+
diff --git a/media-sound/pianobooster/Manifest b/media-sound/pianobooster/Manifest
new file mode 100644
index 000000000000..7881df97de56
--- /dev/null
+++ b/media-sound/pianobooster/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pianobooster-0.6.4b-cmake.patch 1551 RMD160 af3f63a7822fb1a1318c4cce136e822df3a67e37 SHA1 f3297715aa11c1de30532d0508fe9c15ca0f831e SHA256 dc8269e13f243113e1046a765baa7f229965e9efb3d668324921f5adc2e23496
+DIST pianobooster-src-0.6.4b.tar.gz 166210 RMD160 c205d9a5c99dc3d4f307a673f54dd04d4976b8c8 SHA1 dacdb0a21df105e5576f2f3cf78e5765c92ca221 SHA256 65505369a597a8a812288ce963b007546a19c9dea26c0923a0ac2324c0559ef7
+EBUILD pianobooster-0.6.4b.ebuild 901 RMD160 169b2da3ed9157285508d022bdca9c8bccee9db5 SHA1 c7b09dedee5f0bb654bbb181857f17970b8ad1ab SHA256 f8916aeb4d49cb095d95d15bc22577d08ace66ac6a350a9386f29d2d57b5f1fe
+MISC ChangeLog 467 RMD160 870ab71fc1df0385397d439f08f8c2b7e40e79d2 SHA1 17f8add8ea1e73dd4ab7a867358d6ad4d8e7ba9b SHA256 9e4fb0cb254b38383589b0a290c72254785f3a19d4148c29a61e788bd426d354
+MISC metadata.xml 249 RMD160 6f82199c03b0e64506b1d2712fa0fda52f1a0b9f SHA1 aac2a22f29666511de4077bec46d41bdc56e0cb3 SHA256 f360c289386d1affbe586156b7437c05db0535399a11f912e9923043bd98c36e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQEcBAEBAgAGBQJN0/0mAAoJEEqz6FtPBkyjxtcH/0f3A7HauKkUm7n7abaT8TTB
+tn4yFqina3qermu0xM3LD3dNbnDuhIkcI/p2y/IQNUX1e75/91qvdnZcCahoJ2Ly
+t7sMrKHCa/2VRKcv4+x0eQsEq24rWd8YkCP+8/0+UbvNvag1JSYevg9mcsKK3Cav
+9u2rXsC8N+/tc5IAFnz8t6J3DlA5VwPgVG/hMyNCeiklBq78obDqbYlH3kePTXRA
+VaM24W2x/zZhQYyNz3i7f46dEAaOxzJUEFRyDz6TRn4f8XHZl+y6bEuyBJVRLjJU
+iUrzUeNiQ6GTDOKNc8UwI6k794CYlJpcajbPwZtQF0bv5Oo7jS4ZVJle5lMhv+E=
+=xKBl
+-----END PGP SIGNATURE-----
diff --git a/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch
new file mode 100644
index 000000000000..8cdd8738e2b3
--- /dev/null
+++ b/media-sound/pianobooster/files/pianobooster-0.6.4b-cmake.patch
@@ -0,0 +1,44 @@
+--- pianobooster-src-0.6.4b/src/CMakeLists.txt.orig
++++ pianobooster-src-0.6.4b/src/CMakeLists.txt
+@@ -2,12 +2,6 @@
+ # for the debug build type cmake -DCMAKE_BUILD_TYPE=Debug
+ SET(CMAKE_BUILD_TYPE Release)
+ SET(CMAKE_VERBOSE_MAKEFILE OFF)
+-SET(USE_FLUIDSYNTH OFF)
+-
+-# The inplace directory is mainly for windows builds
+-# SET(FLUIDSYNTH_INPLACE_DIR C:/download/misc/ljb/fluidsynth-1.0.9)
+-SET(FLUIDSYNTH_INPLACE_DIR /home/louis/build/fluidsynth-1.0.9)
+-
+
+ # Testing precompiled headers it does not work -- leave as OFF.
+ SET(USE_PCH OFF)
+@@ -78,18 +72,7 @@
+ ADD_DEFINITIONS(-DPB_USE_FLUIDSYNTH)
+ MESSAGE("Building using fluidsynth")
+ SET( PB_BASE_SRCS MidiDeviceFluidSynth.cpp )
+-
+- IF(FLUIDSYNTH_INPLACE_DIR)
+- INCLUDE_DIRECTORIES(${FLUIDSYNTH_INPLACE_DIR}/include/)
+- IF(WIN32)
+- LINK_LIBRARIES( ${FLUIDSYNTH_INPLACE_DIR}/src/.libs/libfluidsynth.dll.a)
+- ENDIF(WIN32)
+- IF(UNIX)
+- LINK_LIBRARIES(${FLUIDSYNTH_INPLACE_DIR}/src/.libs/libfluidsynth.so)
+- ENDIF(UNIX)
+- ELSEIF(FLUIDSYNTH_INPLACE_DIR)
+- LINK_LIBRARIES( fluidsynth)
+- ENDIF(FLUIDSYNTH_INPLACE_DIR)
++ LINK_LIBRARIES(fluidsynth)
+ ENDIF(USE_FLUIDSYNTH)
+
+
+@@ -214,8 +197,6 @@
+ INSTALL(TARGETS pianobooster RUNTIME DESTINATION bin)
+ #INSTALL( index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kmidimon )
+
+-INSTALL( FILES ../README.txt DESTINATION share/doc/pianobooster )
+-
+ INSTALL ( FILES images/pianobooster.png DESTINATION share/pixmaps )
+
+
diff --git a/media-sound/pianobooster/metadata.xml b/media-sound/pianobooster/metadata.xml
new file mode 100644
index 000000000000..69a97e974adb
--- /dev/null
+++ b/media-sound/pianobooster/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <use>
+ <flag name="fluidsynth">Enable Fluidsynth MIDI software synthesis</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/pianobooster/pianobooster-0.6.4b.ebuild b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild
new file mode 100644
index 000000000000..dd1976fbbf33
--- /dev/null
+++ b/media-sound/pianobooster/pianobooster-0.6.4b.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pianobooster/pianobooster-0.6.4b.ebuild,v 1.1 2011/05/18 17:08:44 radhermit Exp $
+
+EAPI="4"
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fluidsynth"
+
+DEPEND="fluidsynth? ( media-sound/fluidsynth )
+ media-libs/alsa-lib
+ virtual/opengl
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4"
+RDEPEND="${DEPEND}"
+
+DOCS="ReleaseNote.txt ../README.txt"
+
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
+S=${WORKDIR}/${MY_P}/src
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_use fluidsynth)
+ )
+
+ cmake-utils_src_configure
+}