Сравнение librecad-2.1.3-r7 с librecad-2.2.0

/usr/portage/media-gfx/librecad/librecad-2.2.0.ebuild 2023-10-09 14:52:31.636368404 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
PLOCALES="ar ca cs da de el en en_au es es_ar es_bo es_cl es_co es_cr es_do es_ec es_gt es_hn es_mx es_ni es_pa es_pe es_pr es_py es_sv es_us es_uy es_ve et eu fi fr gl hi hu id_ID it ja ko lv nl no pa pl pt_br pt_pt ro_ro ru sk sl sq_al sv ta tr uk zh_cn zh_tw"
5
PLOCALES="ar ca cs da de el en en_au es es_ar es_bo es_cl es_co es_cr es_do es_ec es_gt es_hn es_mx es_ni es_pa es_pe es_pr es_py es_sv es_us es_uy es_ve et eu fi fr gl hi hu id_ID it ja ko lv mk nl no pa pl pt_br pt_pt ro_ro ru sk sl sq_al sv ta tr uk zh_cn zh_tw"
6 6

  
7 7
inherit desktop edo plocale qmake-utils
8 8

  
......
13 13
	EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
14 14
	inherit git-r3
15 15
else
16
	SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.tar.gz -> ${P}.tar.gz
17
		https://github.com/Fat-Zer/librecad-gentoo-CVE-patches/archive/v${PV/_/}.tar.gz -> librecad-gentoo-CVE-patches-${PV}.tar.gz
18
	"
16
	SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.tar.gz -> ${P}.tar.gz"
19 17
	S="${WORKDIR}/LibreCAD-${PV}"
20 18
	KEYWORDS="amd64 ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
21 19
fi
......
42 40
	dev-qt/linguist-tools:5
43 41
"
44 42

  
45
PATCHES=(
46
	"${FILESDIR}/${P}-qt-5.11.patch"
47
	"${FILESDIR}/${P}-gcc-9.patch"
48
	"${FILESDIR}/${P}-qt-5.15.patch"
49
	"${FILESDIR}/${P}-boost-1.76.patch" # bug 788706, upstream PR#1345
50
)
51

  
52 43
src_prepare() {
53 44
	default
54 45

  
55
	# Note: the CVE patches are borrowed from debian packaging; some of the
56
	# patches are too big for the tree; move them to a separate repo/
57
	# see bug #825362 and bug #832210
58
	eapply "${WORKDIR}/librecad-gentoo-CVE-patches-${PV}"
59

  
60 46
	# Stock script doesn't work correctly on gentoo (see bug #847394)
61 47
	# and also it compiles all translations regardles of selected locales.
62 48
	# To avoid this just comment out locale building and do it manually
......
93 79
	doins -r unix/resources/*
94 80
	use doc && docinto html && dodoc -r librecad/support/doc/*
95 81
	insinto /usr/share/metainfo
96
	doins unix/appdata/librecad.appdata.xml
82
	doins unix/appdata/org.librecad.librecad.appdata.xml
97 83
	doicon librecad/res/main/${PN}.png
98 84
	make_desktop_entry ${PN} LibreCAD ${PN} Graphics
99 85
}
Спасибо!