Diff neofetch-7.1.0 with a neofetch-7.1.0-r1
| /usr/portage/app-misc/neofetch/neofetch-7.1.0-r1.ebuild 2024-12-25 14:59:47.115270040 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| 5 | 5 | |
| 6 |
inherit prefix |
|
| 6 |
inherit optfeature prefix |
|
| 7 | 7 | |
| 8 | 8 |
if [[ ${PV} != *9999* ]]; then
|
| 9 | 9 |
SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
|
| 10 |
KEYWORDS="amd64 ~arm64 ~ppc64 x86" |
|
| 10 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~sparc x86 ~arm64-macos ~x64-macos" |
|
| 11 | 11 |
else |
| 12 | 12 |
inherit git-r3 |
| 13 | 13 |
EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git" |
| ... | ... | |
| 17 | 17 |
HOMEPAGE="https://github.com/dylanaraps/neofetch" |
| 18 | 18 |
LICENSE="MIT" |
| 19 | 19 |
SLOT="0" |
| 20 |
IUSE="X" |
|
| 21 | ||
| 22 |
RDEPEND="sys-apps/pciutils |
|
| 23 |
X? ( |
|
| 24 |
media-gfx/imagemagick |
|
| 25 |
media-libs/imlib2 |
|
| 26 |
www-client/w3m[imlib] |
|
| 27 |
x11-apps/xprop |
|
| 28 |
x11-apps/xrandr |
|
| 29 |
x11-apps/xwininfo |
|
| 30 |
)" |
|
| 31 | 20 | |
| 32 | 21 |
PATCHES=( |
| 33 | 22 |
"${FILESDIR}"/${P}-fix-arm-riscv-loongarch-cpu-model-detection.patch
|
| ... | ... | |
| 47 | 36 |
src_install() {
|
| 48 | 37 |
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
| 49 | 38 |
} |
| 39 | ||
| 40 |
pkg_postinst() {
|
|
| 41 |
optfeature "displaying images" "media-libs/imlib2 www-client/w3m[imlib]" |
|
| 42 |
optfeature "gpu detection" sys-apps/pciutils |
|
| 43 |
optfeature "thumbnail creation" media-gfx/imagemagick |
|
| 44 |
optfeature "wallpaper" media-gfx/feh x11-misc/nitrogen |
|
| 45 |
optfeature "window size" x11-misc/xdotool "x11-apps/xwininfo x11-apps/xprop" "x11-apps/xwininfo x11-apps/xdpyinfo" |
|
| 46 |
} |
|