You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
1.7 KiB
66 lines
1.7 KiB
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/rox-extra/musicbox/musicbox-027-r2.ebuild,v 1.4 2008/07/14 14:51:41 lack Exp $
|
|
|
|
ROX_LIB_VER=2.0.0
|
|
inherit rox eutils
|
|
|
|
APPNAME=MusicBox
|
|
DESCRIPTION="MusicBox - an MP3/OGG Player for the ROX Desktop"
|
|
HOMEPAGE="http://code.google.com/p/rox-musicbox/"
|
|
SRC_URI="http://rox-musicbox.googlecode.com/files/${APPNAME}-${PV}.tgz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="x86"
|
|
IUSE="mp3 vorbis alsa"
|
|
|
|
# NOTE: flac support is removed because it requires 1.1.2, and 1.1.3 is now
|
|
# being unmasked. See bug 181864 for more info.
|
|
|
|
DEPEND="
|
|
>=dev-python/pyao-0.81
|
|
alsa? ( >=dev-python/pyalsaaudio-0.2 )
|
|
mp3? (
|
|
>=dev-python/pymad-0.4.1
|
|
>=dev-python/pyid3lib-0.5.1 )
|
|
vorbis? ( >=dev-python/pyvorbis-1.1 )"
|
|
# flac? (
|
|
# ~media-libs/flac-1.1.2
|
|
# >=dev-lang/swig-1.3.25 )"
|
|
|
|
RDEPEND="
|
|
>=dev-python/pyao-0.81
|
|
alsa? ( >=dev-python/pyalsaaudio-0.2 )
|
|
mp3? (
|
|
>=dev-python/pymad-0.4.1
|
|
>=dev-python/pyid3lib-0.5.1 )
|
|
vorbis? ( >=dev-python/pyvorbis-1.1 )"
|
|
# flac? ( ~media-libs/flac-1.1.2 )"
|
|
|
|
APPCATEGORY="AudioVideo;Audio;Player"
|
|
S=${WORKDIR}
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
# if use flac; then
|
|
# if ! built_with_use dev-lang/swig python; then
|
|
# einfo "MusicBox flac support requires swig with python support."
|
|
# einfo "Please rebuild swig with USE=\"python\"."
|
|
# die "swig python support missing"
|
|
# fi
|
|
# epatch ${FILESDIR}/${P}-fPIC.patch
|
|
# fi
|
|
epatch "${FILESDIR}/${P}-mime.patch"
|
|
}
|
|
|
|
# Special compilation needed for flac support
|
|
src_compile() {
|
|
# if use flac; then
|
|
# cd "${S}/${APPNAME}/plugins/flac"
|
|
# make || die "flac plugin compile failed."
|
|
# fi
|
|
rox_src_compile
|
|
}
|