| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmauda/wmauda-0.8.ebuild,v 1.1 2012/02/13 22:37:05 voyageur Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils toolchain-funcs
|
| 7 |
|
| 8 |
DESCRIPTION="Dockable applet for WindowMaker that controls Audacious."
|
| 9 |
HOMEPAGE="http://www.netswarm.net"
|
| 10 |
SRC_URI="http://www.netswarm.net/misc/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-2"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND="dev-libs/dbus-glib
|
| 18 |
x11-libs/libX11
|
| 19 |
x11-libs/gtk+:2
|
| 20 |
>=media-sound/audacious-1.5"
|
| 21 |
DEPEND="${RDEPEND}
|
| 22 |
x11-proto/xproto
|
| 23 |
virtual/pkgconfig"
|
| 24 |
|
| 25 |
src_prepare() {
|
| 26 |
epatch "${FILESDIR}"/${P}-asneeded.patch
|
| 27 |
}
|
| 28 |
|
| 29 |
src_compile() {
|
| 30 |
tc-export CC
|
| 31 |
emake
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install () {
|
| 35 |
emake DESTDIR="${D}" PREFIX="/usr" install
|
| 36 |
dodoc AUTHORS README
|
| 37 |
}
|