Lines 19-37
Link Here
|
19 |
COMMON_DEPEND=" |
19 |
COMMON_DEPEND=" |
20 |
xml? ( dev-libs/libxml2 ) |
20 |
xml? ( dev-libs/libxml2 ) |
21 |
" |
21 |
" |
|
|
22 |
JDK_DEPEND=" |
23 |
|| ( |
24 |
dev-java/icedtea-bin:7 |
25 |
dev-java/icedtea-bin:6 |
26 |
dev-java/icedtea:7 |
27 |
dev-java/icedtea:6 |
28 |
) |
29 |
" |
30 |
|
22 |
RDEPEND=" |
31 |
RDEPEND=" |
23 |
${COMMON_DEPEND} |
32 |
${COMMON_DEPEND} |
24 |
aacs? ( media-libs/libaacs ) |
33 |
aacs? ( media-libs/libaacs ) |
25 |
java? ( |
34 |
java? ( |
26 |
truetype? ( media-libs/freetype:2 ) |
35 |
truetype? ( media-libs/freetype:2 ) |
27 |
>=virtual/jre-1.6 |
36 |
${JDK_DEPEND} |
28 |
) |
37 |
) |
29 |
" |
38 |
" |
30 |
DEPEND=" |
39 |
DEPEND=" |
31 |
${COMMON_DEPEND} |
40 |
${COMMON_DEPEND} |
32 |
java? ( |
41 |
java? ( |
33 |
truetype? ( media-libs/freetype:2 ) |
42 |
truetype? ( media-libs/freetype:2 ) |
34 |
>=virtual/jdk-1.6 |
43 |
${JDK_DEPEND} |
35 |
dev-java/ant-core |
44 |
dev-java/ant-core |
36 |
) |
45 |
) |
37 |
virtual/pkgconfig |
46 |
virtual/pkgconfig |
Lines 40-45
Link Here
|
40 |
|
49 |
|
41 |
DOCS=( ChangeLog README.txt ) |
50 |
DOCS=( ChangeLog README.txt ) |
42 |
|
51 |
|
|
|
52 |
pkg_setup() { |
53 |
JAVA_PKG_WANT_BUILD_VM=" |
54 |
icedtea-7 icedtea-bin-7 icedtea7 |
55 |
icedtea-6 icedtea-bin-6 icedtea6 icedtea6-bin" |
56 |
JAVA_PKG_WANT_SOURCE="1.6" |
57 |
JAVA_PKG_WANT_TARGET="1.6" |
58 |
|
59 |
java-pkg-opt-2_pkg_setup |
60 |
} |
61 |
|
43 |
src_prepare() { |
62 |
src_prepare() { |
44 |
if use java ; then |
63 |
if use java ; then |
45 |
export JDK_HOME="$(java-config -g JAVA_HOME)" |
64 |
export JDK_HOME="$(java-config -g JAVA_HOME)" |