summaryrefslogtreecommitdiff
blob: 473087da14084219fd582672d9a31b54a3bd0bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit gkrellm-plugin

DESCRIPTION="A plugin for GKrellM2 that has a VU meter and a sound chart"
HOMEPAGE="http://members.dslextreme.com/users/billw/gkrellmss/gkrellmss.html"
SRC_URI="http://web.wt.net/~billw/gkrellmss/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~sparc x86"
IUSE="nls"

RDEPEND="
	app-admin/gkrellm:2[X]
	media-libs/alsa-lib
	sci-libs/fftw:3.0="
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}"/${P}-Respect-LDFLAGS.patch )

PLUGIN_SO=( src/gkrellmss$(get_modname) )
PLUGIN_DOCS=( Themes )

src_compile() {
	addpredict /dev/snd
	emake enable_nls=$(usex nls 1 0)
}