blob: 92ee012143dc775ed0c1bd88e501ff01c6126bc4 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libvisual/libvisual-0.4.0-r1.ebuild,v 1.9 2014/08/10 21:10:43 slyfox Exp $
DESCRIPTION="Libvisual is an abstraction library that comes between applications and audio visualisation plugins"
HOMEPAGE="http://libvisual.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0.4"
KEYWORDS="amd64 ~mips ppc ppc64 x86 ~x86-fbsd"
IUSE="debug nls threads"
RDEPEND="threads? ( >=dev-libs/glib-2 )"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig"
src_compile() {
econf --enable-static --enable-shared \
$(use_enable nls) \
$(use_enable threads) \
$(use_enable debug)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
}
|