summaryrefslogtreecommitdiff
path: root/dev-java/browserlauncher2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-java/browserlauncher2
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-java/browserlauncher2')
-rw-r--r--dev-java/browserlauncher2/Manifest2
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild (renamed from dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild)25
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-java/browserlauncher2/Manifest b/dev-java/browserlauncher2/Manifest
index db6f22586648..ccd1107e40da 100644
--- a/dev-java/browserlauncher2/Manifest
+++ b/dev-java/browserlauncher2/Manifest
@@ -1,3 +1,3 @@
DIST BrowserLauncher2-all-1_3.jar 186442 BLAKE2B b26509cf9a6700bd7261423b387479fde852f55735ddf6fb419e717c454b398a0a8c0c8acbd4be2e59aca6bd36837c0329f3a635482863273a1e9a389806bcdd SHA512 529195a94b757578afb3863c6b53cf16584097c659c576167fcbf86897cc484d80092c8d6e409ba1fdec69cb4f4a42b65c89c881663ae64bbc0a0a496309da5f
-EBUILD browserlauncher2-1.3-r1.ebuild 1104 BLAKE2B 5357814ea2c0e6431800dade0700f3daf5d8a12c87ad7b2bb174d1e08905799c73f09476710a03b3f5a0dc112b536754168feb8e04f1b5297832e05bb16c3dc3 SHA512 47b3e8820b5af7aad4f03e9b28e953395535133a58329564ad7de614755c85306fcd935b8f13afb4ac63899372c8c5687e1fc4ca421a47db04da92d7123b7846
+EBUILD browserlauncher2-1.3-r2.ebuild 1294 BLAKE2B 789c14125250f2024cac56d60b8fa5a2c6dadc112e87a7a770829e20d744ac6e9bcf41694f3405c6f99eba257bbb1e732ca16e89ab7c10ef63b21fa20f26b434 SHA512 17fbf84450123015100fb1b61f8150169ad248fd83c44df5e88488e44231712fd7d88917f3eadd9dcd3337ad04b12734a3d5871b99edf79363edfa5ec4ff12ee
MISC metadata.xml 628 BLAKE2B 1cf381041505b896f78e6eff1771be500ad84af5827a59f5243b5c55883cebd53f53ddb5ec1e07c7491b2e0ac98eedd86353c50bf4a437be8302e43a5ab548d0 SHA512 0a45a31198ed3fa2b1e78a43342b9b079cf0ac421668ec360443e803272f25da44dac62f458568a030c67efc720a80eda629532dd2687c8324aebb506436a3d4
diff --git a/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild b/dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild
index 8d5e98ca31ee..7f2370c1c9c6 100644
--- a/dev-java/browserlauncher2/browserlauncher2-1.3-r1.ebuild
+++ b/dev-java/browserlauncher2/browserlauncher2-1.3-r2.ebuild
@@ -1,35 +1,38 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
JAVA_PKG_IUSE="doc source"
-inherit versionator eutils java-pkg-2 java-ant-2
+inherit java-pkg-2 java-ant-2
-MY_PV="$(replace_all_version_separators _)"
-MY_PN="BrowserLauncher2"
+MY_PV="$(ver_rs 1- _)"
DESCRIPTION="A library that facilitates opening a browser from a Java application"
HOMEPAGE="http://browserlaunch2.sourceforge.net/"
-SRC_URI="mirror://sourceforge/browserlaunch2/${MY_PN}-all-${MY_PV}.jar"
+SRC_URI="https://downloads.sourceforge.net/project/browserlaunch2/browserlauncher2/${PV}/BrowserLauncher2-all-${MY_PV}.jar"
LICENSE="LGPL-2.1"
SLOT="1.0"
KEYWORDS="amd64 ppc64 x86"
-IUSE=""
-RDEPEND=">=virtual/jre-1.4"
-DEPEND=">=virtual/jdk-1.4
- app-arch/unzip"
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+BDEPEND="app-arch/unzip"
S="${WORKDIR}"
-java_prepare() {
+src_prepare() {
+ default
unpack ${A}
find . -name "*.class" -exec rm -v {} \; || die
# fixing build.xml
sed -i -e "s: includes=\"\*\*/\*\.class\"::g" "${S}/build.xml" || die
+
+ iconv -f ISO-8859-1 -t UTF8 -o "${S}/source/at/jta/Regor.java~" \
+ "${S}/source/at/jta/Regor.java" || die "recoding failed"
+ mv -f "${S}"/source/at/jta/Regor.java{~,} || die "cannot rename"
}
EANT_BUILD_TARGET="build"