# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 inherit eutils DESCRIPTION="Audacious Plug-in for mplayer" HOMEPAGE="https://github.com/tripolar/audacious-mplayer" SRC_URI="https://github.com/tripolar/audacious-mplayer/tarball/v0.9.1 -> ${PN}-${PV}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND=">=media-sound/audacious-2.5 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 } src_install() { make DESTDIR="${D}" install || die dodoc README }