Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ x11-misc/i3status-9999-r1: use fork with optional pulseaudio depend…
…ency
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2011 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI="4" | ||
|
||
EGIT_REPO_URI="git://github.com/lexszero/i3status" | ||
|
||
inherit base multilib git-2 | ||
|
||
DESCRIPTION="Generates status bar to use with dzen2 or xmobar" | ||
HOMEPAGE="http://i3.zekjur.net/i3status/" | ||
SRC_URI="" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~x86 ~amd64" | ||
IUSE="+man pulseaudio" | ||
|
||
RDEPEND=" | ||
dev-libs/confuse | ||
net-wireless/wireless-tools | ||
media-libs/alsa-lib | ||
pulseaudio? ( media-sound/pulseaudio ) | ||
" | ||
DEPEND="${RDEPEND} | ||
man? ( | ||
>=app-text/asciidoc-8.3 | ||
app-text/xmlto | ||
) | ||
" | ||
src_prepare() { | ||
sed -i \ | ||
'\|/usr/share/man/|d' \ | ||
Makefile | ||
} | ||
|
||
src_compile() { | ||
emake WITH_PULSEAUDIO=$(use pulseaudio && echo yes || echo no) ${PN} | ||
use man && emake -C man | ||
} | ||
|
||
src_install() { | ||
emake DESTDIR="${D}" install | ||
use man && doman man/*.1 | ||
} |