app-misc/fastfetch: drop 0.619

Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
This commit is contained in:
Viorel Munteanu
2022-03-20 21:02:22 +02:00
parent 13246eee06
commit 9655823dab
2 changed files with 0 additions and 73 deletions

View File

@@ -1,2 +1 @@
DIST fastfetch-0.619.tar.gz 327381 BLAKE2B c85425478fa1cf42570232927e7bbd12b53cd450925a64ff21318ea9a3f22544d66e66b32f4f5b33a660082ca0dfc8666cc8b705078c8cec29de657385e1d564 SHA512 57ba0697e0b2f1d984a4ede21b50873a7ba0381b54eed07ad508fc454903e3dbcdfdb6ac6456141aff5cf0ce6d880f58f4343b2cad6e785491b397ab7413329e
DIST fastfetch-1.0.0.tar.gz 326757 BLAKE2B 65a63a930bcc59f8ffc95f41515ea1eb924803c9365d830a8b5f17627b64ba4b64795cc5c3af24d0971fd8969f557fcd398234fca845481b38417ebe3ea0177c SHA512 c32df2276176e475c434ea9aae60debd9d05b0fed1861f2b1ce659ff693d98b181bf54aeb35abbd80944d72fd2280d2b7325f91eef1ee124083a81c46c9c7a10

View File

@@ -1,72 +0,0 @@
# 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
COMMIT="0f6e266fc3142cb214920852fd127e868dc7a61c"
VERSION_REV="0f6e266"
SRC_URI="https://github.com/LinusDierheimer/fastfetch/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
fi
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="X gnome pci vulkan wayland xcb xfce xrandr"
# note - qa-vdb will always report errors because fastfetch loads the libs dynamically
RDEPEND="
X? ( x11-libs/libX11 )
gnome? (
dev-libs/glib
gnome-base/dconf
)
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)
)
if [[ ${PV} == *9999 ]]; then
elog "REV=\"r$(git rev-list --count HEAD)\""
elog "COMMIT=\"$(git rev-parse HEAD)\""
elog "VERSION_REV=\"$(git rev-parse --short HEAD)\""
else
# version comes from git, fake it
local project_version_major=$(ver_cut 2)
mycmakeargs+=(
-DPROJECT_VERSION="r${project_version_major}.${VERSION_REV}"
-DPROJECT_VERSION_MAJOR="${project_version_major}"
)
fi
cmake_src_configure
}