Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 144967 | Differences between
and this patch

Collapse All | Expand All

(-)tuxguitar-1.0-r1.ebuild.old (-10 / +4 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: $
3
# $Header: $
4
4
5
EAPI=1
5
EAPI=2
6
JAVA_PKG_IUSE="source"
6
JAVA_PKG_IUSE="source"
7
7
8
inherit eutils java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic fdo-mime gnome2-utils
8
inherit eutils java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic fdo-mime gnome2-utils
Lines 17-30 Link Here
17
17
18
KEYWORDS="~amd64 ~x86"
18
KEYWORDS="~amd64 ~x86"
19
19
20
CDEPEND=">=dev-java/swt-3.4
20
CDEPEND=">=dev-java/swt-3.4[cairo]
21
	alsa? ( media-libs/alsa-lib )
22
	fluidsynth? ( media-sound/fluidsynth )
21
	fluidsynth? ( media-sound/fluidsynth )
23
	pdf? ( dev-java/itext:0 )"
22
	pdf? ( dev-java/itext:0 )"
24
23
25
RDEPEND=">=virtual/jre-1.6
24
RDEPEND=">=virtual/jre-1.6
26
	alsa? ( media-sound/timidity++ )
25
	alsa? ( media-sound/timidity++[alsa] )
27
	oss? ( media-sound/timidity++ )
26
	oss? ( media-sound/timidity++[oss] )
28
	${CDEPEND}"
27
	${CDEPEND}"
29
28
30
DEPEND=">=virtual/jdk-1.6
29
DEPEND=">=virtual/jdk-1.6
Lines 33-47 Link Here
33
S="${WORKDIR}/${MY_P}"
32
S="${WORKDIR}/${MY_P}"
34
33
35
pkg_setup() {
34
pkg_setup() {
36
	if ! built_with_use 'dev-java/swt' 'cairo'; then
37
		eerror "You must build dev-java/swt with cairo support"
38
		die "dev-java/swt built without cairo"
39
	fi
40
	java-pkg-2_pkg_setup
35
	java-pkg-2_pkg_setup
41
}
36
}
42
37
43
src_unpack() {
38
src_unpack() {
44
 
45
	unpack ${A}
39
	unpack ${A}
46
	cd "${S}/TuxGuitar/lib"
40
	cd "${S}/TuxGuitar/lib"
47
	java-pkg_jar-from swt-3.4
41
	java-pkg_jar-from swt-3.4

Return to bug 144967