Diff qtfm-6.2.1 with a qtfm-99999

/usr/portage/x11-misc/qtfm/qtfm-99999.ebuild 2023-10-09 14:52:35.944368513 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit qmake-utils xdg
6
inherit cmake git-r3 xdg
7 7

  
8 8
DESCRIPTION="Small, lightweight file manager based on pure Qt"
9 9
HOMEPAGE="https://qtfm.eu/"
10
SRC_URI="https://github.com/rodlie/qtfm/archive/${PV}.tar.gz -> ${P}.tar.gz"
10
EGIT_REPO_URI="https://github.com/rodlie/qtfm/"
11 11

  
12 12
LICENSE="GPL-2+"
13 13
SLOT="0"
14
KEYWORDS="amd64 x86"
15
IUSE="+dbus shared"
14
KEYWORDS=""
15
IUSE="+dbus ffmpeg imagemagick"
16 16

  
17 17
RDEPEND="
18 18
	dev-qt/qtconcurrent:5
......
22 22
	dev-qt/qtwidgets:5
23 23
	sys-apps/file
24 24
	dbus? ( dev-qt/qtdbus:5 )
25
	ffmpeg? ( media-video/ffmpeg )
26
	imagemagick? ( >=media-gfx/imagemagick-7:= )
25 27
"
26 28
DEPEND="${RDEPEND}"
27 29
BDEPEND="
......
30 32
"
31 33

  
32 34
src_configure() {
33
	eqmake5 \
34
		$(usex dbus '' 'CONFIG+=no_dbus CONFIG+=no_tray') \
35
		$(usex shared 'CONFIG+=sharedlib' '') \
36
		$(usex shared 'CONFIG+=with_includes' '') \
37
		LIBDIR="/usr/$(get_libdir)" \
38
		PREFIX="/usr" \
39
		XDGDIR="/etc/xdg"
40
}
41

  
42
src_install() {
43
	emake INSTALL_ROOT="${D}" install
44
	einstalldocs
35
	local mycmakeargs=(
36
		-DENABLE_DBUS=$(usex dbus)
37
		-DENABLE_FFMPEG=$(usex ffmpeg)
38
		-DENABLE_MAGICK=$(usex imagemagick)
39
	)
40
	cmake_src_configure
45 41
}
Thank you!