Diff cpu-x-3.2.4 with a cpu-x-9999

/var/lib/layman/calculate/sys-process/cpu-x/cpu-x-9999.ebuild 2019-12-07 02:25:53.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

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

  
8 8
MY_PN="CPU-X"
9 9
DESCRIPTION="A Free software that gathers information on CPU, motherboard and more"
10 10
HOMEPAGE="https://x0rg.github.io/CPU-X"
11
SRC_URI="https://github.com/X0rg/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11
EGIT_REPO_URI="https://github.com/X0rg/${MY_PN}.git"
12 12
LICENSE="GPL-3+"
13 13
SLOT="0"
14
KEYWORDS="-* amd64 x86"
15
IUSE="+bandwidth check-update +dmidecode force-libstatgrab +gtk ignore-staticlibs +libcpuid +libpci +ncurses +nls portable"
16
REQUIRED_USE="ignore-staticlibs? ( portable )"
17
RESTRICT="primaryuri"
14
IUSE="+bandwidth check-update +dmidecode force-libstatgrab +gtk +libcpuid +libpci +ncurses +nls"
18 15

  
19 16
DEPEND="
20 17
	check-update? (
21 18
		dev-libs/json-c:=
22 19
		net-misc/curl
23 20
	)
24
	!force-libstatgrab? ( sys-process/procps:= )
25 21
	force-libstatgrab? ( sys-libs/libstatgrab )
22
	!force-libstatgrab? ( sys-process/procps:= )
26 23
	gtk? ( >=x11-libs/gtk+-3.12:3 )
27 24
	libcpuid? ( >=sys-libs/libcpuid-0.3.0:= )
28 25
	libpci? ( sys-apps/pciutils )
......
36 33

  
37 34
RDEPEND="${DEPEND}"
38 35

  
39
S="${WORKDIR}/${MY_PN}-${PV}"
40

  
41 36
PATCHES=(
42 37
	"${FILESDIR}/${P}-custom-build-fix.patch"
43
	"${FILESDIR}/${P}-static-libs-fix.patch"
44 38
)
45 39

  
46 40
src_prepare() {
......
60 54
		-DWITH_DMIDECODE=$(usex dmidecode)
61 55
		-DWITH_BANDWIDTH=$(usex bandwidth)
62 56
		-DFORCE_LIBSTATGRAB=$(usex force-libstatgrab)
63
		-DPORTABLE_BINARY=$(usex portable)
64
		-DIGNORE_STATICLIBS=$(usex ignore-staticlibs)
65 57
	)
66 58

  
67 59
	cmake-utils_src_configure
Thank you!