public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/piccolo2d/, dev-java/swingx-ws/, dev-java/xml-commons/, dev-java/juel/, ...
@ 2020-08-30 16:03 Miroslav Šulc
  0 siblings, 0 replies; only message in thread
From: Miroslav Šulc @ 2020-08-30 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     a4d773b4c2f433438b00010bbf0981c81e123d1b
Author:     Zhang Zongyu <zzy2529420793 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 25 16:30:10 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug 30 16:02:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d773b4

patching ebuild files to support new java-pkg-simple

Signed-off-by: Zhang Zongyu <zzy2529420793 <AT> gmail.com>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/juel/juel-2.1.0-r2.ebuild                   | 2 +-
 dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild           | 2 +-
 dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild | 4 ++--
 dev-java/xml-commons/xml-commons-1.4.01.ebuild       | 2 +-
 dev-java/xsdlib/xsdlib-20090415.ebuild               | 4 ++--
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dev-java/juel/juel-2.1.0-r2.ebuild b/dev-java/juel/juel-2.1.0-r2.ebuild
index 052a8b4e96e..6b7b4c894a2 100644
--- a/dev-java/juel/juel-2.1.0-r2.ebuild
+++ b/dev-java/juel/juel-2.1.0-r2.ebuild
@@ -26,7 +26,7 @@ DEPEND="
 
 S="${WORKDIR}/${P}"
 
-JAVA_SRC_DIR="src/api src/impl"
+JAVA_SRC_DIR=( "src/api" "src/impl" )
 
 java_prepare() {
 	java-pkg_clean

diff --git a/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild b/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild
index 6193eb4112a..bd8cd931c7e 100644
--- a/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild
+++ b/dev-java/piccolo2d/piccolo2d-3.0-r1.ebuild
@@ -29,7 +29,7 @@ DEPEND="
 
 S="${WORKDIR}/${PN}.java-${PN}-complete-${PV}"
 JAVA_GENTOO_CLASSPATH="swt-3.8"
-JAVA_SRC_DIR="core extras swt"
+JAVA_SRC_DIR=( "core" "extras" "swt" )
 
 java_prepare() {
 	rm -rf core/src/test extras/src/test swt/src/test || die

diff --git a/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild b/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild
index d417f67fd56..a9667ffec75 100644
--- a/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild
+++ b/dev-java/swingx-ws/swingx-ws-1.0_p20110515-r1.ebuild
@@ -37,7 +37,7 @@ DEPEND="
 	app-arch/unzip"
 
 S="${WORKDIR}/${MY_P}/src"
-JAVA_SRC_DIR="beaninfo java"
+JAVA_SRC_DIR=( "beaninfo" "java" )
 
 src_prepare() {
 	default
@@ -61,7 +61,7 @@ src_compile() {
 	java-pkg-simple_src_compile
 
 	local DIR
-	for DIR in ${JAVA_SRC_DIR}; do
+	for DIR in "${JAVA_SRC_DIR[@]}"; do
 		java-pkg_addres ${PN}.jar ${DIR}
 	done
 }

diff --git a/dev-java/xml-commons/xml-commons-1.4.01.ebuild b/dev-java/xml-commons/xml-commons-1.4.01.ebuild
index 25d9caa3b6a..028c71cf67d 100644
--- a/dev-java/xml-commons/xml-commons-1.4.01.ebuild
+++ b/dev-java/xml-commons/xml-commons-1.4.01.ebuild
@@ -26,4 +26,4 @@ DEPEND="
 	>=virtual/jdk-1.6
 	source? ( app-arch/zip )"
 
-JAVA_SRC_DIR="org javax"
+JAVA_SRC_DIR=( "org" "javax" )

diff --git a/dev-java/xsdlib/xsdlib-20090415.ebuild b/dev-java/xsdlib/xsdlib-20090415.ebuild
index c317785fc9f..0cb2aba0120 100644
--- a/dev-java/xsdlib/xsdlib-20090415.ebuild
+++ b/dev-java/xsdlib/xsdlib-20090415.ebuild
@@ -31,13 +31,13 @@ java_prepare() {
 	find -name '*.jar' -exec rm -v {} + || die
 }
 
-JAVA_SRC_DIR="src src-apache"
+JAVA_SRC_DIR=( "src" "src-apache" )
 JAVA_GENTOO_CLASSPATH="relaxng-datatype,xerces-2"
 
 src_compile() {
 	java-pkg-simple_src_compile
 
-	local dir; for dir in ${JAVA_SRC_DIR}; do
+	local dir; for dir in "${JAVA_SRC_DIR[@]}"; do
 		pushd ${dir} > /dev/null || die
 			jar -uf "${S}"/${PN}.jar $(find -name '*.properties') || die
 		popd > /dev/null


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-30 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-30 16:03 [gentoo-commits] repo/gentoo:master commit in: dev-java/piccolo2d/, dev-java/swingx-ws/, dev-java/xml-commons/, dev-java/juel/, Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox