summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-04-18 19:02:24 +0000
committerMike Gilbert <floppym@gentoo.org>2019-04-19 12:39:06 -0400
commit15e674385895c8a94dcc5e2e67abe8bcc8ae2e7f (patch)
treef0f1b00669ffd1bf1bc5b4c692d6f18c657c93f2 /dev-java/protobuf-java/protobuf-java-3.5.2.ebuild
parentdev-libs/protobuf: Delete old versions (<3.6.1.3). (diff)
downloadgentoo-15e674385895c8a94dcc5e2e67abe8bcc8ae2e7f.tar.gz
gentoo-15e674385895c8a94dcc5e2e67abe8bcc8ae2e7f.tar.bz2
gentoo-15e674385895c8a94dcc5e2e67abe8bcc8ae2e7f.zip
dev-java/protobuf-java: Delete old versions (<3.6.1.3).
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-java/protobuf-java/protobuf-java-3.5.2.ebuild')
-rw-r--r--dev-java/protobuf-java/protobuf-java-3.5.2.ebuild60
1 files changed, 0 insertions, 60 deletions
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
-}