diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-19 03:03:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-19 03:03:00 +0000 |
commit | f2e359c456b051f95efc92e21299d55a302e58ed (patch) | |
tree | 9d844c8fa1373b6f4244c1cfbe55eea7cdf62701 /app-misc/fastfetch | |
parent | f9f6fa91738181ebe9aca71b75d157d8b5df5335 (diff) |
gentoo auto-resync : 19:11:2024 - 03:03:00
Diffstat (limited to 'app-misc/fastfetch')
-rw-r--r-- | app-misc/fastfetch/Manifest | 2 | ||||
-rw-r--r-- | app-misc/fastfetch/fastfetch-2.30.1.ebuild | 111 |
2 files changed, 113 insertions, 0 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index 74ab35c2d8e1..9b9ee75b4cf4 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -1,9 +1,11 @@ DIST fastfetch-2.27.1.tar.gz 1123299 BLAKE2B 27a5dcba7c2b14baaf62e1372bc38e79c08654a00da4ebbd5f2918e1d2360745b61a5de45e9bdabf1295e03a7003da2db354133da0a19bd97013f59e60ae5637 SHA512 68742a963fd2df830ed8ef89548407bfd1eb5946f665c53fb1e4bc9b3ed3ae36db54ad0660d75395e5f4d239acfa51101cedba360a1a39f78c39f46c1fe559f6 DIST fastfetch-2.28.0.tar.gz 1131275 BLAKE2B dc119a91b61b6a868140cf7dad8854f998b05b04ed0b8d3c36597fb5f39594f46acda7f26f6aa43392015f36af40a45e2773524440295a944a17198f19d9ea00 SHA512 9a08da7328234caa9bd77ac2393e8c0f8006dc1e9d97f7ceec4d1b737899e0b10ae8b726485bdac70da49f985c5386a341806555c27dfb73fb35a513704352ee DIST fastfetch-2.29.0.tar.gz 1136647 BLAKE2B 34e3d6d95bd19bb5d9bbfbc2c6f08af79dbe7175b2149c16684e9a7d8a9131efe27875eb08fad82e7dae320b5d75ebad4554f73f25f6bf8e63352059c71a0144 SHA512 75e483c0ca2ad5455f64074ed922865298a889455af0ff5197fc82d77df71da6a3e1dac061f24fcce010dae00a02ee037777f09a9320b2a93d71b275d5475af8 +DIST fastfetch-2.30.1.tar.gz 1144835 BLAKE2B f44e0d8b74f124a1978403c0af61450eae4f668c0ed8e3d56505ede715366c90ad8099ae652a9afbb1c57ed2af01a930834a53ca6e871d6ad8078ce0179970f0 SHA512 626eaea5cb4ea3c61b44d24acf836734e7a04e8a3cf78bd0c8c3d4dcaf28bc165501906f97cc1423aadf8d822539e82251b65f3089780232dc214d07ce6aba7a EBUILD fastfetch-0.1.9999.ebuild 3140 BLAKE2B 590305770bf5609261c4f9650515fe09f901175753535457bf6aa233e37c8a1a17024646774c1305ecda4f179fb3c21779bc9618d601bd41f4df803e2606aea0 SHA512 6e31411e743d366098d2a2c548f3b02a64cace516a84156246b50cf076721e5a4093214e91219cbcbbb2baf7f84024b6f04fcb692af4a5d963cd3ba7d53f685d EBUILD fastfetch-0.2.9999.ebuild 3140 BLAKE2B 590305770bf5609261c4f9650515fe09f901175753535457bf6aa233e37c8a1a17024646774c1305ecda4f179fb3c21779bc9618d601bd41f4df803e2606aea0 SHA512 6e31411e743d366098d2a2c548f3b02a64cace516a84156246b50cf076721e5a4093214e91219cbcbbb2baf7f84024b6f04fcb692af4a5d963cd3ba7d53f685d EBUILD fastfetch-2.27.1.ebuild 3137 BLAKE2B 2ef89b3171766797ac6d0e6adc2ccfe382fa94b37ed9e60df81ab37ee316aab370a53fd69038c6f3c561d2b4c20dc9a29b511afb9e9e7065bde92a4c1b253299 SHA512 087bae54243297c377be64ee38c30efd118243b83bc0686ec165c65eb8a869ee83e7d1f61ee88a732e04288e542b2443dad9d0a9a53030d503b9419410b3a6ae EBUILD fastfetch-2.28.0.ebuild 3140 BLAKE2B 590305770bf5609261c4f9650515fe09f901175753535457bf6aa233e37c8a1a17024646774c1305ecda4f179fb3c21779bc9618d601bd41f4df803e2606aea0 SHA512 6e31411e743d366098d2a2c548f3b02a64cace516a84156246b50cf076721e5a4093214e91219cbcbbb2baf7f84024b6f04fcb692af4a5d963cd3ba7d53f685d EBUILD fastfetch-2.29.0.ebuild 3140 BLAKE2B 590305770bf5609261c4f9650515fe09f901175753535457bf6aa233e37c8a1a17024646774c1305ecda4f179fb3c21779bc9618d601bd41f4df803e2606aea0 SHA512 6e31411e743d366098d2a2c548f3b02a64cace516a84156246b50cf076721e5a4093214e91219cbcbbb2baf7f84024b6f04fcb692af4a5d963cd3ba7d53f685d +EBUILD fastfetch-2.30.1.ebuild 3140 BLAKE2B 590305770bf5609261c4f9650515fe09f901175753535457bf6aa233e37c8a1a17024646774c1305ecda4f179fb3c21779bc9618d601bd41f4df803e2606aea0 SHA512 6e31411e743d366098d2a2c548f3b02a64cace516a84156246b50cf076721e5a4093214e91219cbcbbb2baf7f84024b6f04fcb692af4a5d963cd3ba7d53f685d MISC metadata.xml 1179 BLAKE2B 8d17b388fd4cec14661b39e56997c818a1aaff73b52de225f5697d85e1042a50a0cef77d7b1636dd3caa852ae459d5bb00b0d0e3072769b4aa2db3d58366edf1 SHA512 bb2c646dcd7196406c2c16ea12c51f029c3f31b6a50e9c5cd7c2877650d50f5e03802d67006422b7e8fb2fafa241db5fd01d29321cdd1726bd5210f532b3b77d diff --git a/app-misc/fastfetch/fastfetch-2.30.1.ebuild b/app-misc/fastfetch/fastfetch-2.30.1.ebuild new file mode 100644 index 000000000000..6186f29ea3dc --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.30.1.ebuild @@ -0,0 +1,111 @@ +# 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 ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="X chafa dbus ddcutil drm elf gnome imagemagick 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.10.0 + sys-apps/hwdata + sys-libs/zlib + X? ( x11-libs/libX11 ) + chafa? ( media-gfx/chafa ) + dbus? ( sys-apps/dbus ) + ddcutil? ( app-misc/ddcutil:= ) + drm? ( x11-libs/libdrm ) + elf? ( virtual/libelf:= ) + gnome? ( + dev-libs/glib + gnome-base/dconf + ) + imagemagick? ( media-gfx/imagemagick:= ) + 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_ELF=$(usex elf) + -DENABLE_EGL=$(usex opengl) + -DENABLE_GIO=$(usex gnome) + -DENABLE_GLX=$(usex opengl) + -DENABLE_IMAGEMAGICK6=${fastfetch_enable_imagemagick6} + -DENABLE_IMAGEMAGICK7=${fastfetch_enable_imagemagick7} + -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 +} |