diff options
author | Joonas Niilola <juippis@gentoo.org> | 2019-10-27 09:07:11 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-10-27 09:07:11 +0200 |
commit | a04a5656720e4da5f119f6f28cf0f550468c945e (patch) | |
tree | 0e0878b50a91da219847dc63357a8fc1a44a1b58 /dev-libs | |
parent | Revert "media-video/mpv: Fix dependencies" (diff) | |
download | gentoo-a04a5656720e4da5f119f6f28cf0f550468c945e.tar.gz gentoo-a04a5656720e4da5f119f6f28cf0f550468c945e.tar.bz2 gentoo-a04a5656720e4da5f119f6f28cf0f550468c945e.zip |
dev-libs/check: bump to 0.13.0
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/check/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/check/check-0.13.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest index 67762185f55e..1a02283e0aa8 100644 --- a/dev-libs/check/Manifest +++ b/dev-libs/check/Manifest @@ -1,2 +1,3 @@ DIST check-0.10.0.tar.gz 769119 BLAKE2B d5e256bef4aa010322844ce748e620ce884658d74b14e1ea5b0e1bbd4565ef7b0cb7b86d315a36f7a5e4d225e40f242ff9730790bd55fc036757b4296396d153 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 DIST check-0.12.0-github.tar.gz 281127 BLAKE2B d7dc89c10022594a37e9a4bc6b9fe1e8f355af864a5012c292cc3f1152e9e3e9be01fa34b39e5168f65650e540f36dbc8195952908a871d1c111283429f2f538 SHA512 f7b6452b69f999a90e86a8582d980c0c1b74ba5629ee34455724463ba62bfe3501ad0415aa771170f5c638a7a253f123bf87cbef25aadc6569a7a3a4d10fce90 +DIST check-0.13.0.tar.gz 301386 BLAKE2B fbc79ad9f0bacd7c7461cde631a499d92e004233b5d35ba35cb0791195362e12fc21ca059e2019280cbf256215528af239de988755e0183cb6e332a5b145624e SHA512 7943021c5bc3b5ca7bc552f6fe1287e384724d69e5bb128d58256692e810b194e506fc1b65ea4fed27d065e2176e7371483e918beb48125abfe3b6f1ca68eb8f diff --git a/dev-libs/check/check-0.13.0.ebuild b/dev-libs/check/check-0.13.0.ebuild new file mode 100644 index 000000000000..dad18b128cb3 --- /dev/null +++ b/dev-libs/check/check-0.13.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="https://libcheck.github.io/check/" +SRC_URI="https://github.com/lib${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc static-libs subunit test" + +# https://github.com/libcheck/check/issues/208 +RESTRICT="test" +#RESTRICT="!test? ( test )" + +RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + sys-apps/texinfo" +BDEPEND="doc? ( app-doc/doxygen )" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable doc build-docs) + $(use_enable subunit) + $(use_enable test timeout-tests) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + default +} + +src_compile() { + if use doc; then + cd doc/ || die "Failed to switch directories." + doxygen "." || die "Failed to run doxygen to generate docs." + fi +} + +multilib_src_install_all() { + use doc && local HTML_DOCS=( doc/html/. ) + default + + rm -r "${ED}/usr/share/doc/check/" || die "Failed to remove COPYING* files" + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |