From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1701759-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3C5115802C for <garchives@archives.gentoo.org>; Fri, 20 Dec 2024 15:51:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5C88E08F3; Fri, 20 Dec 2024 15:51:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F0EAE08DA for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 15:51:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1C32340813 for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 15:51:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 323FE1F7A for <gentoo-commits@lists.gentoo.org>; Fri, 20 Dec 2024 15:51:07 +0000 (UTC) From: "Viorel Munteanu" <ceamac@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" <ceamac@gentoo.org> Message-ID: <1734709836.f8176b70cd95e04c52ca2b7f64ae35a7ce5aba5a.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/fastfetch/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/fastfetch/Manifest app-misc/fastfetch/fastfetch-2.32.1.ebuild X-VCS-Directories: app-misc/fastfetch/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: f8176b70cd95e04c52ca2b7f64ae35a7ce5aba5a X-VCS-Branch: master Date: Fri, 20 Dec 2024 15:51:07 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c1f3640f-f488-449f-8ef4-6db4c229647d X-Archives-Hash: 9ca38f275e39cc4b5af50c5fa681c349 commit: f8176b70cd95e04c52ca2b7f64ae35a7ce5aba5a Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Fri Dec 20 15:25:40 2024 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Fri Dec 20 15:50:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8176b70 app-misc/fastfetch: add 2.32.1 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> app-misc/fastfetch/Manifest | 1 + app-misc/fastfetch/fastfetch-2.32.1.ebuild | 125 +++++++++++++++++++++++++++++ 2 files changed, 126 insertions(+) diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest index dbea8182161a..11a29e26d265 100644 --- a/app-misc/fastfetch/Manifest +++ b/app-misc/fastfetch/Manifest @@ -2,3 +2,4 @@ DIST fastfetch-2.28.0.tar.gz 1131275 BLAKE2B dc119a91b61b6a868140cf7dad8854f998b DIST fastfetch-2.29.0.tar.gz 1136647 BLAKE2B 34e3d6d95bd19bb5d9bbfbc2c6f08af79dbe7175b2149c16684e9a7d8a9131efe27875eb08fad82e7dae320b5d75ebad4554f73f25f6bf8e63352059c71a0144 SHA512 75e483c0ca2ad5455f64074ed922865298a889455af0ff5197fc82d77df71da6a3e1dac061f24fcce010dae00a02ee037777f09a9320b2a93d71b275d5475af8 DIST fastfetch-2.30.1.tar.gz 1144835 BLAKE2B f44e0d8b74f124a1978403c0af61450eae4f668c0ed8e3d56505ede715366c90ad8099ae652a9afbb1c57ed2af01a930834a53ca6e871d6ad8078ce0179970f0 SHA512 626eaea5cb4ea3c61b44d24acf836734e7a04e8a3cf78bd0c8c3d4dcaf28bc165501906f97cc1423aadf8d822539e82251b65f3089780232dc214d07ce6aba7a DIST fastfetch-2.31.0.tar.gz 1149745 BLAKE2B 591fb659049e18366bb0d202a448f56b6a179f54a0b9d1eab8d096eb7b4025e5d91b99a93bd4d699e40217103b85cd75c9a52a93a6ef065ea88c096f11056e32 SHA512 636912c1cadfd95518b84f10d30413cf981e0e7d99c132cbaeaa60fe426ac58aa456150469238a401a83b763525117a94f2382f94df4692e9a236ed18981279e +DIST fastfetch-2.32.1.tar.gz 1158012 BLAKE2B 218df83a00bfc70dfea066d9ca647f1b9a768ac6f76be74533646185a9bddd10936a55bc9404518a9a4b21434a113199dc7fa5de866980b7fe10062cd8af193e SHA512 4fb6f75c8db6f1dbcf377d1df53a4c1d760940a8665db157c510e814b26e23f09cd308700549c965b65f5f973d520f1334a04f0ffe6efa9ae73da7d0d5c1048c diff --git a/app-misc/fastfetch/fastfetch-2.32.1.ebuild b/app-misc/fastfetch/fastfetch-2.32.1.ebuild new file mode 100644 index 000000000000..07ca45b47c22 --- /dev/null +++ b/app-misc/fastfetch/fastfetch-2.32.1.ebuild @@ -0,0 +1,125 @@ +# 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 + 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?] + X? ( x11-libs/libX11 ) + ) + 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} + opengl? ( X? ( x11-base/xorg-proto ) ) + xcb? ( x11-base/xorg-proto ) + xrandr? ( x11-base/xorg-proto ) + vulkan? ( dev-util/vulkan-headers ) +" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE=" + chafa? ( imagemagick ) +" + +pkg_pretend() { + if use X && ! use opengl; then + einfo 'USE="X" adds GLX support for USE="opengl"' + einfo 'This build with USE="X -opengl" will not include any extra X support.' + fi +} + +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 glx=no + if use opengl && use X; then + glx=yes + 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=${glx} + -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_XCB_RANDR=$(usex xcb) + -DENABLE_XFCONF=$(usex xfce) + -DENABLE_XRANDR=$(usex xrandr) + -DBUILD_TESTS=$(usex test) + ) + + append-cppflags -DNDEBUG + + cmake_src_configure +}