commit:     6963df09b68294354d019d63c1a7268899a09044
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Tue Apr  6 01:00:00 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Apr  9 22:32:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6963df09

dev-java/protobuf-java: Version bumps (3.15.*).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-java/protobuf-java/Manifest                    |  9 ++++
 dev-java/protobuf-java/protobuf-java-3.15.0.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.1.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.2.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.3.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.4.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.5.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.6.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.7.ebuild | 56 ++++++++++++++++++++++
 dev-java/protobuf-java/protobuf-java-3.15.8.ebuild | 56 ++++++++++++++++++++++
 10 files changed, 513 insertions(+)

diff --git a/dev-java/protobuf-java/Manifest b/dev-java/protobuf-java/Manifest
index f999d53e988..40726bb0560 100644
--- a/dev-java/protobuf-java/Manifest
+++ b/dev-java/protobuf-java/Manifest
@@ -2,3 +2,12 @@ DIST protobuf-3.12.2.tar.gz 5309688 BLAKE2B 
6f04ab75a165d8135b4c1de210f8698f56f3
 DIST protobuf-3.12.4.tar.gz 5310348 BLAKE2B 
2630941672963165467221843c10079a0ed966f2fdfcbc970b0b41e1ed3c7f78734496c1fbd3ec509c68999a14f637fff267b309cf82a8acf2bb5a948484f79b
 SHA512 
c5d24502b9a6be0a606a19213186fe462e0de6830547003636f0897781f36d0bd7e4e7d9689d96390a0399ce04b6438cda3a0fe6f97f0feb700a110e90beef0c
 DIST protobuf-3.13.0.tar.gz 5277913 BLAKE2B 
168aaa5beef83be675cd2543ca8efeaf5174f5e7fd861a056b04b01c8c781dc7b1fcbd05068ae89f051dfacfdc47c34b19cc33c8d09dd3212d3827746e3408f2
 SHA512 
514efa65fc8a36bc0791e6d39bdfb07b2689e9c2a4b82536c657859b800e7bc1e1a0ae86a7ee33f30c43a473a49b5c346ce830ac0057b6da104ed37f90b8b0fd
 DIST protobuf-3.14.0.tar.gz 5319779 BLAKE2B 
cea083eea4d7fec441536effdfe2bf1811913154b0cc0da2f14f4edeb0efb200236da102c36700e24fab73fd9883aa90576ad64603a7f175ebf5cef0dc29aae5
 SHA512 
9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11
+DIST protobuf-3.15.0.tar.gz 5284848 BLAKE2B 
6c1135499dd73b6d1764f47ded6415f8073841bccf5d5626e751fc159b67a6103d71a84096f563053c34c9e4235504238fcdc86ebb757d38b2f4bc1674d08674
 SHA512 
f52dfbfabdff3306d26ec05cbba7cd47bf3db8b08f4fb27e2cbd5a594de57f0a7ab2212dcea2055a9adfddc94ae4df2d0b1caea311ead75bb850ef8458b1b74a
+DIST protobuf-3.15.1.tar.gz 5284851 BLAKE2B 
5e3f487ba1c3f6a3d2d87f2421f9b07aa4618df0853b05364d7f29e93d8e7dc4c3ece08ba3b7cd0bf69d0faaa32ccc952218a8df7575b74aa6216977f2b2219b
 SHA512 
24efeec969ee72833c377e6287e3b06a431d54d9b3be50635685f6903534f15c2957d78cdbf4bcc6482732ecdbc735dc894c0b9095486419b8d11d6df6169180
+DIST protobuf-3.15.2.tar.gz 5284455 BLAKE2B 
433ac18774395174798d110e4eaae95c44bc8be89cfae85648497f8531cf19513f4c7745a6afc27d6d49a07e7e1fb4faeff73530fa082665727095e837f11940
 SHA512 
34e82ece83f47249fd5398a955e4f0a32d0722abcaa4e90c741bdc5106a0bd92088babe3d10d818dd89e2e9254cecbb68ae0c182ea408d4f1e2d70318e7baf37
+DIST protobuf-3.15.3.tar.gz 5283923 BLAKE2B 
f7b7b22200a4fffe6bb89e6d15fdcdb7e53ad91d4b8dc4c0b9ec7e64de39f0e3854c649edfd5a6eca040f35ccbb2bea6a3b86c7e22a9ba011db2dc11117646f6
 SHA512 
