aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2022-04-22 22:45:55 +0300
committerViorel Munteanu <ceamac.paragon@gmail.com>2022-04-22 22:45:55 +0300
commit880b45f53899a8b5139751cd25fd95a821b90560 (patch)
tree1599775d6998bf0a3723ddad3a8b6cf35276de37 /app-misc
parentnet-misc/maestral: drop 1.6.1 (diff)
downloadguru-880b45f53899a8b5139751cd25fd95a821b90560.tar.gz
guru-880b45f53899a8b5139751cd25fd95a821b90560.tar.bz2
guru-880b45f53899a8b5139751cd25fd95a821b90560.zip
app-misc/fastfetch: add 1.3.1
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/fastfetch/Manifest1
-rw-r--r--app-misc/fastfetch/fastfetch-1.3.1.ebuild61
-rw-r--r--app-misc/fastfetch/fastfetch-9999.ebuild8
3 files changed, 66 insertions, 4 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index 2975c0653..03f1be2f1 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1,2 +1,3 @@
DIST fastfetch-1.2.3.tar.gz 328561 BLAKE2B d52ba5a41eda9cd12cca01ae0387854586f7e3d5594155a20c22fa311b919ade7f71b089c39eb8044ebfb38b486c5d259a1b9f6a671ac7c60e2b36ca5f9d21c5 SHA512 239f695239a181ffb3b1b8d836d67e2876d2e7bfa9d75f3dc74c615e5497e510d1610347b72e3a8a1c31295fd48f6cad4f108592e2cdc9261f209318ca74b154
DIST fastfetch-1.3.0.tar.gz 335013 BLAKE2B 7834a19225d1abfb9f81981b9fc445c9d989db050d89289a4e8a9c9fa620991d4a6f9c4aa5cb5eb861fdc8d73d98ec9bd1b8ec009544f78b983291fabe6e07e8 SHA512 46b835ac4b767703c32398fa97b64b64fde6874b92f34747ca675377796cdfa551c0a2697d6435dfd3818ded12520ef3c7cd6c79a9ade30e8a62c7d44ccd1882
+DIST fastfetch-1.3.1.tar.gz 335011 BLAKE2B 2ee30e3ee607bd03e6335c11112e140c0ebfb5c8e5ed0bdc3fb19c2d8f9f70a79ce2c8983a532fc9679860a90bfbd5aab5f0ba7e1b5ce1716ddf7625a69adfc0 SHA512 e2a4d235c692f1eff6d687ac1738538263a8d989f033f1238aad8a504d50df525c68ffe6462413e670c224e6f0e86d1a641b25d7da65924029067a46bc9987d3
diff --git a/app-misc/fastfetch/fastfetch-1.3.1.ebuild b/app-misc/fastfetch/fastfetch-1.3.1.ebuild
new file mode 100644
index 000000000..556a1a727
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-1.3.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Like neofetch but faster"
+HOMEPAGE="https://github.com/LinusDierheimer/fastfetch"
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/LinusDierheimer/fastfetch.git"
+else
+ SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="X gnome imagemagick pci vulkan wayland xcb xfce xrandr"
+
+# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
+RDEPEND="
+ sys-libs/zlib
+ X? ( x11-libs/libX11 )
+ gnome? (
+ dev-libs/glib
+ gnome-base/dconf
+ )
+ imagemagick? ( media-gfx/imagemagick:= )
+ pci? ( sys-apps/pciutils )
+ vulkan? ( media-libs/vulkan-loader )
+ wayland? ( dev-libs/wayland )
+ xcb? ( x11-libs/libxcb )
+ xfce? ( xfce-base/xfconf )
+ xrandr? ( x11-libs/libXrandr )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="xrandr? ( X )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_RPM=no
+ -DENABLE_VULKAN=$(usex vulkan)
+ -DENABLE_WAYLAND=$(usex wayland)
+ -DENABLE_XCB_RANDR=$(usex xcb)
+ -DENABLE_XCB=$(usex xcb)
+ -DENABLE_XRANDR=$(usex xrandr)
+ -DENABLE_X11=$(usex X)
+ -DENABLE_GIO=$(usex gnome)
+ -DENABLE_DCONF=$(usex gnome)
+ -DENABLE_XFCONF=$(usex xfce)
+ -DENABLE_IMAGEMAGICK7=$(use imagemagick && has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ -DENABLE_IMAGEMAGICK6=$(use imagemagick && has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ -DENABLE_ZLIB=yes
+ )
+
+ cmake_src_configure
+}
diff --git a/app-misc/fastfetch/fastfetch-9999.ebuild b/app-misc/fastfetch/fastfetch-9999.ebuild
index b3c3a92a3..e7a1378dd 100644
--- a/app-misc/fastfetch/fastfetch-9999.ebuild
+++ b/app-misc/fastfetch/fastfetch-9999.ebuild
@@ -16,17 +16,17 @@ fi
LICENSE="MIT"
SLOT="0"
-IUSE="X gnome pci vulkan wayland xcb xfce xrandr"
+IUSE="X gnome imagemagick pci vulkan wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
RDEPEND="
- media-gfx/imagemagick:=
sys-libs/zlib
X? ( x11-libs/libX11 )
gnome? (
dev-libs/glib
gnome-base/dconf
)
+ imagemagick? ( media-gfx/imagemagick:= )
pci? ( sys-apps/pciutils )
vulkan? ( media-libs/vulkan-loader )
wayland? ( dev-libs/wayland )
@@ -51,8 +51,8 @@ src_configure() {
-DENABLE_GIO=$(usex gnome)
-DENABLE_DCONF=$(usex gnome)
-DENABLE_XFCONF=$(usex xfce)
- -DENABLE_IMAGEMAGICK7=$(has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
- -DENABLE_IMAGEMAGICK6=$(has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ -DENABLE_IMAGEMAGICK7=$(use imagemagick && has_version '>=media-gfx/imagemagick-7.0.0' && echo yes || echo no)
+ -DENABLE_IMAGEMAGICK6=$(use imagemagick && has_version '<media-gfx/imagemagick-7.0.0' && echo yes || echo no)
-DENABLE_ZLIB=yes
)