diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 03:54:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-26 03:54:55 +0100 |
commit | 2ecd7994be1409f2a65bfca700904d2a78fd7bbe (patch) | |
tree | 0248ea4d4f411ea88c27470c15ebc725bb04baa1 /dev-libs/protobuf/protobuf-9999.ebuild | |
parent | c22e93ab35a8cb604c41623a7b2cda059c462b70 (diff) |
gentoo auto-resync : 26:10:2022 - 03:54:55
Diffstat (limited to 'dev-libs/protobuf/protobuf-9999.ebuild')
-rw-r--r-- | dev-libs/protobuf/protobuf-9999.ebuild | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/dev-libs/protobuf/protobuf-9999.ebuild b/dev-libs/protobuf/protobuf-9999.ebuild index 0e620717ec44..9f84c789877f 100644 --- a/dev-libs/protobuf/protobuf-9999.ebuild +++ b/dev-libs/protobuf/protobuf-9999.ebuild @@ -5,24 +5,23 @@ EAPI=8 inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs -if [[ "${PV}" == "9999" ]]; then +if [[ "${PV}" == *9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf" + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" EGIT_SUBMODULES=() -fi - -DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" -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/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" fi +DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" +HOMEPAGE=" + https://developers.google.com/protocol-buffers/ +" + LICENSE="BSD" -SLOT="0/31" +SLOT="0/32" IUSE="emacs examples static-libs test zlib" RESTRICT="!test? ( test )" @@ -116,6 +115,12 @@ multilib_src_test() { multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die + if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" ]]; then + eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ + "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf.so.${SLOT#*/}" + die "Please update SLOT variable" + fi + insinto /usr/share/vim/vimfiles/syntax doins editors/proto.vim insinto /usr/share/vim/vimfiles/ftdetect |