Diff lumina-1.6.2 with a lumina-9999

/usr/portage/x11-wm/lumina/lumina-9999.ebuild 2023-10-09 14:52:36.000368514 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=8
4
EAPI=7
5 5

  
6
PLOCALES="af ar az bg bn bs ca cs cy da de el en_AU en_GB en_ZA es et eu fa fi fr fr_CA fur gl he hi hr hu id is it ja ka ko lt lv mk mn ms mt nb ne nl pa pl pt pt_BR ro ru sa sk sl sr sv sw ta tg th tr uk ur uz vi zh_CN zh_HK zh_TW zu"
7
inherit plocale qmake-utils xdg
6
inherit git-r3 qmake-utils
8 7

  
9 8
DESCRIPTION="Lumina desktop environment"
10 9
HOMEPAGE="https://lumina-desktop.org/"
11
SRC_URI="https://github.com/trueos/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
10
EGIT_REPO_URI="https://github.com/trueos/lumina"
12 11

  
13 12
LICENSE="BSD"
14 13
SLOT="0"
15
KEYWORDS="amd64 x86"
14
KEYWORDS=""
16 15
IUSE="desktop-utils"
17 16

  
18 17
DEPEND="
19 18
	dev-qt/qtconcurrent:5
20 19
	dev-qt/qtcore:5
21
	dev-qt/qtdbus:5
22 20
	dev-qt/qtdeclarative:5
23 21
	dev-qt/qtgui:5
24 22
	dev-qt/qtmultimedia:5[widgets]
25
	dev-qt/qtnetwork:5[ssl]
26
	dev-qt/qtprintsupport:5
23
	dev-qt/qtnetwork:5
27 24
	dev-qt/qtsvg:5
28 25
	dev-qt/qtwidgets:5
29 26
	dev-qt/qtx11extras:5
30 27
	x11-libs/libxcb:0
31 28
	x11-libs/xcb-util
32 29
	x11-libs/xcb-util-image
33
	x11-libs/xcb-util-wm
34
	desktop-utils? ( app-text/poppler[qt5] )"
30
	x11-libs/xcb-util-wm"
35 31

  
36 32
RDEPEND="${DEPEND}
37 33
	app-admin/sysstat
......
51 47
S="${WORKDIR}/${P/_/-}"
52 48

  
53 49
PATCHES=(
54
	"${FILESDIR}/1.6.1-desktop-files.patch"
50
	"${FILESDIR}/1.2.0-desktop-files.patch"
55 51
)
56 52

  
57
DOCS=( README.md )
58

  
59 53
src_prepare() {
60 54
	default
61 55

  
......
63 57
		rm -rf src-qt5/desktop-utils || die
64 58
		sed -e "/desktop-utils/d" -i src-qt5/src-qt5.pro || die
65 59
	fi
66

  
67
	plocale_find_changes "${S}/src-qt5/core/${PN}-desktop/i18n" "${PN}-desktop_" '.ts'
68 60
}
69 61

  
70 62
src_configure() {
71 63
	eqmake5 PREFIX="${EPREFIX}/usr" LIBPREFIX="${EPREFIX}/usr/$(get_libdir)" \
72
		CONFIG+=WITH_I18N QMAKE_CFLAGS_ISYSTEM=
64
		DESTDIR="${D}" CONFIG+=WITH_I18N QMAKE_CFLAGS_ISYSTEM=
73 65
}
74 66

  
75 67
src_install() {
76
	emake install INSTALL_ROOT="${D}"
77
	einstalldocs
78
	exeinto /etc/X11/Sessions
79
	newexe "${FILESDIR}/lumina-session" lumina ||die
80

  
81
	remove_locale() {
82
		rm -f "${ED}"/usr/share/${PN}-desktop/i18n/l*_${1}.qm
83

  
84
	}
85
	plocale_for_each_disabled_locale remove_locale
68
	default
69
	mv "${ED}"/etc/luminaDesktop.conf{.dist,} || die
70
	rm "${ED}"/${PN}-* "${ED}"/start-${PN}-desktop || die
86 71
}
Thank you!