diff options
Diffstat (limited to 'dev-util/cmocka')
-rw-r--r-- | dev-util/cmocka/Manifest | 4 | ||||
-rw-r--r-- | dev-util/cmocka/cmocka-1.1.5.ebuild (renamed from dev-util/cmocka/cmocka-1.1.1.ebuild) | 29 |
2 files changed, 15 insertions, 18 deletions
diff --git a/dev-util/cmocka/Manifest b/dev-util/cmocka/Manifest index 33ea05ac8478..e86bb1c92a3e 100644 --- a/dev-util/cmocka/Manifest +++ b/dev-util/cmocka/Manifest @@ -1,7 +1,7 @@ AUX cmocka-1.1.3-examples.patch 1323 BLAKE2B 1e500f2b7d3f767f3a2dcd64c6eaa07906c6e47e670e91d9f7bd1472f7b0da824abcbf5e565bdfd78503ec0db91471883a35d42836def8541c44d72624db710f SHA512 2e8cffb329c5a20b96e104b810773051f5b17ed447543989da01ea43ea5fa4935bc8a978f929fbabeb5f2d12fa5d58859896939e24e33b569ed0ec608e8d793d AUX cmocka-1.1.3-fix-doxygen.patch 1138 BLAKE2B 44ded90b04bcc9eae14f7332a840713767106039d6916479c8d0cfe502ccff60c08011be1c711dcdb827a391deb7976706d37c2ed3d3b3941370fa6b6481cc24 SHA512 63c00e774c3078ba784685887cd46790375b37bb957800951ecd1a82f5d2f29ec7c0fe77da8f4c7e9ff0a7860e801598b9dd231d43adcd460ca1d1c68a7a3f05 -DIST cmocka-1.1.1.tar.xz 85648 BLAKE2B de888cb0dace6ee598bbdf4521b909c7fd2e02702829793efd7bac5cebd581cfb5cc79015b39f33be0ad3af218575f47abf6b2b6a146dc5e21a491442fa557ff SHA512 801c4a3e1bb9047241b1cb5a90c1cbdee1b0aff5e3d0a84ec8b2dbaee79274618c24fbe5e9fedbf0b3ee18c6c98b55d93e135d037ac33ab872edc7665af41577 DIST cmocka-1.1.3.tar.xz 78744 BLAKE2B 5043a496afab08837a73c2e0ff9c9b3c3880a2fd394a768b1f8b51d2fec517a5527e93b7e660f8dcc73af79aaf88e224f4e2869c7e31540f8e54c76481905ff6 SHA512 b1a2ce72234256d653eebf95f8744a34525b9027e1ecf6552e1620c83a4bdda8b5674b748cc5fd14abada1e374829e2e7f0bcab0b1c8d6c3b7d9b7ec474b6ed3 -EBUILD cmocka-1.1.1.ebuild 1095 BLAKE2B 4f7d129d14ceed9431bb912ee006c7bb5cb5b553a092db59e4f0c4db322719795c87bd4bbf55e8828a3fc3b690e7dd6b62fd9c7af2d93ac0a7623381cdb2545c SHA512 25c81f57cee7f851e84cdece68206b5fcd28604698622037f900438a5a740312928dbd75417b4b112759ed1f8f5fb7aeece936b0b7bfc63c5221016256f5996d +DIST cmocka-1.1.5.tar.xz 81004 BLAKE2B 5625dc293ad481c654848f3de806ef88d1b651192c2461e52b54bf9d443b5e2ea5d2a685ab85b044685f57e5723ade6c4c17e38624f59c4eab240cb4feeaab1e SHA512 cad7f04757183d004f6eaad39036fc0e24c5e0e987f80e85bc43bc66dba22389cb02b08e25531cc28a541d0a24a86b29be134a2d6fc339128e87d66952f502bd EBUILD cmocka-1.1.3.ebuild 1215 BLAKE2B 0993757ee364fb894a6c505cd6d03138bafcda15ac74671879880eaec2207abf5aa181cdb2ab9170239529d98d9cc5bad48f1cabfe5dd8b9124d0c2d9422fee6 SHA512 7db546da812952a9adf0efc5f90de762a6fca4b594532062c6540efd31883b67b6123e8999c593c9701bd44501714d42cab15119dd4234bfe96089f190225469 +EBUILD cmocka-1.1.5.ebuild 1087 BLAKE2B b0e89d62ce18b7d9b889b382e40c9efb77cf84abf903271e6c0855bcb331a1c027d5d282761a2d3263ae4eee8e7388e7199eb08363f53bf88b0d8788a46ad60f SHA512 9ae111c95cf2af4e5a8972cdf9c21c263e67dbaf9317e58d7165ed4630aa89e6f8e8fb5f14f8ec68d332dfd86dc638a6fc0c5bd49955c46d8c39546dd1567cce MISC metadata.xml 378 BLAKE2B 45998331c3a8c91f6f4a59e075b5c89b462fd304c27d87efc5e312fd7403464e874ff71c21adb44feb5727aa6daf766f469da5d22fff02fe4d15d2c3459187aa SHA512 210dcc099911d24e9918e244a76020da52df9384983d3941c2e4b61449e3c1fa780d6ebc42e38c963b714b61c8284ad58cdf52c85269a342d30d5f2e4b605ff6 diff --git a/dev-util/cmocka/cmocka-1.1.1.ebuild b/dev-util/cmocka/cmocka-1.1.5.ebuild index 82d5e18c4b88..e0d5dc6a7262 100644 --- a/dev-util/cmocka/cmocka-1.1.1.ebuild +++ b/dev-util/cmocka/cmocka-1.1.5.ebuild @@ -1,28 +1,26 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-multilib -DESCRIPTION="A unit testing framework for C" +DESCRIPTION="Unit testing framework for C" HOMEPAGE="https://cmocka.org/" SRC_URI="https://cmocka.org/files/1.1/${P}.tar.xz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="doc static-libs test" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc examples static-libs test" -DEPEND=" - doc? ( app-doc/doxygen[latex] ) +BDEPEND=" + doc? ( app-doc/doxygen[dot] ) " -RDEPEND="" - -DOCS=( AUTHORS ChangeLog README ) multilib_src_configure() { local mycmakeargs=( + -DWITH_EXAMPLES=$(usex examples) -DWITH_STATIC_LIB=$(usex static-libs) -DUNIT_TESTING=$(usex test) $(multilib_is_native_abi && cmake-utils_use_find_package doc Doxygen \ @@ -32,15 +30,14 @@ multilib_src_configure() { cmake-utils_src_configure } +multilib_src_compile() { + cmake-utils_src_compile + multilib_is_native_abi && use doc && cmake-utils_src_compile docs +} + multilib_src_install() { if multilib_is_native_abi && use doc; then - pushd doc || die - doxygen Doxyfile || die - rm -f html/*.md5 latex/*.md5 latex/Manifest man/man3/_* || die - dodoc -r html/ - dodoc -r latex/ - doman man/man3/*.3 - popd || die + local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) fi cmake-utils_src_install |