forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-util/cppunit: 1.14.0 version bump, EAPI 6
Reported-by: jospezial <[email protected]> Gentoo-bug: 615894 Package-Manager: Portage-2.3.5, Repoman-2.3.1
- Loading branch information
Showing
3 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST cppunit-1.13.1.tar.gz 841334 SHA256 d5b9f3ffc9f1634d75b20b54f48c02e0817bca6afa1d5160b244889d6bff8e0f SHA512 3b588dd0ed35eca1dec1a7dcf21da40307b1da26d8e29a26a2fcb16cd4ba7e4dfdf58b6c3d537af2ad127c418b11ba62a1168312abb200d5aab8cb8475766a9d WHIRLPOOL 412bf0c5fe4437b694b89845f7ef29a564e4072890d4f5bacb657abbdc518e322b5db351f1ad123af403eef8a823439fdb1b2086c3e4c151076489c077d280d7 | ||
DIST cppunit-1.13.2.tar.gz 953596 SHA256 3f47d246e3346f2ba4d7c9e882db3ad9ebd3fcbd2e8b732f946e0e3eeb9f429f SHA512 8f4be569f321d577cec31931f49f4df143bc94e283605509b6ea50c60690aa91a2aed940e7eebd4b2413a4218f9a6c3978d312d8e587eab040283c6563846ecd WHIRLPOOL 13a76b2b4e999e46e90ab56a5b40e1a3fd4e42f15c083b6b5beb8e0d476a3d5162cafa6c906c931d9877a8ebc544077ab66712f2d8920238951b36862bcc949d | ||
DIST cppunit-1.14.0.tar.gz 959716 SHA256 3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780 SHA512 4ea1da423c6f7ab37e4144689f593396829ce74d43872d6b10709c1ad5fbda4ee945842f7e9803592520ef81ac713e95a3fe130295bf048cd32a605d1959882e WHIRLPOOL c6f0c1a26c683b6cd4449943a5eaa7154242a85980d21614ac56e78d20d9a05cbf92e1b49db236b7d97dee0ede16ca53c21f1e7f70152352a9caed865c54313f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
EGIT_REPO_URI="git://anongit.freedesktop.org/libreoffice/cppunit" | ||
[[ ${PV} = 9999 ]] && inherit git-r3 autotools | ||
inherit flag-o-matic multilib-minimal | ||
|
||
DESCRIPTION="C++ port of the famous JUnit framework for unit testing" | ||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit" | ||
[[ ${PV} = 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.gz" | ||
|
||
LICENSE="LGPL-2.1" | ||
SLOT="0" | ||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 | ||
[[ ${PV} = 9999 ]] || \ | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" | ||
IUSE="doc examples static-libs" | ||
|
||
RDEPEND="" | ||
DEPEND="${RDEPEND} | ||
doc? ( | ||
app-doc/doxygen[dot] | ||
media-gfx/graphviz | ||
) | ||
" | ||
|
||
DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ ) | ||
[[ ${PV} = 9999 ]] || DOCS+=( ChangeLog ) | ||
|
||
src_prepare() { | ||
default | ||
[[ ${PV} = 9999 ]] && eautoreconf | ||
} | ||
|
||
src_configure() { | ||
# Anything else than -O0 breaks on alpha | ||
use alpha && replace-flags "-O?" -O0 | ||
|
||
multilib-minimal_src_configure | ||
} | ||
|
||
multilib_src_configure() { | ||
ECONF_SOURCE=${S} \ | ||
econf \ | ||
$(use_enable static-libs static) \ | ||
$(multilib_native_use_enable doc doxygen) \ | ||
$(multilib_native_use_enable doc dot) \ | ||
--disable-werror | ||
} | ||
|
||
multilib_src_install_all() { | ||
if use doc; then | ||
mv "${ED%/}"/usr/share/${PN}/html "${ED%/}"/usr/share/doc/${PF} || die | ||
rm -r "${ED%/}"/usr/share/${PN} || die | ||
fi | ||
einstalldocs | ||
|
||
find "${D}" -name '*.la' -delete || die | ||
|
||
if use examples ; then | ||
find examples -iname "*.o" -delete | ||
insinto /usr/share/${PN} | ||
doins -r examples | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters