-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsif-9999.ebuild
More file actions
48 lines (36 loc) · 956 Bytes
/
Copy pathsif-9999.ebuild
File metadata and controls
48 lines (36 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
inherit python-single-r1
DESCRIPTION="Fix runtime icons of Steam games"
HOMEPAGE="https://github.com/BlueManCZ/SIF"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="${HOMEPAGE}"
else
SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
S="${WORKDIR}/SIF-${PV}"
fi
LICENSE="Apache-2.0"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/vdf[${PYTHON_USEDEP}]
')
gui-libs/gtk:4
x11-misc/xdotool
"
src_install() {
insinto "/usr/share/${PN}"
doins database.json
exeinto "/usr/share/${PN}"
doexe fix-wm-class.sh sif.py
dosym "/usr/share/${PN}/sif.py" "/usr/bin/${PN}"
dodoc README.md
}