summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2009-01-11 18:41:49 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2009-01-11 18:41:49 +0900
commitf7329880a53dcb5312858867bf7cf06157a60562 (patch)
tree5940a26d304ea954043a10723fc72e3835c736fc /media-gfx
parentVersion bumped. (diff)
downloadmatsuu-f7329880a53dcb5312858867bf7cf06157a60562.tar.gz
matsuu-f7329880a53dcb5312858867bf7cf06157a60562.tar.bz2
matsuu-f7329880a53dcb5312858867bf7cf06157a60562.zip
media-gfx/processing: fix dependency
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/processing/Manifest2
-rw-r--r--media-gfx/processing/processing-1.0.1.ebuild27
2 files changed, 17 insertions, 12 deletions
diff --git a/media-gfx/processing/Manifest b/media-gfx/processing/Manifest
index cf478a1..5da9a6a 100644
--- a/media-gfx/processing/Manifest
+++ b/media-gfx/processing/Manifest
@@ -1,2 +1,2 @@
DIST processing-1.0.1.tgz 68348142 RMD160 8dee869eb6d582f3edf4c0e8add6e34f1efe3f01 SHA1 0f45008f3bc42e3daa6fb836bcab46e1ecc31919 SHA256 b39290f145c4d32e0005c061cc90e2d44a00bb3943e82db90fe25f465cc26aad
-EBUILD processing-1.0.1.ebuild 1536 RMD160 a396b4936bdd712b56508a3c008728aceafedd89 SHA1 5420b8d0d237612fd251889ddf9bfeb8e561f2d4 SHA256 691bdd23d5b5a2a2aa7a7279ed1fd863d938e88094910b11b2395c2927ec26e9
+EBUILD processing-1.0.1.ebuild 1718 RMD160 8f35a8b37c5bdf821f531b51f7e4086b07c9f09b SHA1 93b064ac6196427bc3735ceb74f4def910162c34 SHA256 0c0476d03e8a3b71bed70487dd05462d5cb840cfbdc0a98c87cb37d7e835521e
diff --git a/media-gfx/processing/processing-1.0.1.ebuild b/media-gfx/processing/processing-1.0.1.ebuild
index 430ee2d..88a76fc 100644
--- a/media-gfx/processing/processing-1.0.1.ebuild
+++ b/media-gfx/processing/processing-1.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -15,18 +15,22 @@ IUSE=""
RESTRICT="strip"
-RDEPEND=">=virtual/jdk-1.5
+DEPEND=">=virtual/jdk-1.5
+ dev-java/antlr"
+# dev-java/jna
+RDEPEND="${DEPEND}
x11-misc/xdg-utils"
QA_EXECSTACK="usr/share/processing/libraries/serial/library/librxtxSerial.so"
-pkg_setup() {
- has_multilib_profile && ABI="x86"
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
+ rm -rf java || die
+
+ java-pkg_jar-from --into lib antlr
+ # java-pkg_jar-from --into lib ecj
+ # java-pkg_jar-from --into lib jna
sed -i -e '/^browser.linux/s:mozilla:xdg-open:' lib/preferences.txt || die
}
@@ -43,11 +47,12 @@ src_install() {
# java-pkg_dojar "${jar}"
# rm "${jar}"
#done
- #libopts -m0755
- #for lib in $(find libraries -name '*.so') ; do
- # java-pkg_doso "${lib}"
- # rm "${lib}"
- #done
+ libopts -m0755
+ for lib in $(find libraries -name '*.so') ; do
+ java-pkg_sointo "${JAVA_PKG_SHAREPATH}/$(dirname ${lib})"
+ java-pkg_doso "${lib}"
+ rm "${lib}"
+ done
insinto "${JAVA_PKG_SHAREPATH}"
doins -r libraries examples