--- /dev/null
+--- SConstruct.old 2005-10-11 19:26:26.000000000 +0900
++++ SConstruct 2005-10-11 19:28:03.000000000 +0900
+@@ -391,7 +391,7 @@
+
+ conf = Configure(env)
+
+-if conf.CheckCHeader('alsa/asoundlib.h'):
++if conf.CheckCHeader('alsa/asoundlib.h', "<>"):
+ libraries['sysmidi'] = LibraryInfo (LIBS='asound')
+ env['SYSMIDI'] = 'ALSA Sequencer'
+ subst_dict['%MIDITAG%'] = "seq"
+@@ -623,7 +623,7 @@
+ print 'This system is not configured for internationalized applications (no xgettext command). An english-only version will be built\n'
+ env['NLS'] = 0
+
+- if conf.CheckCHeader('libintl.h') == None:
++ if conf.CheckCHeader('libintl.h', "<>") == None:
+ print 'This system is not configured for internationalized applications (no libintl.h). An english-only version will be built\n'
+ env['NLS'] = 0
+
--- /dev/null
+MD5 428421e494d867c40978a329437dc88c castpodder-3.2.ebuild 1395
+MD5 f45d9e87c39cf192645901ef379894ba files/castpodder-3.2-wxversion.patch 422
+MD5 8ece1f1df5d2f2b3e2b2f7b4aa312887 files/digest-castpodder-3.2 67
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/castpodder/castpodder-3.2.ebuild,v 1.1.1.1 2005/11/30 09:38:11 chriswhite Exp $
+
+inherit eutils
+
+MY_PV="${PV/_/-}"
+MY_PN="${PN/castpodder/CastPodder}"
+MY_P="${MY_PN}-${MY_PV}"
+S="${WORKDIR}/${PN}"
+
+DESCRIPTION="A cross-platform Podcast receiver, based on iPodder"
+HOMEPAGE="http://www.castpodder.net/"
+SRC_URI="http://borgforge.net/frs/download.php/14/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-lang/python-2.3.0
+ >=dev-python/wxpython-2.6
+ >=dev-python/pyxmms-2.02
+ >=sys-libs/db-4.2.52_p2"
+
+useflag_test() {
+ built_with_use ${1} ${2} || die \
+"${1} must be emerged with the '${2}' USE flag enabled."
+}
+
+pkg_setup() {
+ useflag_test x11-libs/wxGTK unicode
+ useflag_test dev-python/wxpython unicode
+ useflag_test dev-lang/python berkdb
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}"/${P}-wxversion.patch
+}
+
+src_install() {
+ insinto /opt/CastPodder
+ # Doesn't work with doins -r * (this is done as in install.sh)
+ cp -R ${S}/* ${D}/opt/CastPodder/
+
+ # Fix perms
+ #fperms 644 /opt/CastPodder/ipodder/players.py
+
+ newbin ${S}/CastPodder.sh castpodder
+ insinto /usr/share/pixmaps
+ doins ${S}/CastPodder.png
+
+ make_desktop_entry "castpodder" "CastPodder" \
+ "CastPodder.png" "AudioVideo;Player"
+}
--- /dev/null
+diff -Nru --exclude='*.pyc' castpodder/CastPodderGui.py castpodder-patched/CastPodderGui.py
+--- castpodder/CastPodderGui.py 2005-10-07 20:23:09.000000000 +0200
++++ castpodder-patched/CastPodderGui.py 2005-11-11 22:47:42.000000000 +0100
+@@ -19,6 +19,8 @@
+ #Version check
+ CHECK_VERSION = 3.0
+
++import wxversion
++wxversion.ensureMinimal('2.6')
+ import wx
+ import wx.xrc as xrc
+ import wx.lib.filebrowsebutton as filebrowse
--- /dev/null
+MD5 f338816033baebb976892c2bd2ba9375 CastPodder-3.2.tar.bz2 715372
--- /dev/null
+--- erik_reload_module.py.old 2005-09-19 17:07:45.000000000 +0900
++++ erik_reload_module.py 2005-09-19 17:08:04.000000000 +0900
+@@ -70,6 +70,9 @@
+
+ fds = self.ipodder.feeds
+
++ import wxversion
++ wxversion.select("2.6-unicode")
++
+ import wx
+ count = 0
+ self.feedsdict = {}
+--- iPodderGui.py.old 2005-09-19 17:08:48.000000000 +0900
++++ iPodderGui.py 2005-09-19 17:08:54.000000000 +0900
+@@ -19,6 +19,9 @@
+ #Version check
+ CHECK_VERSION = 2.19
+
++import wxversion
++wxversion.select("2.6-unicode")
++
+ import wx
+ import wx.xrc as xrc
+ import wx.lib.filebrowsebutton as filebrowse
--- /dev/null
+MD5 163f0d9a5d783d370bd81e47e0e83d37 iPodder-linux-2.1.9.tar.bz2 1317876
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ipodder/ipodder-2.1.9.ebuild,v 1.1.1.1 2005/11/30 09:38:24 chriswhite Exp $
+
+inherit eutils
+
+MY_PV="${PV/_/-}"
+MY_PN="${PN/ipodder/iPodder-linux}"
+MY_P="${MY_PN}-${MY_PV}"
+S="${WORKDIR}/${MY_PN/-/_}"
+
+DESCRIPTION="A cross-platform Podcast receiver"
+HOMEPAGE="http://ipodder.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+DEPEND=">=dev-lang/python-2.4
+ dev-python/pygtk
+ >=dev-python/wxpython-2.6
+ >=dev-python/pyxmms-2.02
+ >=sys-libs/db-4.2.52_p2"
+
+useflag_test() {
+ built_with_use ${1} ${2} || die \
+"${1} must be emerged with the '${2}' USE flag enabled."
+}
+
+pkg_setup() {
+ useflag_test x11-libs/wxGTK unicode
+ useflag_test dev-python/wxpython unicode
+ useflag_test dev-lang/python berkdb
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch ${FILESDIR}/${PV}-wx26-selector.patch
+}
+
+src_install() {
+ insinto /opt/iPodder
+ doins -r *
+
+ # Fix perms
+ fperms 644 ${D}/opt/iPodder/ipodder/players.py
+
+ newbin ${S}/ipodder.sh ipodder
+ insinto /usr/share/pixmaps
+ doins ${S}/iPodder.png
+
+ make_desktop_entry "ipodder" "iPodder" \
+ "iPodder.png" "AudioVideo;Player"
+}
--- /dev/null
+MD5 f6c9d56a80eb8000cfe51997b27eb6ed moc-2.3.1.tar.bz2 403800
--- /dev/null
+--- configure.in.old 2005-08-02 05:30:23.000000000 +0900
++++ configure.in 2005-10-03 23:54:27.000000000 +0900
+@@ -76,19 +76,26 @@
+ [EXTRA_LIBS="$EXTRA_LIBS -lossaudio"])
+ fi
+
+-PKG_CHECK_MODULES(ALSA, [alsa >= 0.9],
+- [COMPILE_ALSA="yes"
+- EXTRA_OBJS="$EXTRA_OBJS alsa.o"
+- AC_DEFINE([HAVE_ALSA], 1, [Define if you have ALSA.])
+- EXTRA_LIBS="$EXTRA_LIBS $ALSA_LIBS"
+- CFLAGS="$CFLAGS $ALSA_CFLAGS"],
+- [COMPILE_ALSA="no"])
++AC_ARG_WITH(jack, AS_HELP_STRING(--without-jack, Compile without JACK support.))
++
++if test "$with_jack" != "xno"
++then
++ PKG_CHECK_MODULES([ALSA], [alsa >= 0.9],
++ [COMPILE_ALSA="yes"
++ EXTRA_OBJS="$EXTRA_OBJS alsa.o"
++ AC_DEFINE([HAVE_ALSA], 1, [Define if you have ALSA.])
++ EXTRA_LIBS="$EXTRA_LIBS $ALSA_LIBS"
++ CFLAGS="$CFLAGS $ALSA_CFLAGS"],
++ [COMPILE_ALSA="no"])
++else
++ COMPILE_ALSA="no"
++fi
+
+ AC_ARG_WITH(jack, AS_HELP_STRING(--without-jack, Compile without JACK support.))
+
+ if test "x$with_jack" != "xno"
+ then
+- PKG_CHECK_MODULES(JACK, [jack >= 0.4],
++ PKG_CHECK_MODULES([JACK], [jack >= 0.4],
+ [COMPILE_JACK="yes"
+ EXTRA_OBJS="$EXTRA_OBJS jack.o"
+ AC_DEFINE([HAVE_JACK], 1, [Define if you have JACK.])
+@@ -214,9 +221,8 @@
+ taglib_ver_minor=`echo "$taglib_ver" | awk -F. '{print $2}'`
+ taglib_ver_extra=`echo "$taglib_ver" | awk -F. '{print $3}'`
+
+- if test \( "$taglib_ver_major" = "1" -a "$taglib_ver_minor" -ge 4 \) \
+- -o \( "$taglib_ver_major" = "1" -a "$taglib_ver_minor" = "3" \
+- -a "$taglib_ver_extra" -ge 1 \)
++ if test \( "$taglib_ver_major" = "1" -a \
++ "$taglib_ver_minor" -ge 4 \)
+ then
+ AC_MSG_RESULT([$taglib_ver, OK])
+
+@@ -248,7 +254,7 @@
+ AC_ARG_WITH(ogg, AS_HELP_STRING(--without-ogg,Compile without OGG support.))
+ if test "x$with_ogg" != "xno"
+ then
+- PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
++ PKG_CHECK_MODULES([OGG_VORBIS], [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0],
+ [AC_SUBST(OGG_VORBIS_LIBS)
+ AC_SUBST(OGG_VORBIS_CFLAGS)
+ DECODER_PLUGINS="$DECODER_PLUGINS ogg"],
+@@ -269,7 +275,7 @@
+ Compile without libsndfile))
+ if test "x$with_sndfile" != "xno"
+ then
+- PKG_CHECK_MODULES(sndfile, sndfile >= 1.0.0,
++ PKG_CHECK_MODULES([sndfile], [sndfile >= 1.0.0],
+ [AC_SUBST(sndfile_LIBS)
+ AC_SUBST(sndfile_CFLAGS)
+ DECODER_PLUGINS="$DECODER_PLUGINS sndfile"],
+@@ -281,7 +287,7 @@
+ Compile without speex support))
+ if test "x$with_speex" != "xno"
+ then
+- PKG_CHECK_MODULES(speex, speex >= 1.0.0,
++ PKG_CHECK_MODULES([speex], [speex >= 1.0.0],
+ [AC_SUBST(speex_LIBS)
+ AC_SUBST(speex_CFLAGS)
+ DECODER_PLUGINS="$DECODER_PLUGINS speex"],
+@@ -294,7 +300,7 @@
+ COMPILE_SAMPLERATE="no"
+ if test "x$with_samplerate" != "xno"
+ then
+- PKG_CHECK_MODULES(samplerate, samplerate >= 0.1.0,
++ PKG_CHECK_MODULES([samplerate], [samplerate >= 0.1.0],
+ [EXTRA_LIBS="$EXTRA_LIBS $samplerate_LIBS"
+ CFLAGS="$CFLAGS $samplerate_CFLAGS"
+ AC_DEFINE([HAVE_SAMPLERATE], 1,
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-2.3.1.ebuild,v 1.1.1.1 2005/11/30 09:38:29 chriswhite Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Music On Console - ncurses interface for playing audio files"
+HOMEPAGE="http://moc.daper.net/"
+SRC_URI="ftp://ftp.daper.net/pub/soft/${PN}/stable/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="flac jack muse mad oss vorbis debug alsa speex libsamplerate curl sndfile muse"
+
+# libvorbis is pulled in so the USE flag is vorbis
+# since upstream apparently assumes ogg is an audio
+# codec
+DEPEND="media-libs/libao
+ sys-libs/ncurses
+ alsa? ( >=media-libs/alsa-lib-0.9 )
+ sndfile? ( >=media-libs/libsndfile-1.0.0 )
+ flac? ( media-libs/flac )
+ mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag )
+ muse? ( media-libs/libmpcdec >=media-libs/taglib-1.3 )
+ vorbis? ( >=media-libs/libvorbis-1.0 )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.4 )
+ speex? ( >=media-libs/speex-1.0.0 )
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.0 )
+ curl? ( >=net-misc/curl-7.12.0 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # big configure fixes
+ epatch ${FILESDIR}/${P}-configure.patch
+ AT_M4DIR="m4"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with flac) \
+ $(use_with mad mp3) \
+ $(use_with vorbis ogg) \
+ $(use_with oss) \
+ $(use_with alsa) \
+ $(use_with jack) \
+ $(use_with muse musepack) \
+ $(use_enable debug) \
+ $(use_with sndfile) \
+ $(use_with libsamplerate samplerate) \
+ || die "./configure failed"
+ emake || die "make failed"
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ einfo "The binary was renamed due to conflicts with moc"
+ einfo "from the QT project. Its new name is mocp."
+}