Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 616182 Details for
Bug 693352
dev-util/cppcheck-2.2 bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cppcheck-1.90.ebuild
cppcheck-1.90.ebuild (text/plain), 2.50 KB, created by
Gabriel Marcano
on 2020-02-27 06:40:59 UTC
(
hide
)
Description:
cppcheck-1.90.ebuild
Filename:
MIME Type:
Creator:
Gabriel Marcano
Created:
2020-02-27 06:40:59 UTC
Size:
2.50 KB
patch
obsolete
># Copyright 1999-2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 >PYTHON_COMPAT=( python3_{6,7,8} ) >inherit distutils-r1 qmake-utils toolchain-funcs > >if [[ ${PV} == "9999" ]] ; then > inherit git-r3 > EGIT_REPO_URI="https://github.com/danmar/cppcheck" > KEYWORDS="" >else > SRC_URI="https://github.com/danmar/cppcheck/archive/${PV}.tar.gz -> ${P}.tar.gz" > KEYWORDS="~amd64" >fi > >DESCRIPTION="Static analyzer of C/C++ code" >HOMEPAGE="https://github.com/danmar/cppcheck" > >LICENSE="GPL-3+" >SLOT="0" >IUSE="htmlreport pcre qt5" > >RDEPEND=" > dev-libs/tinyxml2:= > htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] ) > pcre? ( dev-libs/libpcre ) > qt5? ( > dev-qt/qtcore:5 > dev-qt/qtgui:5 > dev-qt/qtprintsupport:5 > ) >" >DEPEND="${RDEPEND} > app-text/docbook-xsl-stylesheets > dev-libs/libxslt > sci-mathematics/z3 > virtual/pkgconfig >" >PATCHES=( > "${FILESDIR}"/${P}-tinyxml2.patch >) > >src_prepare() { > default > rm -r externals/tinyxml || die > # Deal with cppcheck using FILESDIR as a variable... > sed -i 's/FILESDIR/FILESDIR_/g' $(find "${S}" -type f) >} > >src_configure() { > tc-export CXX PKG_CONFIG > export LIBS="$(${PKG_CONFIG} --libs tinyxml2)" > > emake dmake > ./dmake || die > > if use pcre ; then > sed -e '/HAVE_RULES=/s:=no:=yes:' \ > -i Makefile || die > fi > > if use qt5 ; then > pushd gui || die > eqmake5 > popd || die > fi >} > >src_compile() { > emake ${PN} man \ > FILESDIR_="${EROOT}/usr/share/${PN}/" \ > DB2MAN="${EROOT}/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl" > > if use qt5 ; then > pushd gui || die > emake > popd || die > fi > > if use htmlreport ; then > pushd htmlreport || die > distutils-r1_src_compile > popd || die > fi >} > >src_test() { > # safe final version > mv -v ${PN}{,.final} || die > mv -v lib/library.o{,.final} || die > mv -v cli/cppcheckexecutor.o{,.final} || die > #trigger recompile with CFGDIR inside ${S} > emake check CFGDIR="${S}/cfg" > # restore > mv -v ${PN}{.final,} || die > mv -v lib/library.o{.final,} || die > mv -v cli/cppcheckexecutor.o{.final,} || die >} > >src_install() { > # it's not autotools-based, so "${ED}" here, not "${D}", bug 531760 > emake install DESTDIR="${ED}" \ > FILESDIR_="${EROOT}/usr/share/${PN}/" > > insinto "/usr/share/${PN}/cfg" > doins cfg/*.cfg > if use qt5 ; then > dobin gui/${PN}-gui > dodoc gui/{projectfile.txt,gui.${PN}} > fi > if use htmlreport ; then > pushd htmlreport || die > distutils-r1_src_install > popd || die > find "${D}" -name "*.egg-info" -delete > else > rm "${ED}/usr/bin/cppcheck-htmlreport" || die > fi > doman ${PN}.1 > dodoc -r tools/triage >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 693352
:
588818
|
589010
| 616182 |
616184
|
669587