summaryrefslogtreecommitdiff
blob: 3bee09bad6ec93a7ca2c83c06054815d6491c105 (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
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)

EAPI="5"

inherit eutils java-pkg-2 prefix

DESCRIPTION="Plugins for javax.sound"
HOMEPAGE="http://icedtea.classpath.org"
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.xz"

LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc64 x86"

IUSE="+doc test"

COMMON_DEP="
	>=virtual/jdk-1.6.0
	>=media-sound/pulseaudio-0.9.11:="
RDEPEND="${COMMON_DEP}"
DEPEND="${COMMON_DEP}"

pkg_setup() {
	JAVA_PKG_WANT_SOURCE="1.6"
	JAVA_PKG_WANT_TARGET="1.6"

	java-pkg-2_pkg_setup
}

src_configure() {
	econf --with-jdk-home="${JAVA_HOME}" \
		$(use_enable doc docs) \
		--htmldir="${EROOT}usr/share/doc/${PF}/html"
}

src_compile() {
	default
}