diff options
Diffstat (limited to 'dev-java/osgi-cmpn')
-rw-r--r-- | dev-java/osgi-cmpn/Manifest | 3 | ||||
-rw-r--r-- | dev-java/osgi-cmpn/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/osgi-cmpn/osgi-cmpn-8.0.0.ebuild | 45 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/osgi-cmpn/Manifest b/dev-java/osgi-cmpn/Manifest new file mode 100644 index 000000000000..653a03c48717 --- /dev/null +++ b/dev-java/osgi-cmpn/Manifest @@ -0,0 +1,3 @@ +DIST osgi-cmpn-8.0.0.jar 1897102 BLAKE2B efc22960e4f56e85c2ab5dd392c3793c69055e4c1fe19522f00863c59ebc27be817fffe678ebff876be114ae38cd09c561eb6efba3c25a5ebda96732330eec3b SHA512 194ce255a42c04f6515bfe982ea4685dbcfa6227a07572d17ead7fd0e5b07ca4c29a1cec7edf61a5d4e99fbd1bfadecdbf5a2128f73ace3812092ef9e310b727 +EBUILD osgi-cmpn-8.0.0.ebuild 979 BLAKE2B 687a5c985e834a3c17b84543d9db212567b7e6a5b2ef94714ed5c401c26dc13dbe63fd1c161e011dfb688eaf22015034dd877ccb81173635a2d1f3edeeb23268 SHA512 f0238cc14ba83194d09899db97161a24306bdd73030f644f60ebab3c8b3d831a25393acae34a3aa7f6decde0327a77e22e310acfbdcead1cb1864a47e618dafb +MISC metadata.xml 237 BLAKE2B 7c3263833976c18611a5cba44845af4d80f2f86c48cf587a657292ed0074022088cef88756e3209b292252dce5c0eea307c4f2f45f28b8517609124708f7d09a SHA512 e8227b536eb45569cbf744907106e101d1aa6bf9ba8337783786d719ab107d8bda0fde5dd7067d168181d694b4161b12d1ef3cb5a83b14971b21aa4479670559 diff --git a/dev-java/osgi-cmpn/metadata.xml b/dev-java/osgi-cmpn/metadata.xml new file mode 100644 index 000000000000..4221e170cbc0 --- /dev/null +++ b/dev-java/osgi-cmpn/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/osgi-cmpn/osgi-cmpn-8.0.0.ebuild b/dev-java/osgi-cmpn/osgi-cmpn-8.0.0.ebuild new file mode 100644 index 000000000000..e1921b4fe336 --- /dev/null +++ b/dev-java/osgi-cmpn/osgi-cmpn-8.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.osgi:osgi.cmpn:8.0.0" + +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/r$(ver_cut 1)/${PN/-/.}-${PV}.jar -> ${P}.jar" + +LICENSE="Apache-2.0 OSGi-Specification-2.0" +SLOT="8" +KEYWORDS="~amd64 ~arm ~arm64" + +CP_DEPEND=" + dev-java/cdi-api:0 + dev-java/glassfish-persistence:0 + dev-java/jakarta-servlet-api:4 + dev-java/javax-inject:0 + dev-java/jaxrs-api:0 + dev-java/osgi-annotation:0 + dev-java/osgi-core:0 +" + +DEPEND="${CP_DEPEND} + >=virtual/jdk-11:*" + +RDEPEND="${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +JAVA_SRC_DIR="OSGI-OPT/src" + +src_prepare() { + default + java-pkg_clean org + sed \ + -e 's/javax\(.enterprise\)/jakarta\1/' \ + -i OSGI-OPT/src/org/osgi/service/cdi/*/*.java || die +} |