From faa2d120485998be70fcc9e6d258d9d7dbb7e9c6 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 25 Feb 2023 14:24:15 +0000 Subject: Adding metadata --- dev-java/jcifs/jcifs-1.3.19-r2.ebuild | 45 ++++++++++++++++++++++ .../osgi-compendium-4.3.1-r3.ebuild | 37 ------------------ .../osgi-compendium-4.3.1-r4.ebuild | 37 ++++++++++++++++++ 3 files changed, 82 insertions(+), 37 deletions(-) create mode 100644 dev-java/jcifs/jcifs-1.3.19-r2.ebuild delete mode 100644 dev-java/osgi-compendium/osgi-compendium-4.3.1-r3.ebuild create mode 100644 dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild (limited to 'dev-java') diff --git a/dev-java/jcifs/jcifs-1.3.19-r2.ebuild b/dev-java/jcifs/jcifs-1.3.19-r2.ebuild new file mode 100644 index 000000000000..5544a2eeba75 --- /dev/null +++ b/dev-java/jcifs/jcifs-1.3.19-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java" +SRC_URI="https://jcifs.samba.org/src/${P}.tgz" +HOMEPAGE="https://jcifs.samba.org/" +S="${WORKDIR}/${P/-/_}" + +LICENSE="LGPL-2.1" +SLOT="1.1" + +KEYWORDS="~amd64 ~ppc64 ~x86" + +CP_DEPEND="dev-java/jakarta-servlet-api:4" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:*" + +JAVA_RESOURCE_DIRS="res" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + java-pkg_clean + mkdir -p res || die + cd src || die + find . -type f -name '*.css' -o -name '*.map' \ + | xargs cp --parents -v -t ../res || die +} + +src_install() { + java-pkg-simple_src_install + use examples && java-pkg_doexamples examples +} diff --git a/dev-java/osgi-compendium/osgi-compendium-4.3.1-r3.ebuild b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r3.ebuild deleted file mode 100644 index 42efea848da4..000000000000 --- a/dev-java/osgi-compendium/osgi-compendium-4.3.1-r3.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="OSGi Service Platform Compendium API (Companion Code)" -HOMEPAGE="https://docs.osgi.org" -SRC_URI="https://docs.osgi.org/download/r4v43/osgi.cmpn-${PV}.jar" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -CP_DEPEND=" - dev-java/glassfish-persistence:0 - dev-java/osgi-core-api:0 - dev-java/osgi-foundation:0 - dev-java/tomcat-servlet-api:4.0" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="app-arch/unzip" - -JAVA_SRC_DIR="OSGI-OPT/src" - -src_prepare() { - default - rm -r org || die -} diff --git a/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild new file mode 100644 index 000000000000..0ca616b9fb7c --- /dev/null +++ b/dev-java/osgi-compendium/osgi-compendium-4.3.1-r4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="OSGi Service Platform Compendium API (Companion Code)" +HOMEPAGE="https://docs.osgi.org" +SRC_URI="https://docs.osgi.org/download/r4v43/osgi.cmpn-${PV}.jar" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +CP_DEPEND=" + dev-java/glassfish-persistence:0 + dev-java/osgi-core-api:0 + dev-java/osgi-foundation:0 + dev-java/jakarta-servlet-api:4" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +JAVA_SRC_DIR="OSGI-OPT/src" + +src_prepare() { + default + rm -r org || die +} -- cgit v1.3