Сравнение albert-0.17.6 с albert-0.20.13

/usr/portage/x11-misc/albert/albert-0.20.13.ebuild 2023-10-09 14:52:35.928368512 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{10,11} )
7 7

  
8 8
inherit cmake python-single-r1 xdg-utils
9 9

  
10 10
DESCRIPTION="A fast and flexible keyboard launcher"
11 11
HOMEPAGE="https://albertlauncher.github.io/"
12 12

  
13
PLUGINS_HASH="1bc69826f8eabc215cdeb1765bb4750f84133d1b"
14
PYTHON_EXTENSIONS_COMMIT="7f571aceaf8e60eee8bb21e1ec4efa0e95523d13"
15
JETBRAINS_PYTHON_EXTENSION_COMMIT="b7157473cc923fe4f15023c85a032eeab3627652"
16
XKCD_PYTHON_EXTENSION_COMMIT="bf88a964473d65b39c9e09eb48dabb847206f06f"
13
PLUGINS_HASH="7eebb033005f2aab74f59cadecb7ec185a1cfcbe"
14
PYTHON_EXTENSIONS_COMMIT="29582644bfc992f66d306ff91057b7fdb9d0682e"
17 15

  
18 16
SRC_URI="
19 17
	https://github.com/albertlauncher/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
20 18
	https://github.com/albertlauncher/plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_HASH}.tar.gz
21
	python-extensions? (
22
		https://github.com/albertlauncher/python/archive/${PYTHON_EXTENSIONS_COMMIT}.tar.gz -> ${PN}-python-extensions-${PYTHON_EXTENSIONS_COMMIT}.tar.gz
23
		https://github.com/mqus/jetbrains-albert-plugin/archive/${JETBRAINS_PYTHON_EXTENSION_COMMIT}.tar.gz -> ${PN}-jetbrains-python-extension-${JETBRAINS_PYTHON_EXTENSION_COMMIT}.tar.gz
24
		https://github.com/bergercookie/xkcd-albert-plugin/archive/${XKCD_PYTHON_EXTENSION_COMMIT}.tar.gz -> ${PN}-xkcd-python-extension-${XKCD_PYTHON_EXTENSION_COMMIT}.tar.gz
25
	)
19
	python-extensions? ( https://github.com/albertlauncher/python/archive/${PYTHON_EXTENSIONS_COMMIT}.tar.gz -> ${PN}-python-extensions-${PYTHON_EXTENSIONS_COMMIT}.tar.gz )
26 20
"
27 21

  
28 22
LICENSE="all-rights-reserved"	# unclear licensing #766129
29 23
SLOT="0"
30 24
KEYWORDS="~amd64"
31
IUSE="debug +python +python-extensions +statistics virtualbox"
32
RESTRICT="mirror bindist"
25
IUSE="debug +python +python-extensions"
33 26

  
34 27
REQUIRED_USE="
35 28
	python-extensions? ( python )
......
38 31

  
39 32
RDEPEND="
40 33
	dev-cpp/muParser
41
	dev-qt/qtconcurrent:5
42
	dev-qt/qtcore:5
43
	dev-qt/qtdbus:5
44
	dev-qt/qtdeclarative:5
45
	dev-qt/qtgraphicaleffects:5
46
	dev-qt/qtgui:5
47
	dev-qt/qtnetwork:5
48
	dev-qt/qtsql:5[sqlite]
49
	dev-qt/qtsvg:5
50
	dev-qt/qtwidgets:5
51
	dev-qt/qtx11extras:5
52
	x11-libs/libX11
53
	python? ( ${PYTHON_DEPS} )
54
	statistics? (
55
		dev-qt/qtcharts:5
56
		dev-qt/qtxml:5
34
	dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,sqlite,widgets]
35
	dev-qt/qtscxml:6
36
	dev-qt/qtsvg:6
37
	python? (
38
		$(python_gen_cond_dep 'dev-python/urllib3[${PYTHON_USEDEP}]')
39
		${PYTHON_DEPS}
57 40
	)
58
	virtualbox? ( app-emulation/virtualbox[sdk,vboxwebsrv] )
59 41
"
60 42
DEPEND="${RDEPEND}
61
	python? ( $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') )"
43
	dev-libs/qhotkey[qt6]
44
	python? ( $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]') )
45
	sci-libs/libqalculate"
62 46

  
63
PATCHES=("${FILESDIR}/${PN}-0.17.3-find-and-use-python-libraries-and-headers.patch")
47
PATCHES=("${FILESDIR}/${PN}-0.20.13-use-system-qhotkey-libraries-and-headers.patch")
64 48

  
65 49
src_prepare() {
66 50
	mv "${WORKDIR}"/plugins-${PLUGINS_HASH}/* "${S}"/plugins || die
67 51
	if use python-extensions; then
68
		mv "${WORKDIR}"/python-${PYTHON_EXTENSIONS_COMMIT}/* "${S}"/plugins/python/share/modules || die
69
		mv "${WORKDIR}"/jetbrains-albert-plugin-${JETBRAINS_PYTHON_EXTENSION_COMMIT}/* "${S}"/plugins/python/share/modules/jetbrains_projects || die
70
		mv "${WORKDIR}"/xkcd-albert-plugin-${XKCD_PYTHON_EXTENSION_COMMIT}/* "${S}"/plugins/python/share/modules/xkcd || die
52
		mv "${WORKDIR}"/python-${PYTHON_EXTENSIONS_COMMIT}/* "${S}"/plugins/python/plugins
71 53
	fi
72 54

  
73 55
	cmake_src_prepare
......
77 59
	local mycmakeargs=(
78 60
		-DBUILD_DEBUG=$(usex debug)
79 61
		-DBUILD_PYTHON=$(usex python)
80
		-DBUILD_VIRTUALBOX=$(usex virtualbox)
81
		-DBUILD_WITH_QTCHARTS=$(usex statistics)
82 62
	)
83 63

  
84 64
	cmake_src_configure
Спасибо!