Сравнение agedu-20200705 с agedu-20211129

/usr/portage/sys-apps/agedu/agedu-20211129.ebuild 2023-10-09 14:52:35.336368498 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 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 autotools
6
inherit cmake
7 7

  
8 8
# agedu-20151213.59b0ed3.ebuild is not a legitimate name
9 9
# so we'll drop versionator and just set MY_P manually.
10
MY_P="${PN}"-20200705.2a7d4a2
10
MY_P="${PN}"-$(ver_cut 1).8cd63c5
11 11

  
12 12
DESCRIPTION="A utility for tracking down wasted disk space"
13 13
HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/agedu/"
14
SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/agedu/${MY_P}.tar.gz -> ${MY_P}.tar.gz"
14
SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/agedu/${MY_P}.tar.gz -> ${P}.tar.gz"
15 15
S="${WORKDIR}/${MY_P}"
16 16

  
17 17
LICENSE="MIT"
18 18
SLOT="0"
19 19
KEYWORDS="~amd64 ~x86"
20
IUSE="doc ipv6"
20
IUSE="doc"
21 21

  
22
DEPEND="doc? ( app-doc/halibut )"
22
BDEPEND="doc? ( app-doc/halibut )"
23

  
24
# Notes:
25
# - IPv4 / IPv6 are still optional but enabled by default; they don't
26
# use the normal option() but it's (from CMakeLists.txt):
27
#  set(AGEDU_IPV6 ON
28
#    CACHE BOOL "Build agedu with IPv6 support if possible")
29
#  set(AGEDU_IPV4 ON
30
#    CACHE BOOL "Build agedu with IPv4 support if possible")
23 31

  
24 32
PATCHES=(
25
	"${FILESDIR}/${PN}-r9671-fix-automagic.patch"
33
	"${FILESDIR}"/${PN}-20211129-fix-automagic-halibut-docs.patch
26 34
)
27 35

  
28
src_prepare() {
29
	default
30
	eautoreconf
31
}
32

  
33 36
src_configure() {
34
	econf --enable-ipv4 \
35
		$(use_enable doc halibut) \
36
		$(use_enable ipv6)
37
	local mycmakeargs=(
38
		-DBUILD_DOCS=$(usex doc)
39
	)
40

  
41
	cmake_src_configure
37 42
}
Спасибо!