# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 inherit eutils DESCRIPTION="Mplayer Plug-in for Audacious" HOMEPAGE="https://github.com/tripolar/audacious-mplayer" SRC_URI="https://github.com/tripolar/audacious-mplayer/tarball/v1.0 -> ${PN}-${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=media-sound/audacious-3.0 media-video/mplayer" DEPEND="dev-util/pkgconfig ${RDEPEND}" src_unpack() { unpack ${A} if [[ ! -d ${S} ]]; then cd "${WORKDIR}"/*${PN}* || die "failed to enter work directory" S="$(pwd)" einfo "Setting WORKDIR to ${S}" fi cd "${S}" } src_install() { make DESTDIR="${D}" install || die dodoc README }