Diff 0xtools-2.0.3-r5 with a 0xtools-9999
| /usr/portage/dev-util/0xtools/0xtools-9999.ebuild 2026-05-09 19:17:04.464336931 +0300 | ||
|---|---|---|
| 14 | 14 |
if [[ "${PV}" == *9999* ]] ; then
|
| 15 | 15 |
inherit git-r3 |
| 16 | 16 | |
| 17 |
EGIT_REPO_URI="https://github.com/tanelpoder/${PN}"
|
|
| 17 |
EGIT_REPO_URI="https://github.com/tanelpoder/${PN}.git"
|
|
| 18 | 18 |
else |
| 19 | 19 |
SRC_URI="https://github.com/tanelpoder/${PN}/archive/v${PV}.tar.gz
|
| 20 | 20 |
-> ${P}.tar.gz"
|
| ... | ... | |
| 52 | 52 | |
| 53 | 53 |
# C executables and scripts |
| 54 | 54 |
exeinto /usr/bin |
| 55 |
doexe bin/{cpumhz,vmtop,xcapture}
|
|
| 55 |
doexe bin/{cpumhz,vmtop,xcapture,xtop}
|
|
| 56 | 56 |
doexe bin/{run_xcapture.sh,run_xcpu.sh}
|
| 57 | 57 | |
| 58 | 58 |
# Python executables |
| ... | ... | |
| 74 | 74 |
doins bin/xcapture-bpf.c |
| 75 | 75 |
make_wrapper xcapture-bpf "/lib/${PN}/xcapture/xcapture-bpf"
|
| 76 | 76 | |
| 77 |
# There is a upstream command "xtop" that wraps around "xcapture-bpf" |
|
| 78 |
# but its broken because of dynamic path lookup for "xcapture-bpf". |
|
| 79 |
make_wrapper xtop "xcapture-bpf --xtop --clear-screen" |
|
| 80 | ||
| 81 | 77 |
# Service config |
| 82 | 78 |
insinto /etc/default |
| 83 | 79 |
newins xcapture.default xcapture |