Сравнение xca-2.4.0-r2 с xca-2.4.0_p20230526

/usr/portage/app-crypt/xca/xca-2.4.0_p20230526.ebuild 2023-10-09 14:52:28.248368319 +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 4
EAPI="8"
5 5

  
6
inherit xdg-utils
6
inherit cmake xdg-utils
7

  
8
COMMIT=8983e5010d99c8d37bc7e316bf3ef00265763027
7 9

  
8 10
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
9 11
HOMEPAGE="https://hohnstaedt.de/xca/"
10
SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
12
#SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
13
SRC_URI="https://github.com/chris2511/xca/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
14
S="${WORKDIR}/xca-${COMMIT}"
11 15

  
12 16
LICENSE="BSD"
13 17
SLOT="0"
14
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
18
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
15 19
IUSE="doc"
16 20

  
17 21
RDEPEND="
......
20 24
	dev-qt/qtgui:5
21 25
	dev-qt/qtsql:5[sqlite]
22 26
	dev-qt/qtwidgets:5
23
	<dev-libs/openssl-3:=
27
	dev-libs/openssl:*
24 28
	doc? ( app-text/linuxdoc-tools )"
25 29
DEPEND="${RDEPEND}"
26 30
BDEPEND="dev-qt/linguist-tools:5"
27 31

  
28 32
PATCHES=(
29 33
	"${FILESDIR}/${PN}-1.0.0-desktop.patch"
30
	"${FILESDIR}/${P}-bug-733000.patch"
31 34
)
32 35

  
33 36
src_configure() {
34
	econf \
35
		--with-qt-version=5 \
36
		$(use_enable doc) \
37
		STRIP=true
38
}
39

  
40
src_prepare() {
41
	sed '/^CFLAGS/s@-O2 -ggdb@@' -i Local.mak.in || die
42
	default
37
	local mycmakeargs=(
38
		-DQTFIXEDVERSION=Qt5
39
	)
40
	cmake_src_configure
43 41
}
44 42

  
45 43
src_compile() {
46
	# enforce all to avoid the automatic silent rules
47
	emake all
44
	cmake_src_compile
48 45
}
49 46

  
50 47
src_install() {
51
	default
48
	cmake_src_install
52 49

  
53 50
	insinto /etc/xca
54 51
	doins misc/*.txt
55 52

  
56
	ewarn "Make a backup copy of your database!"
57
	ewarn "Version 2 completely changes the database format to SQL(ite)"
58
	ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database."
53
	dosym xca /usr/bin/xca-console
54

  
55
	ewarn "This is an unofficial snapshot that is compatible with openssl 3."
56
	ewarn "One known flaw is that starting xca without a database will no longer open"
57
	ewarn "the GUI. Provide either a new or existing database as an argument on the"
58
	ewarn "command line."
59 59
}
60 60

  
61 61
pkg_postinst() {
Спасибо!