Diff libfmt-8.1.1-r1 with a libfmt-9.1.0-r1

/usr/portage/dev-libs/libfmt/libfmt-9.1.0-r1.ebuild 2023-10-09 14:52:29.516368351 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit cmake-multilib
6
inherit cmake
7 7

  
8 8
DESCRIPTION="Small, safe and fast formatting library"
9 9
HOMEPAGE="https://github.com/fmtlib/fmt"
10 10

  
11
LICENSE="MIT"
12
IUSE="test"
13
SLOT="0/${PV}"
14

  
15 11
if [[ ${PV} == *9999 ]] ; then
16 12
	EGIT_REPO_URI="https://github.com/fmtlib/fmt.git"
17 13
	inherit git-r3
18 14
else
19 15
	SRC_URI="https://github.com/fmtlib/fmt/archive/${PV}.tar.gz -> ${P}.tar.gz"
20
	KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86"
16
	KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv x86"
21 17
	S="${WORKDIR}/fmt-${PV}"
22 18
fi
23 19

  
24
DEPEND=""
25
RDEPEND=""
20
LICENSE="MIT"
21
SLOT="0/${PV}"
22
IUSE="test"
26 23
RESTRICT="!test? ( test )"
27 24

  
28
PATCHES=(
29
	"${FILESDIR}"/${P}-fix-static-assert.patch
30
)
31

  
32
multilib_src_configure() {
25
src_configure() {
33 26
	local mycmakeargs=(
34 27
		-DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
35 28
		-DFMT_LIB_DIR="$(get_libdir)"
Thank you!