Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 498498 Details for
Bug 627380
dev-util/cppcheck-1.81: version bump and switch to Qt5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cppcheck-1.81.ebuild
cppcheck-1.81.ebuild (text/plain), 2.08 KB, created by
Jens Lindenmeier
on 2017-10-13 10:27:22 UTC
(
hide
)
Description:
cppcheck-1.81.ebuild
Filename:
MIME Type:
Creator:
Jens Lindenmeier
Created:
2017-10-13 10:27:22 UTC
Size:
2.08 KB
patch
obsolete
># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=5 > >PYTHON_COMPAT=( python{2_7,3_4,3_5} ) > >inherit distutils-r1 eutils qmake-utils toolchain-funcs flag-o-matic > >DESCRIPTION="static analyzer of C/C++ code" >HOMEPAGE="http://cppcheck.sourceforge.net" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~arm ~x86" >IUSE="htmlreport pcre qt5" > >RDEPEND="htmlreport? ( dev-python/pygments[${PYTHON_USEDEP}] ) > >=dev-libs/tinyxml2-2 > qt5? ( dev-qt/qtgui:5 ) > pcre? ( dev-libs/libpcre )" >DEPEND="${RDEPEND} > app-text/docbook-xsl-stylesheets > dev-libs/libxslt > virtual/pkgconfig" > >src_prepare() { > append-cxxflags -std=c++0x > > # Drop bundled libs, patch Makefile generator and re-run it > rm -r externals/tinyxml || die > epatch "${FILESDIR}"/${PN}-1.75-tinyxml2.patch > tc-export CXX > emake dmake > ./dmake || die > > default >} > >src_configure() { > if use pcre ; then > sed -e '/HAVE_RULES=/s:=no:=yes:' \ > -i Makefile > fi >} > >src_compile() { > export LIBS="$(pkg-config --libs tinyxml2)" > emake ${PN} man \ > CFGDIR="${EROOT}usr/share/${PN}/cfg" \ > DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl" > > if use qt5 ; then > pushd gui > eqmake5 > emake > popd > fi > if use htmlreport ; then > pushd htmlreport > distutils-r1_src_compile > popd > fi >} > >src_test() { > # safe final version > mv -v ${PN}{,.final} > mv -v lib/library.o{,.final} > mv -v cli/cppcheckexecutor.o{,.final} > #trigger recompile with CFGDIR inside ${S} > emake check CFGDIR="${S}/cfg" > # restore > mv -v ${PN}{.final,} > mv -v lib/library.o{.final,} > mv -v cli/cppcheckexecutor.o{.final,} >} > >src_install() { > # it's not autotools-based, so "${ED}" here, not "${D}", bug 531760 > emake install DESTDIR="${ED}" > > 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 > distutils-r1_src_install > popd > find "${D}" -name "*.egg-info" -delete > else > rm "${ED}/usr/bin/cppcheck-htmlreport" || die > fi > doman ${PN}.1 > dodoc -r 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 627380
: 498498