Diff glog-0.5.0 with a glog-0.6.0

/usr/portage/dev-cpp/glog/glog-0.6.0.ebuild 2025-07-29 16:22:12.620448252 +0300
1
# Copyright 2011-2024 Gentoo Authors
1
# Copyright 2011-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="8"
......
20 20
fi
21 21

  
22 22
LICENSE="BSD"
23
SLOT="0"
24
KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
23
SLOT="0/1"
24
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
25 25
IUSE="gflags +libunwind llvm-libunwind test"
26 26
RESTRICT="!test? ( test )"
27 27

  
......
29 29
	libunwind? (
30 30
		llvm-libunwind? ( llvm-runtimes/libunwind:0=[${MULTILIB_USEDEP}] )
31 31
		!llvm-libunwind? ( sys-libs/libunwind:0=[${MULTILIB_USEDEP}] )
32
	)"
32
	)
33
"
33 34
DEPEND="${RDEPEND}
34
	test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )"
35
	test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )
36
"
35 37

  
36 38
PATCHES=(
37
	"${FILESDIR}/${P}-IsGoogleLoggingInitialized_public.patch"
38
	"${FILESDIR}/${P}-vmodule_levels_changeability.patch"
39
	"${FILESDIR}/${P}-disable-symbolize-test.patch" # bug 863599
40
	"${FILESDIR}/${P}-try-fix-logging-test.patch"
39 41
)
40 42

  
41 43
src_configure() {
42 44
	local mycmakeargs=(
43 45
		-DBUILD_TESTING=$(usex test ON OFF)
44
		-DWITH_CUSTOM_PREFIX=ON
45 46
		-DWITH_GFLAGS=$(usex gflags ON OFF)
46 47
		-DWITH_GTEST=$(usex test ON OFF)
47 48
		-DWITH_UNWIND=$(usex libunwind ON OFF)
48 49
	)
49
	if use libunwind; then
50
		mycmakeargs+=(
51
			-DUnwind_PLATFORM_LIBRARY="${ESYSROOT}/usr/$(get_libdir)/libunwind.so"
52
		)
53
	fi
54 50

  
55 51
	cmake-multilib_src_configure
56 52
}
57 53

  
58 54
src_test() {
59
	# See bug #832355
60 55
	cmake-multilib_src_test -j1
61 56
}
Thank you!