ca403cc2ed28b67c4219021273be59d36a3f4382a8111aeb6152fc0ded30dfc203d96c3c60977d19ff00a1d1524b8ed4c183e8badb56c942e599f78aaf6745f6
+DIST protobuf-3.15.4.tar.gz 5283753 BLAKE2B 
256eb365b26a864755b43925bd4336fc76f1fb122aacdb01243b24ecc163541fd7d2105ba66f7fa0c14ced0166cf4bc8f480ac5d9f2cea13e4cc925dab6e1810
 SHA512 
d98d1ed408a6f3d15fb3a60d11df896632dfdffa06759c761bc227a8c8053ec9db6c62c21b115dc109c7d9139df239b19e29aff5783b585101bcab3f4d687547
+DIST protobuf-3.15.5.tar.gz 5283712 BLAKE2B 
0da6255302014c885aee47d48344a75ee4808cb91fa6cdebef15150e0b8ce7f7835d21bdc8f42fd1ba5f5c5401e6fc60b9410ff1ea8bd0d0f698d3cf7d10dd2b
 SHA512 
b9d3b261047c354f0f8735638041562e05d93691cdfdc295622fd30aa04c859a9e3d4200981807ea0d4926d0e4a31a918b4851ebc25bfb9709494a3699002531
+DIST protobuf-3.15.6.tar.gz 5284018 BLAKE2B 
5895f618e233edd5744253821036857aa23f64b76ee3318b99f3530d9dd0c49cc8c386ef15c7394475c2bf0fa33fb631e481fa3fb927c2ab8a88af31234bd0b1
 SHA512 
673d61b492ce0e85f5c63f3fd7a0174737cc65f7871f79d24380bffa59ea1b312065137ecc63b0f4d4ffa3eb168a09e9c1129c21b0e6c5c3a8c2fabb2cecabb5
+DIST protobuf-3.15.7.tar.gz 5284817 BLAKE2B 
43821bb283a0c1f87930593046a5c55f6efae3f644337289fd438c0612a9b7ef9531b61e48940b74dc5d20253ee1b6a805b902284a442dec2efe8c79f82c5aad
 SHA512 
2b18ccba1ff8a0623c52abed0e0674bc6cfa2cd10d49764031a47e68f654f54083f4a4f9e3a94d833a6808426904ee642f173641063e79cb41a61fc348d603ac
+DIST protobuf-3.15.8.tar.gz 5285277 BLAKE2B 
798fc011ac03cdc2406acf5845c667d8482082044bdace06c2c1d02b5b1b69c1b1f30e29774180dc1801a1d21d62e2ce50325105859564a1e36d3fe478e64d8b
 SHA512 
56fc6df2dae14eee0fb67dd4204fc1ec54a18d994a69c9e42c7888d0cd50d269d1c5e1445d74f0fa705850d4ac86a22d86781e09769a716e5c6f829b15b05592

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.0.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.0.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.1.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.1.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.2.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.2.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.3.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.3.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.4.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.4.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.5.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.5.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.6.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.6.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.7.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.7.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

diff --git a/dev-java/protobuf-java/protobuf-java-3.15.8.ebuild 
b/dev-java/protobuf-java/protobuf-java-3.15.8.ebuild
new file mode 100644
index 00000000000..dfd68dd9ecf
--- /dev/null
+++ b/dev-java/protobuf-java/protobuf-java-3.15.8.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2008-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-r3
+
+       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
+       EGIT_SUBMODULES=()
+fi
+
+DESCRIPTION="Google's Protocol Buffers - Java bindings"
+HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
+if [[ "${PV}" == "9999" ]]; then
+       SRC_URI=""
+else
+       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
+fi
+
+LICENSE="BSD"
+SLOT="0/26"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+IUSE=""
+
+BDEPEND="~dev-libs/protobuf-${PV}
+       >=virtual/jdk-1.7"
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7
+       !<dev-libs/protobuf-3[java(-)]"
+
+S="${WORKDIR}/protobuf-${PV}/java"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
+fi
+
+src_prepare() {
+       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
+       eapply_user
+       popd > /dev/null || die
+
+       java-pkg-2_src_prepare
+}
+
+src_compile() {
+       "${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto || die
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_compile
+}
+
+src_install() {
+       JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" 
java-pkg-simple_src_install
+}

Reply via email to