diff options
Diffstat (limited to 'dev-util/breakpad/breakpad-2022.07.12.ebuild')
-rw-r--r-- | dev-util/breakpad/breakpad-2022.07.12.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-util/breakpad/breakpad-2022.07.12.ebuild b/dev-util/breakpad/breakpad-2022.07.12.ebuild new file mode 100644 index 000000000000..5fb691383145 --- /dev/null +++ b/dev-util/breakpad/breakpad-2022.07.12.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="implement a crash-reporting system." +HOMEPAGE="https://chromium.googlesource.com/breakpad/breakpad/" +SRC_URI="https://github.com/google/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD BSD-4" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + net-misc/curl +" +DEPEND="${RDEPEND} + dev-libs/linux-syscall-support + dev-embedded/libdisasm +" +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-2022.06.04-gentoo.patch +) + +src_prepare() { + default + sed -i \ + -e 's|"third_party/lss\(.*\)"|<lss\1>|' \ + $(find src -name '*.cc' -o -name '*.h') \ + || die + sed -i \ + -e '/includelss/d' \ + -e '/third_party\/curl/d' \ + Makefile.am \ + || die + sed -i \ + -e "/AC_INIT/s:0.1:${PVR}:" \ + -e "/AS_VAR_APPEND/d" \ + configure.ac \ + || die + eautoreconf +} + +src_configure() { + econf \ + --enable-system-test-libs \ + || die +} |