summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-22 06:22:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-22 06:22:49 +0000
commite33b47ac3d0c35fef0c59746a011406ddf5e5d06 (patch)
treefded25dc0ff4bada5b105b7a68e6bd95a9a0d7c7 /media-sound/milkytracker
parentold (diff)
downloadgentoo-2-e33b47ac3d0c35fef0c59746a011406ddf5e5d06.tar.gz
gentoo-2-e33b47ac3d0c35fef0c59746a011406ddf5e5d06.tar.bz2
gentoo-2-e33b47ac3d0c35fef0c59746a011406ddf5e5d06.zip
Use system zlib wrt #251229.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/milkytracker')
-rw-r--r--media-sound/milkytracker/ChangeLog9
-rw-r--r--media-sound/milkytracker/files/milkytracker-0.90.80-external_zlib.patch23
-rw-r--r--media-sound/milkytracker/milkytracker-0.90.80.ebuild9
3 files changed, 37 insertions, 4 deletions
diff --git a/media-sound/milkytracker/ChangeLog b/media-sound/milkytracker/ChangeLog
index dd0c90a9a882..bd29fe5062b8 100644
--- a/media-sound/milkytracker/ChangeLog
+++ b/media-sound/milkytracker/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/milkytracker
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/ChangeLog,v 1.1 2008/06/29 11:25:35 drac Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/ChangeLog,v 1.2 2009/07/22 06:22:49 ssuominen Exp $
+
+ 22 Jul 2009; Samuli Suominen <ssuominen@gentoo.org>
+ milkytracker-0.90.80.ebuild,
+ +files/milkytracker-0.90.80-external_zlib.patch:
+ Use system zlib wrt #251229.
*milkytracker-0.90.80 (29 Jun 2008)
diff --git a/media-sound/milkytracker/files/milkytracker-0.90.80-external_zlib.patch b/media-sound/milkytracker/files/milkytracker-0.90.80-external_zlib.patch
new file mode 100644
index 000000000000..73f79430f751
--- /dev/null
+++ b/media-sound/milkytracker/files/milkytracker-0.90.80-external_zlib.patch
@@ -0,0 +1,23 @@
+diff -ur milkytracker-0.90.80.orig/src/compression/Makefile.am milkytracker-0.90.80/src/compression/Makefile.am
+--- milkytracker-0.90.80.orig/src/compression/Makefile.am 2008-01-25 00:44:27.000000000 +0200
++++ milkytracker-0.90.80/src/compression/Makefile.am 2009-07-22 09:17:49.000000000 +0300
+@@ -1,5 +1,5 @@
+ noinst_LIBRARIES = libcompression.a
+-libcompression_a_SOURCES = zlib/generic/adler32.cpp zlib/generic/compress.cpp zlib/generic/deflate.cpp zlib/generic/infback.cpp zlib/generic/inffast.cpp zlib/generic/inflate.cpp zlib/generic/inftrees.cpp zlib/generic/uncompr.cpp zlib/generic/crc32.cpp zlib/generic/trees.cpp zlib/generic/zutil.cpp zziplib/generic/dir.cpp zziplib/generic/err.cpp zziplib/generic/fetch.cpp zziplib/generic/file.cpp zziplib/generic/fseeko.cpp zziplib/generic/info.cpp zziplib/generic/plugin.cpp zziplib/generic/stat.cpp zziplib/generic/zip.cpp zziplib/MyIO.cpp PP20.cpp ZipExtractor.cpp
++libcompression_a_SOURCES = zziplib/generic/dir.cpp zziplib/generic/err.cpp zziplib/generic/fetch.cpp zziplib/generic/file.cpp zziplib/generic/fseeko.cpp zziplib/generic/info.cpp zziplib/generic/plugin.cpp zziplib/generic/stat.cpp zziplib/generic/zip.cpp zziplib/MyIO.cpp PP20.cpp ZipExtractor.cpp
+ noinst_HEADERS = zlib/generic/crc32.h zlib/generic/deflate.h zlib/generic/inffast.h zlib/generic/inffixed.h zlib/generic/inflate.h zlib/generic/inftrees.h zlib/generic/trees.h zlib/generic/zconf.h zlib/generic/zlib.h zlib/generic/zutil.h zziplib/generic/zzip.h zziplib/generic/zzip___debug.h zziplib/generic/zzip___dirent.h zziplib/generic/zzip___fnmatch.h zziplib/generic/zzip___hints.h zziplib/generic/zzip___mmap.h zziplib/generic/zzip__config.h zziplib/generic/zzip__msvc.h zziplib/generic/zzip_autoconf.h zziplib/generic/zzip_conf.h zziplib/generic/zzip_fetch.h zziplib/generic/zzip_file.h zziplib/generic/zzip_format.h zziplib/generic/zzip_fseeko.h zziplib/generic/zzip_info.h zziplib/generic/zzip_lib.h zziplib/generic/zzip_plugin.h zziplib/generic/zzip_stdint.h zziplib/generic/zzip_types.h zziplib/MyIO.h PP20.h ZipExtractor.h
+-INCLUDES = -I$(top_srcdir)/src/milkyplay -I$(top_srcdir)/src/ppui -I$(top_srcdir)/src/ppui/osinterface/posix/ -I$(top_srcdir)/src/compression/zziplib -I$(top_srcdir)/src/compression/zziplib/generic -I$(top_srcdir)/src/compression/zlib/generic
++INCLUDES = -I$(top_srcdir)/src/milkyplay -I$(top_srcdir)/src/ppui -I$(top_srcdir)/src/ppui/osinterface/posix/ -I$(top_srcdir)/src/compression/zziplib -I$(top_srcdir)/src/compression/zziplib/generic
+ #INCLUDES = -I../ppui -I../ppui/osinterface -I../ppui/osinterface/posix
+diff -ur milkytracker-0.90.80.orig/src/tracker/Makefile.am milkytracker-0.90.80/src/tracker/Makefile.am
+--- milkytracker-0.90.80.orig/src/tracker/Makefile.am 2008-04-13 01:45:11.000000000 +0300
++++ milkytracker-0.90.80/src/tracker/Makefile.am 2009-07-22 09:19:24.000000000 +0300
+@@ -7,5 +7,5 @@
+ -I$(top_srcdir)/src/tracker -I$(top_srcdir)/src/midi/posix -I../midi/rtmidi \
+ -I$(top_srcdir)/src/ppui/osinterface -I$(top_srcdir)/src/ppui/osinterface/sdl \
+ -I$(top_srcdir)/src/ppui/osinterface/posix -I$(top_srcdir)/src/ppui/sdl -Isdl
+-milkytracker_LDADD = $(top_builddir)/src/milkyplay/libmilkyplay.a $(top_builddir)/src/ppui/osinterface/libosinterface.a $(top_builddir)/src/ppui/libppui.a $(top_builddir)/src/ppui/osinterface/libosinterface.a $(top_builddir)/src/fx/libfx.a $(top_builddir)/src/compression/libcompression.a $(RTMIDI) $(SDL_LIBS)
+-DIST_EXTRA = carbon/Carbon_Definitions.h carbon/Carbon_main.cpp carbon/InfoPlist.strings carbon/KeyTranslation.cpp carbon/KeyTranslation.h carbon/PreferencesDialog.cpp carbon/PreferencesDialog.h carbon/iGetKeys.cpp carbon/iGetKeys.h win32/PreferencesDialog.cpp win32/PreferencesDialog.h win32/ThreadTimer.cpp win32/ThreadTimer.h win32/Win32_main.cpp win32/Win32_resource.h win32/Win32_resources.rc wince/ButtonMapper.cpp wince/ButtonMapper.h wince/VirtualKeyToScanCodeTable.cpp wince/VirtualKeyToScanCodeTable.h wince/WaitStateThread.cpp wince/WaitStateThread.h wince/WinCE_NEWRES.H wince/WinCE_ThreadTimer.cpp wince/WinCE_ThreadTimer.h wince/WinCE_main.cpp wince/WinCE_main.h wince/WinCE_resource.h
+\ No newline at end of file
++milkytracker_LDADD = -lz $(top_builddir)/src/milkyplay/libmilkyplay.a $(top_builddir)/src/ppui/osinterface/libosinterface.a $(top_builddir)/src/ppui/libppui.a $(top_builddir)/src/ppui/osinterface/libosinterface.a $(top_builddir)/src/fx/libfx.a $(top_builddir)/src/compression/libcompression.a $(RTMIDI) $(SDL_LIBS)
++DIST_EXTRA = carbon/Carbon_Definitions.h carbon/Carbon_main.cpp carbon/InfoPlist.strings carbon/KeyTranslation.cpp carbon/KeyTranslation.h carbon/PreferencesDialog.cpp carbon/PreferencesDialog.h carbon/iGetKeys.cpp carbon/iGetKeys.h win32/PreferencesDialog.cpp win32/PreferencesDialog.h win32/ThreadTimer.cpp win32/ThreadTimer.h win32/Win32_main.cpp win32/Win32_resource.h win32/Win32_resources.rc wince/ButtonMapper.cpp wince/ButtonMapper.h wince/VirtualKeyToScanCodeTable.cpp wince/VirtualKeyToScanCodeTable.h wince/WaitStateThread.cpp wince/WaitStateThread.h wince/WinCE_NEWRES.H wince/WinCE_ThreadTimer.cpp wince/WinCE_ThreadTimer.h wince/WinCE_main.cpp wince/WinCE_main.h wince/WinCE_resource.h
diff --git a/media-sound/milkytracker/milkytracker-0.90.80.ebuild b/media-sound/milkytracker/milkytracker-0.90.80.ebuild
index 80a923b79fc3..a57049e13041 100644
--- a/media-sound/milkytracker/milkytracker-0.90.80.ebuild
+++ b/media-sound/milkytracker/milkytracker-0.90.80.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/milkytracker-0.90.80.ebuild,v 1.5 2009/06/05 09:59:05 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/milkytracker/milkytracker-0.90.80.ebuild,v 1.6 2009/07/22 06:22:49 ssuominen Exp $
EAPI=2
-inherit eutils
+inherit autotools eutils
DESCRIPTION="FastTracker 2 inspired music tracker"
HOMEPAGE="http://www.milkytracker.net/"
@@ -19,6 +19,11 @@ RDEPEND=">=media-libs/libsdl-1.2
jack? ( media-sound/jack-audio-connection-kit )"
DEPEND="${RDEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-external_zlib.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-dependency-tracking \