# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Note, this ebuild requires the updated rox.eclass file # see bug #106774 inherit eutils rox MY_PN="MusicBox" MUSICBOX_PATCH_FN="01_all_musicbox-023-svn-update.patch.bz2" DESCRIPTION="MusicBox - an MP3/OGG/FLAC/WAV Player for the ROX Desktop" HOMEPAGE="http://www.hayber.us/rox/MusicBox" SRC_URI="http://www.hayber.us/rox/musicbox/${MY_PN}-${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" IUSE="oggvorbis" DEPEND=">=x11-libs/gtk+-2.4.14 >=dev-libs/glib-2.6.0 >=dev-python/pygtk-2.4.1 >=media-libs/libao-0.8.5 >=dev-python/pyao-0.82 >=dev-python/pymad-0.4.1 >=media-libs/libmad-0.15.1 >=dev-python/pyid3lib-0.5.1 >=media-libs/id3lib-3.8.3 oggvorbis? ( >=dev-python/pyogg-1.3 >=dev-python/pyvorbis-1.3 >=media-libs/libvorbis-1.1 >=media-libs/libogg-1.1.2 ) >=media-libs/flac-1.1.0" ROX_LIB_VER=2.0.0 APPNAME=${MY_PN} S=${WORKDIR} # kludge to rename source directory so rox.eclass works! # added patch for svn updates and remove images/.png files src_unpack() { unpack ${A} mv ${APPNAME}-${PV} ${APPNAME} cd ${WORKDIR}/${APPNAME} epatch ${FILESDIR}/${MUSICBOX_PATCH_FN} rm -f images/*.png } pkg_postinst() { ewarn "NOTE! the ebuild name has changed for ${APPNAME} from the prior version" ewarn "you must manually unmerge \"music-box\" in order not to clean up" ewarn "FLAC support is included but does not work right now. See the README" ewarn "for information on its usage and compilation." }