commit:     5201aae472fec9e34dab324d182d6094eb8abe12
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Sep 21 08:32:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 22 02:41:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5201aae4

dev-java/swt: 4.29-r1, minor style update

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Part-of: https://github.com/gentoo/gentoo/pull/43882
Closes: https://github.com/gentoo/gentoo/pull/43882
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/swt/swt-4.29-r1.ebuild | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-java/swt/swt-4.29-r1.ebuild b/dev-java/swt/swt-4.29-r1.ebuild
index 6e0d3efcd74c..b0b2831113eb 100644
--- a/dev-java/swt/swt-4.29-r1.ebuild
+++ b/dev-java/swt/swt-4.29-r1.ebuild
@@ -16,7 +16,8 @@ HOMEPAGE="https://eclipse.dev/eclipse/swt/";
 SRC_URI="
        amd64? ( ${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip )
        arm64? ( ${MY_DMF}/${MY_P}-gtk-linux-aarch64.zip )
-       ppc64? ( ${MY_DMF}/${MY_P}-gtk-linux-ppc64le.zip )"
+       ppc64? ( ${MY_DMF}/${MY_P}-gtk-linux-ppc64le.zip )
+"
 
 LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
 SLOT="4.27"
@@ -35,7 +36,8 @@ COMMON_DEP="
        )
        webkit? (
                net-libs/webkit-gtk:4.1
-       )"
+       )
+"
 DEPEND="${COMMON_DEP}
        >=virtual/jdk-11:*[-headless-awt]
        x11-base/xorg-proto
@@ -56,9 +58,7 @@ HTML_DOCS=( about.html )
 JAVA_RESOURCE_DIRS="resources"
 JAVA_SRC_DIR="src"
 
-PATCHES=(
-       "${FILESDIR}/swt-4.27-as-needed-and-flag-fixes.patch"
-)
+PATCHES=( "${FILESDIR}/swt-4.27-as-needed-and-flag-fixes.patch" )
 
 src_unpack() {
        default
@@ -66,7 +66,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       default
+       default # bug #780585
        java-pkg-2_src_prepare
        # .css stuff is essential at least for running net-p2p/biglybt
        unzip swt.jar 'org/eclipse/swt/internal/gtk/*.css' -d resources || die
@@ -74,9 +74,8 @@ src_prepare() {
        mkdir src || die "mkdir failed"
        mv org src || die "moving java sources failed"
        pushd src > /dev/null || die
-               find -type f ! -name '*.java' \
-                       | xargs \
-                       cp --parent -t ../resources -v \
+               find -type f ! -name '*.java' |
+                       xargs cp --parent -t ../resources -v \
                        || die "copying resources failed"
        popd > /dev/null || die
        cp version.txt resources || die "adding version.txt failed"

Reply via email to