diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-05 00:50:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-09-05 00:50:05 +0000 |
| commit | 56eb5226b58a3759583c42b9584d25f1f10247a0 (patch) | |
| tree | da424ff152431e5205e1e2295d4a16a2a365ddd4 /dev-java/protobuf-java/protobuf-java-9999.ebuild | |
| parent | 6e6cda1a514b50dd745abd74745fbdf64db4aca6 (diff) | |
| download | baldeagleos-repo-56eb5226b58a3759583c42b9584d25f1f10247a0.tar.gz baldeagleos-repo-56eb5226b58a3759583c42b9584d25f1f10247a0.tar.xz baldeagleos-repo-56eb5226b58a3759583c42b9584d25f1f10247a0.zip | |
Adding metadata
Diffstat (limited to 'dev-java/protobuf-java/protobuf-java-9999.ebuild')
| -rw-r--r-- | dev-java/protobuf-java/protobuf-java-9999.ebuild | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/dev-java/protobuf-java/protobuf-java-9999.ebuild b/dev-java/protobuf-java/protobuf-java-9999.ebuild index db1925f3a2ba..43fa605b496c 100644 --- a/dev-java/protobuf-java/protobuf-java-9999.ebuild +++ b/dev-java/protobuf-java/protobuf-java-9999.ebuild @@ -1,7 +1,8 @@ -# Copyright 2008-2021 Gentoo Authors +# Copyright 2008-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 + JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-pkg-simple @@ -9,6 +10,7 @@ inherit java-pkg-2 java-pkg-simple if [[ "${PV}" == "9999" ]]; then inherit git-r3 + EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" EGIT_SUBMODULES=() fi @@ -20,22 +22,19 @@ if [[ "${PV}" == "9999" ]]; then else SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz" fi +S="${WORKDIR}/protobuf-${PV}/java" LICENSE="BSD" -SLOT="0/30" +SLOT="0/31" KEYWORDS="" -IUSE="" -BDEPEND="~dev-libs/protobuf-${PV} - >=virtual/jdk-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" - -S="${WORKDIR}/protobuf-${PV}/java" - -if [[ "${PV}" == "9999" ]]; then - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}" -fi +COMMON_DEPEND=">=virtual/jdk-1.8:*" +BDEPEND=" + ~dev-libs/protobuf-${PV} + ${COMMON_DEPEND} +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${DEPEND}" src_prepare() { pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die |
