diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-31 14:41:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-31 14:41:14 +0000 |
commit | 4377ff671b55eced18fb6bf7b29e4f96106e4ac0 (patch) | |
tree | cd6a0686df6b1bc54222a5e7620d89251335a010 /media-sound | |
parent | Version bump: 2.3.5 is released. Bug #340113 (diff) | |
download | gentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.tar.gz gentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.tar.bz2 gentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.zip |
Version bump wrt #301891 by "hiyuh" and Kim Nilsson.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/milkytracker/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch | 46 | ||||
-rw-r--r-- | media-sound/milkytracker/milkytracker-0.90.85.ebuild | 45 |
3 files changed, 98 insertions, 1 deletions
diff --git a/media-sound/milkytracker/ChangeLog b/media-sound/milkytracker/ChangeLog index 2d12125640de..763018c32dc9 100644 --- a/media-sound/milkytracker/ChangeLog +++ b/media-sound/milkytracker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/milkytracker # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/ChangeLog,v 1.4 2010/08/09 07:05:50 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/ChangeLog,v 1.5 2010/10/31 14:41:14 ssuominen Exp $ + +*milkytracker-0.90.85 (31 Oct 2010) + + 31 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> + +milkytracker-0.90.85.ebuild, +files/milkytracker-0.90.85-64bit.patch: + Version bump wrt #301891 by "hiyuh" and Kim Nilsson. 09 Aug 2010; Christian Faulhammer <fauli@gentoo.org> milkytracker-0.90.80.ebuild: diff --git a/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch b/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch new file mode 100644 index 000000000000..971d9a8efbaf --- /dev/null +++ b/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch @@ -0,0 +1,46 @@ +http://bugs.gentoo.org/301891 + +--- src/tracker/sdl/SDL_Main.cpp ++++ src/tracker/sdl/SDL_Main.cpp +@@ -751,8 +751,8 @@ + case SDLUserEventLMouseRepeat: + { + PPPoint p; +- p.x = (pp_int32)event.data1; +- p.y = (pp_int32)event.data2; ++ p.x = reinterpret_cast<intptr_t> (event.data1); ++ p.y = reinterpret_cast<intptr_t> (event.data2); + PPEvent myEvent(eLMouseRepeat, &p, sizeof(PPPoint)); + RaiseEventSerialized(&myEvent); + break; +@@ -761,8 +761,8 @@ + case SDLUserEventRMouseRepeat: + { + PPPoint p; +- p.x = (pp_int32)event.data1; +- p.y = (pp_int32)event.data2; ++ p.x = reinterpret_cast<intptr_t> (event.data1); ++ p.y = reinterpret_cast<intptr_t> (event.data2); + PPEvent myEvent(eRMouseRepeat, &p, sizeof(PPPoint)); + RaiseEventSerialized(&myEvent); + break; +@@ -770,8 +770,8 @@ + + case SDLUserEventMidiKeyDown: + { +- pp_int32 note = (pp_int32)event.data1; +- pp_int32 volume = (pp_int32)event.data2; ++ pp_int32 note = reinterpret_cast<intptr_t> (event.data1); ++ pp_int32 volume = reinterpret_cast<intptr_t> (event.data2); + globalMutex->lock(); + myTracker->sendNoteDown(note, volume); + globalMutex->unlock(); +@@ -780,7 +780,7 @@ + + case SDLUserEventMidiKeyUp: + { +- pp_int32 note = (pp_int32)event.data1; ++ pp_int32 note = reinterpret_cast<intptr_t> (event.data1); + globalMutex->lock(); + myTracker->sendNoteUp(note); + globalMutex->unlock(); diff --git a/media-sound/milkytracker/milkytracker-0.90.85.ebuild b/media-sound/milkytracker/milkytracker-0.90.85.ebuild new file mode 100644 index 000000000000..0bb450457c21 --- /dev/null +++ b/media-sound/milkytracker/milkytracker-0.90.85.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/milkytracker-0.90.85.ebuild,v 1.1 2010/10/31 14:41:14 ssuominen Exp $ + +EAPI=2 +inherit autotools eutils + +DESCRIPTION="FastTracker 2 inspired music tracker" +HOMEPAGE="http://www.milkytracker.net/" +SRC_URI="http://www.milkytracker.net/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack" + +RDEPEND=">=media-libs/libsdl-1.2 + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -i -e '/PKG_CHECK_MODULES([ZZIP]/d' configure.in || die + epatch "${FILESDIR}"/${P}-64bit.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-dependency-tracking \ + $(use_with alsa) \ + $(use_with jack) +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS docs/readme_unix + dohtml docs/{ChangeLog,FAQ,MilkyTracker}.html + + newicon resources/pictures/carton.png ${PN}.png + make_desktop_entry ${PN} MilkyTracker ${PN} \ + "AudioVideo;Audio;Sequencer" +} |