diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2024-06-29 08:15:18 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-06-29 09:19:36 +0300 |
commit | f7e2df22f076aeea58534969f604f8d7c973a514 (patch) | |
tree | 1bbe8682b7162c98a3022792e91d5a1b9f672d9c | |
parent | dev-util/yamllint: add myself as a maintainer (diff) | |
download | gentoo-f7e2df22f076aeea58534969f604f8d7c973a514.tar.gz gentoo-f7e2df22f076aeea58534969f604f8d7c973a514.tar.bz2 gentoo-f7e2df22f076aeea58534969f604f8d7c973a514.zip |
app-misc/fastfetch: add 2.17.1
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rw-r--r-- | app-misc/fastfetch/Manifest | 1 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-2.17.1.ebuild | 110 |
2 files changed, 111 insertions, 0 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 43ddbe4a1deb..f3f175198bfe 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -3,3 +3,4 @@ DIST fastfetch-2.14.0.tar.gz 1083381 BLAKE2B bce9e8633d43ca50f1b35fa96a11c8d2cbd DIST fastfetch-2.15.0.tar.gz 1031800 BLAKE2B df41750c2281fb46c594004156b886d05863da7d7310ce21764fa3beb742f8c40bbec59464b947622682288ea16ca67626403ce42e792b6b1e6227d547deac98 SHA512 c2934432d23610e34d10cb66b13b0652619bdcb203dbc439fcd5e59a6a7814045ea90bf4d5dae12247f19e222a350cafee1184300845817d03ce6b0bcd947d2d DIST fastfetch-2.16.0.tar.gz 1044675 BLAKE2B 2c22fedef43155c71b3b0d4f590128699dc4d3f44211187f079e62baad338322bea60796bce8f6f23c1221174e1312d67c113b0ae3557a856b550756baebc077 SHA512 3a09e48775946876c69dfa8a739a090a18aa4598f455f6860d41962efeac2064127bf2a31d3a62ccc285682d12548402cf812eae01d56bc068b7855b0f00d4a7 DIST fastfetch-2.17.0.tar.gz 1050406 BLAKE2B 603ae631450ad252aedf85f35b2e3c7254b4afd6852e486bb5b3223df710a15b9c9912c9933d5f56bf5b7b83cb6d939dc5df555ac1b9c24c59b60dcc1a8299fc SHA512 d4bd481e2909c4d2d1230834611d227bec9a57472b72aabc8dbd6de345ced24f2416a089e5711eb7bc358b08bd62b8ad46914ef6b85c6a10a87f85b9f118c57b +DIST fastfetch-2.17.1.tar.gz 1050623 BLAKE2B 267343a913c5fa3b86483a9878bff689d59ac04d4ab8ea6e148242b208a9bf47f45f1e0508b92de2bc3eddb478335598a421a928ad2f951660614df8773151f7 SHA512 ec434b5af625a212b443da80a2b1b5b7bb3db71a1c4354a07c61f4e8d23774fcccec0514eba89a6a1e7ab72ade5b65289bb796573338f4d26a5dc5f9de103f42 diff --git a/app-misc/fastfetch/fastfetch-2.17.1.ebuild b/app-misc/fastfetch/fastfetch-2.17.1.ebuild new file mode 100644 index 000000000000..816bf1cfb879 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.17.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Fast neofetch-like system information tool" +HOMEPAGE="https://github.com/fastfetch-cli/fastfetch" +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fastfetch-cli/fastfetch.git" + [[ ${PV} == *0.1.9999 ]] && EGIT_BRANCH=master + [[ ${PV} == *0.2.9999 ]] && EGIT_BRANCH=dev + [[ "${EGIT_BRANCH}" == "" ]] && die "Please set a git branch" +else + SRC_URI="https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil drm gnome imagemagick networkmanager opencl opengl osmesa pulseaudio sqlite test vulkan wayland xcb xfce xrandr" +RESTRICT="!test? ( test )" + +# note - qa-vdb will always report errors because fastfetch loads the libs dynamically +# make sure to crank yyjson minimum version to match bundled version +RDEPEND=" + >=dev-libs/yyjson-0.9.0 + sys-libs/zlib + X? ( x11-libs/libX11 ) + chafa? ( media-gfx/chafa ) + dbus? ( sys-apps/dbus ) + ddcutil? ( app-misc/ddcutil:= ) + drm? ( x11-libs/libdrm ) + gnome? ( + dev-libs/glib + gnome-base/dconf + ) + imagemagick? ( media-gfx/imagemagick:= ) + networkmanager? ( net-misc/networkmanager ) + opencl? ( virtual/opencl ) + opengl? ( media-libs/libglvnd[X] ) + osmesa? ( media-libs/mesa[osmesa] ) + pulseaudio? ( media-libs/libpulse ) + sqlite? ( dev-db/sqlite:3 ) + vulkan? ( + media-libs/vulkan-loader + sys-apps/pciutils + ) + wayland? ( dev-libs/wayland ) + xcb? ( x11-libs/libxcb ) + xfce? ( xfce-base/xfconf ) + xrandr? ( x11-libs/libXrandr ) +" +DEPEND=" + ${RDEPEND} + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE=" + xrandr? ( X ) + chafa? ( imagemagick ) +" + +src_configure() { + local fastfetch_enable_imagemagick7=no + local fastfetch_enable_imagemagick6=no + if use imagemagick; then + fastfetch_enable_imagemagick7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no) + fastfetch_enable_imagemagick6=$(has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no) + fi + + local mycmakeargs=( + -DENABLE_RPM=no + -DENABLE_ZLIB=yes + -DENABLE_SYSTEM_YYJSON=yes + -DIS_MUSL=$(usex elibc_musl) + -DINSTALL_LICENSE=no + + -DENABLE_CHAFA=$(usex chafa) + -DENABLE_DBUS=$(usex dbus) + -DENABLE_DCONF=$(usex gnome) + -DENABLE_DDCUTIL=$(usex ddcutil) + -DENABLE_DRM=$(usex drm) + -DENABLE_EGL=$(usex opengl) + -DENABLE_GIO=$(usex gnome) + -DENABLE_GLX=$(usex opengl) + -DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6} + -DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7} + -DENABLE_LIBNM=$(usex networkmanager) + -DENABLE_OPENCL=$(usex opencl) + -DENABLE_OSMESA=$(usex osmesa) + -DENABLE_PULSE=$(usex pulseaudio) + -DENABLE_SQLITE3=$(usex sqlite) + -DENABLE_VULKAN=$(usex vulkan) + -DENABLE_WAYLAND=$(usex wayland) + -DENABLE_X11=$(usex X) + -DENABLE_XCB=$(usex xcb) + -DENABLE_XCB_RANDR=$(usex xcb) + -DENABLE_XFCONF=$(usex xfce) + -DENABLE_XRANDR=$(usex xrandr) + -DBUILD_TESTS=$(usex test) + ) + + append-cppflags -DNDEBUG + + cmake_src_configure +} |