diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-08 20:20:22 +0200 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-10-08 20:25:51 +0200 |
commit | d4a027a891400608215b602d5c241439fe89630f (patch) | |
tree | 0d81a9557b55c36ca406bf333838cf0e8b945a3b | |
parent | media-sound/mpg123: Stabilize 1.29.0 ppc64, #816945 (diff) | |
download | gentoo-d4a027a891400608215b602d5c241439fe89630f.tar.gz gentoo-d4a027a891400608215b602d5c241439fe89630f.tar.bz2 gentoo-d4a027a891400608215b602d5c241439fe89630f.zip |
net-libs/libyang: add 2.0.97
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r-- | net-libs/libyang/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libyang/libyang-2.0.97.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/net-libs/libyang/Manifest b/net-libs/libyang/Manifest index fcfbb472a736..968b4ce4a3d5 100644 --- a/net-libs/libyang/Manifest +++ b/net-libs/libyang/Manifest @@ -1,2 +1,3 @@ DIST libyang-2.0.7.tar.gz 1031818 BLAKE2B a3ad7dc0bcff14ea5fec0221f11efb2ef61efa8b4b3c8ebd6d58f3184cc1f1979c026985c1782d2f2177227a8aae815c6c4fa7063fb19156af78f65740623318 SHA512 edb1d8d372b25ed820fa312e0dc96d4af7c8cd5ddeb785964de73f64774062ea7a5586bb27e2039ad24189d4a2ba04268921ca86e82423fc48647d1d10a2a0a7 DIST libyang-2.0.88.tar.gz 1064840 BLAKE2B cb9fad7a1a1cd11f4f9687e0d413e485e42697b2b75ce42d042adcf8533d2e5984437818f80dc8611df4187783dce27323d9c72c6d00c85264d44d47db3bd4dd SHA512 8fcc052e8648f65dde2bac46370d496ba7682000de1818b4f7bdab12817922875382b827b61ff62d586e1d1e8b4f2f69028eb4b9808ef05c984174f050604258 +DIST libyang-2.0.97.tar.gz 1066042 BLAKE2B 24ad593b4d4db2c54bf083d3f3469b17de8734aded878d167e383a5e7edb964706a48707e2f0847c7cd4f613b6c1e298325710c4b074f4a3fa1102e22265d632 SHA512 f97f29703f49ef22d04ecf3071d4437417ca95fd0cc2a696269ff646076cca15236874c40ef6a891f1ed4a1173600ba4c6cdd5e0879356b53414c4f0c415c389 diff --git a/net-libs/libyang/libyang-2.0.97.ebuild b/net-libs/libyang/libyang-2.0.97.ebuild new file mode 100644 index 000000000000..f34f5a455181 --- /dev/null +++ b/net-libs/libyang/libyang-2.0.97.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_ECLASS=cmake +inherit cmake-multilib + +DESCRIPTION="YANG data modeling language library" +HOMEPAGE="https://github.com/CESNET/libyang" +SRC_URI="https://github.com/CESNET/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/libpcre2[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND} + test? ( dev-util/cmocka ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) +" + +multilib_src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + -DENABLE_VALGRIND_TESTS=OFF + ) + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile + + multilib_is_native_abi && use doc && cmake_src_compile doc +} + +multilib_src_install_all() { + use doc && dodoc -r doc/. +} |