diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-java/protobuf-java | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-java/protobuf-java')
-rw-r--r-- | dev-java/protobuf-java/Manifest | 17 | ||||
-rw-r--r-- | dev-java/protobuf-java/metadata.xml | 3 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-3.5.1.1.ebuild | 66 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-3.5.2.ebuild | 60 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-3.6.0.1.ebuild | 37 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-3.6.1.1.ebuild | 37 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-3.7.1.ebuild (renamed from dev-java/protobuf-java/protobuf-java-3.6.1.2.ebuild) | 21 | ||||
-rw-r--r-- | dev-java/protobuf-java/protobuf-java-9999.ebuild (renamed from dev-java/protobuf-java/protobuf-java-3.6.1.ebuild) | 23 |
8 files changed, 41 insertions, 223 deletions
diff --git a/dev-java/protobuf-java/Manifest b/dev-java/protobuf-java/Manifest index fa9cb8f33369..2eb00db3e4f9 100644 --- a/dev-java/protobuf-java/Manifest +++ b/dev-java/protobuf-java/Manifest @@ -1,15 +1,6 @@ -DIST protobuf-3.5.1.1.tar.gz 4584489 BLAKE2B 995ee2f06a6358e9935b488269ee50f0dccede417c1757828b0108fbe8c67034301f3a9cb87517430acd9838ae71bb677f4edd8b59b2418f99c15d8ea3d33591 SHA512 f25ecf772facc8efd196b7c06012ce9ec24152b2c0cde38ed2e29ecded8f534221b008e649f4cbd991436ad3436130cd2e31d51e75019d08240d518111fb4496 -DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544 SHA512 09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181 -DIST protobuf-3.6.0.1.tar.gz 4483964 BLAKE2B 8afc1e4f4a6eba0eb453fa7cbee8e8ab4986ab9dda39a0005de9d07ec4bd4fd27a5af4ab359b139b4117a5da580be6da3387295266625ee8cc7ec9421c5c0235 SHA512 63cd799d5d6edbb05a87bc07992271c5bdb9595366d698b4dc5476cc89dc278d1c43186b9e56340958aefea2ce23e15a9c3a550158414add868b56e789ceafe4 -DIST protobuf-3.6.1.1.tar.gz 4489116 BLAKE2B 4ed5da3dcb56245b3ce2f979142d5e77837e8e1fbc2f0af27be48664b8b7dfa2ec44382cf75678d226dd665c289f81d95bf04c5f2795fcdd759aa8ec630dba1f SHA512 df59ed966047471d7296883a4500d657eee5e7d8713dd7e44f3f2e0b8c4400e85cb511b316f2fa8518620f1074fd0cad8ee9538c063ac371d6b59358de81ee88 -DIST protobuf-3.6.1.2.tar.gz 4490331 BLAKE2B be5fac5a38369b21941c3c615a97cf35d05a24ee03536b6ea6c1c797a82a0a7f8ecc3630b62af7728f063c850c4faac8ae670171a18bacd44e2a2fb38b2e6fce SHA512 557ffb1216f663df94a16cd8e51e20acf42378913d656f56402c6653cb58ce6a83f77a6050bd846460c7dcac59bb41ad03ac003b0b06250df6a97fd17f8a2c7c DIST protobuf-3.6.1.3.tar.gz 4490599 BLAKE2B 5a058f937330bd562e364a8d86e0b1376fdac9fded0fd23d6914cb59c5c15e8bfc1e203ea36b5a4eece8919708c1a9a6616b0ec2028d6ec339704da53ed81963 SHA512 9eadb46c7daa19e612516958169bc90943b38b429a4b2cf2171b66b57f50a2f8a9b66cbf58bdd44517af414b78e0f3ab2e1361891dc60ecd098185da2638d37e -DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0 SHA512 1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839 -EBUILD protobuf-java-3.5.1.1.ebuild 2095 BLAKE2B 9cb63175cfb02d00fa2e9273aba56bc3fe640d5a485af2746dde34505d6ec9317617dc41e7da0f7dba3f728673a9a846363f61889bb4c4fb46916852623435a5 SHA512 1cc3f361b4cb240b80cd3a5b43b7e3f8d95b08152b33e09aeb7a96a07683d621384468730cdbf1b99f24dd6937aef3745fe3678e0b57ba9f314b6a21fa2139ec -EBUILD protobuf-java-3.5.2.ebuild 1814 BLAKE2B fd690cc2a8ecbf5d568ea3d20cd5c494dc97f75c3f61b3c506e2e39168bb5e138e0ffce2f1d3ae846e13c535372dc4638d32b356664849248d3b2e948dce5c4d SHA512 df61e203370b90295a3b48eea64c80fa53e9cabf51730e2c49db2520017833961560d7895f80060f08807089d3df54220c74df852807fa1d07efdca3b84991d4 -EBUILD protobuf-java-3.6.0.1.ebuild 1112 BLAKE2B ed95623a91d20e3c8e2ecbb69c8c52421441c0eed3a3f36bcf84486b98cc67cccab53da1f83f3299b071cd0332f59461af952d29be82dd9f65d58fb68ab47ef7 SHA512 2746cfa9ac7a844aac943cf6ea5e0b09b5544f0be8a2ef46bdd9d46a3e8261892d0cd153e668bffd5b7babe31601ec3338c81f79de3788353f48921ae2890f2b -EBUILD protobuf-java-3.6.1.1.ebuild 1112 BLAKE2B c2196e26d93a7a1572195f6dec8e2a71fb5791aa1133a43385020a2d7276021479319ef8cd5ec195eb8ca054f797ee83284fbb7b94c702d30cafacf8f529569b SHA512 0c2943558095fb4b4dfb63612c6cdf7cd5b535a9590701cb83de83e971128dd772814adf51de9065dec5408fa60f9f8883d92cccade30c42abd6ac91afc5f680 -EBUILD protobuf-java-3.6.1.2.ebuild 1112 BLAKE2B c2196e26d93a7a1572195f6dec8e2a71fb5791aa1133a43385020a2d7276021479319ef8cd5ec195eb8ca054f797ee83284fbb7b94c702d30cafacf8f529569b SHA512 0c2943558095fb4b4dfb63612c6cdf7cd5b535a9590701cb83de83e971128dd772814adf51de9065dec5408fa60f9f8883d92cccade30c42abd6ac91afc5f680 +DIST protobuf-3.7.1.tar.gz 4795774 BLAKE2B a91155169623ee24ba49e397b151829321c01ff06bb27541e6c02701c37ac96ea9606961291ef0d4616dd6dba045bf7e893ec6288f5809d30cc026b60ae76590 SHA512 7d4cfabd4bd55926336a3baafa0bc1f1f15380b1b2af945f70a2bb3ba24c6ac6567f49c492326d6d1c43a488166bff178f9266377758a05d8541d8b242f4f80f EBUILD protobuf-java-3.6.1.3.ebuild 1109 BLAKE2B d76e82ea1872d9c8d3a7cee220e243a424d5352dea09962435d487282c88157d937f89eb07e214f3a0bb62abdaab7afe88572cc4a00decc67e03ca13b6da4673 SHA512 8504a8fead79fe649cfd0d8bb63fe44c30e7f68c5fa8d0f3546a55460dc3e78fbd63f636b4f02269455159f471ead4a86d96431beb7d131c11c211b5b02d1e0a -EBUILD protobuf-java-3.6.1.ebuild 1109 BLAKE2B bd8fb8e90a5f6386f16a9d98351b30e34b3307d323565fa016b22d69285cea18495f4fb29c6ec7bd4052bab2cd5d7af82219209e36a7303de55ca92cba1797cf SHA512 cc09ccf03e073edd2c7ec711f3e4c55afe7dae532ee94916f9f4319c3c9b019c49b42f8ae5c43c2de6ea11dfe3ea34fc5f7c96a2bc66f3d7b02ce1bc7749ec32 -MISC metadata.xml 805 BLAKE2B d90fd4afcd89ea87b592be42fa34d1279f2fc28b24c3891c2065b909b197927014c3e96d6cc88797b5cb9ccb087efdb2f3b31bb436bde3e7d6858cdacb714c3e SHA512 4bbb4b673edf832e0e5bd985d3d11e813d8512c31e79441c8b0321b4d40f89bf0a15b5bbcf12f3ef9294fa831c35b7dc518be1a86b2fb87eab173a6b2bccf476 +EBUILD protobuf-java-3.7.1.ebuild 1417 BLAKE2B 5762789bc4fd0095ccfedbb3812b33a62a09256c5a6df191cf9294faf5556f0a07c4773347b2478ee666f513bcbf40167cb80ae0e03627a70041e3943f2feeeb SHA512 bfbcc5ba53f08681b6b7e8afc0a0be9312e85770d55b3e2aacf7fa212805969d424e8331b631f04862e10ea102f385065f93b9637322016e6961995bee13479a +EBUILD protobuf-java-9999.ebuild 1337 BLAKE2B af6d9b896e31dc453640066e7576a0a71e0a0a5e4467fc0511f791d7a5420e199ab99219fa74dfa02434377e7db3f911b1578fc11d4eb70e1947f9943ea8995e SHA512 1c58cecf9831d9178352b8d4ad26da70b17f9709ba1b2a7aaa508c21b2003209620d371ce7d24df3456500c0662720e5293a989d2329ccb1af9535200cc62c02 +MISC metadata.xml 652 BLAKE2B 7c402c1ed247fad130bc21514855634041718335e7b43285560165d5b9d30649a760a124d50c57e940a19fa524c2bf5bfb85a7761d17b6f14c050edb53e100e5 SHA512 bb608da39ddc541c7cfc3a0db10da20db6f5f88da9b4a966d9b30c7a1bfc9390773cd9400c24c2be15d62e0a0e890df8a4259adfca4baac36cc6d4047b352e54 diff --git a/dev-java/protobuf-java/metadata.xml b/dev-java/protobuf-java/metadata.xml index 0697e5cc44b2..fbdd6bacc234 100644 --- a/dev-java/protobuf-java/metadata.xml +++ b/dev-java/protobuf-java/metadata.xml @@ -13,9 +13,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> - <use> - <flag name="nano">Enable code generator and runtime library designed specifically for resource-constrained systems, like Android</flag> - </use> <slots> <subslots>Soname version number of Protobuf</subslots> </slots> diff --git a/dev-java/protobuf-java/protobuf-java-3.5.1.1.ebuild b/dev-java/protobuf-java/protobuf-java-3.5.1.1.ebuild deleted file mode 100644 index c0a6932d5146..000000000000 --- a/dev-java/protobuf-java/protobuf-java-3.5.1.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Google's Protocol Buffers - Java bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/15" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~sh x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="nano" - -# Protobuf is only a build-time dep, but depends on the exact same version -# (excluding revision), since we are using the same tarball. -# But probably same subslot is sufficient. -DEPEND=">=virtual/jdk-1.7 - ~dev-libs/protobuf-${PV}" - -RDEPEND=">=virtual/jre-1.7 - !<dev-libs/protobuf-3[java(-)]" - -S="${WORKDIR}/protobuf-${PV}" - -src_prepare() { - default - java-pkg-2_src_prepare -} - -src_compile() { - pushd "${S}/java" >/dev/null || die - einfo "Compiling Java library ..." - "${EPREFIX}"/usr/bin/protoc --java_out=core/src/main/java -I../src ../src/google/protobuf/descriptor.proto || die - JAVA_SRC_DIR="${S}/java/core/src/main/java" - JAVA_JAR_FILENAME="protobuf.jar" - java-pkg-simple_src_compile - popd >/dev/null || die - if use nano; then - einfo "Compiling Java Nano library ..." - pushd "${S}/javanano" >/dev/null || die - "${EPREFIX}"/usr/bin/protoc --java_out=src/main/java -I../src ../src/google/protobuf/descriptor.proto || die - JAVA_SRC_DIR="${S}/javanano/src/main/java" - JAVA_GENTOO_CLASSPATH_EXTRA="${S}/java/core/src/main/java/" - JAVA_JAR_FILENAME="protobuf-nano.jar" - java-pkg-simple_src_compile - popd >/dev/null || die - fi -} - -src_install() { - JAVA_JAR_FILENAME="${S}/java/protobuf.jar" - JAVA_SRC_DIR="${S}/java/core/src/main/java" - if use nano; then - JAVA_JAR_FILENAME="${JAVA_JAR_FILENAME} ${S}/javanano/protobuf-nano.jar" - JAVA_SRC_DIR="${JAVA_SRC_DIR} ${S}/javanano/src/main/java" - fi - mv "${S}/java/target" . || die - if use nano; then - cp -Rvf "${S}/javanano/target" . || die - fi - java-pkg-simple_src_install -} diff --git a/dev-java/protobuf-java/protobuf-java-3.5.2.ebuild b/dev-java/protobuf-java/protobuf-java-3.5.2.ebuild deleted file mode 100644 index c60c8f9317b3..000000000000 --- a/dev-java/protobuf-java/protobuf-java-3.5.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Google's Protocol Buffers - Java bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/15" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~sh x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="nano" - -DEPEND="~dev-libs/protobuf-${PV} - >=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7 - !<dev-libs/protobuf-3[java(-)]" - -S="${WORKDIR}/protobuf-${PV}" - -src_prepare() { - default - java-pkg-2_src_prepare -} - -src_compile() { - einfo "Compiling Java library..." - pushd java > /dev/null || die - "${EPREFIX}/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 - popd > /dev/null || die - - if use nano; then - einfo "Compiling Java Nano library..." - pushd javanano > /dev/null || die - "${EPREFIX}/usr/bin/protoc" --java_out=src/main/java -I../src ../src/google/protobuf/descriptor.proto || die - JAVA_SRC_DIR="src/main/java" JAVA_GENTOO_CLASSPATH_EXTRA="../java/core/src/main/java" JAVA_JAR_FILENAME="protobuf-nano.jar" java-pkg-simple_src_compile - popd > /dev/null || die - fi -} - -src_install() { - local JAVA_SRC_DIR="java/core/src/main/java" - local JAVA_JAR_FILENAME="java/protobuf.jar" - if use nano; then - JAVA_SRC_DIR+=" javanano/src/main/java" - JAVA_JAR_FILENAME+=" javanano/protobuf-nano.jar" - fi - - mv java/target . || die - if use nano; then - cp -r javanano/target . || die - fi - - java-pkg-simple_src_install -} diff --git a/dev-java/protobuf-java/protobuf-java-3.6.0.1.ebuild b/dev-java/protobuf-java/protobuf-java-3.6.0.1.ebuild deleted file mode 100644 index 5c4309e854e0..000000000000 --- a/dev-java/protobuf-java/protobuf-java-3.6.0.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Google's Protocol Buffers - Java bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/16" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sh ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -DEPEND="~dev-libs/protobuf-${PV} - >=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7 - !<dev-libs/protobuf-3[java(-)]" - -S="${WORKDIR}/protobuf-${PV}/java" - -src_prepare() { - default - java-pkg-2_src_prepare -} - -src_compile() { - "${EPREFIX}/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.6.1.1.ebuild b/dev-java/protobuf-java/protobuf-java-3.6.1.1.ebuild deleted file mode 100644 index 21b22d791b71..000000000000 --- a/dev-java/protobuf-java/protobuf-java-3.6.1.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2008-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Google's Protocol Buffers - Java bindings" -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/17" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sh ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="" - -DEPEND="~dev-libs/protobuf-${PV} - >=virtual/jdk-1.7" -RDEPEND=">=virtual/jre-1.7 - !<dev-libs/protobuf-3[java(-)]" - -S="${WORKDIR}/protobuf-${PV}/java" - -src_prepare() { - default - java-pkg-2_src_prepare -} - -src_compile() { - "${EPREFIX}/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.6.1.2.ebuild b/dev-java/protobuf-java/protobuf-java-3.7.1.ebuild index 21b22d791b71..828c0e6a2a78 100644 --- a/dev-java/protobuf-java/protobuf-java-3.6.1.2.ebuild +++ b/dev-java/protobuf-java/protobuf-java-3.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2008-2018 Gentoo Authors +# Copyright 2008-2019 Arfrever Frehtes Taifersar Arahesis and others # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -6,12 +6,23 @@ 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" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" +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/17" +SLOT="0/18" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sh ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" IUSE="" @@ -22,6 +33,10 @@ RDEPEND=">=virtual/jre-1.7 S="${WORKDIR}/protobuf-${PV}/java" +if [[ "${PV}" == "9999" ]]; then + EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" +fi + src_prepare() { default java-pkg-2_src_prepare diff --git a/dev-java/protobuf-java/protobuf-java-3.6.1.ebuild b/dev-java/protobuf-java/protobuf-java-9999.ebuild index 54c8396f2ffb..b066b80a8320 100644 --- a/dev-java/protobuf-java/protobuf-java-3.6.1.ebuild +++ b/dev-java/protobuf-java/protobuf-java-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 2008-2019 Arfrever Frehtes Taifersar Arahesis and others # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -6,13 +6,24 @@ 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" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" +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/17" -KEYWORDS="amd64 ~arm ~arm64 ppc64 ~sh x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +SLOT="0/18" +KEYWORDS="" IUSE="" DEPEND="~dev-libs/protobuf-${PV} @@ -22,6 +33,10 @@ RDEPEND=">=virtual/jre-1.7 S="${WORKDIR}/protobuf-${PV}/java" +if [[ "${PV}" == "9999" ]]; then + EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" +fi + src_prepare() { default java-pkg-2_src_prepare |