summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/fastfetch/Manifest1
-rw-r--r--app-misc/fastfetch/fastfetch-2.56.0.ebuild121
-rw-r--r--app-misc/upterm/Manifest2
-rw-r--r--app-misc/upterm/upterm-0.20.0.ebuild50
4 files changed, 174 insertions, 0 deletions
diff --git a/app-misc/fastfetch/Manifest b/app-misc/fastfetch/Manifest
index e3368c452964..75f63f3fecef 100644
--- a/app-misc/fastfetch/Manifest
+++ b/app-misc/fastfetch/Manifest
@@ -1,2 +1,3 @@
DIST fastfetch-2.54.0.tar.gz 1379634 BLAKE2B 5f28f278de3f7d637c4503c214958a1c3c2736cf0d65e2d9a4d74ba81fb6fb7f03365cc94d092bcf05281786e537a4f9771473ae45b78688bf3808b6685a329e SHA512 da8fa08efa3a4c800473a78b5b45abffacbd2fb88051cdd45cbfaa396cbcdf2580f0933ea951bdeb1b3bd9f91038162d891cfe6fe04146c9966e133505fe9927
DIST fastfetch-2.55.1.tar.gz 1386231 BLAKE2B ecbde6a370201d14923e7bfe00a1ff80de21b2077a41b01d32c8146ac086c1df223fb76f57bbdeb6f1d43850e4c9248906b50227a093f6ede429b3485ef67617 SHA512 b38c8dde25c0c105e7be65d414ab3f4ad26f4578c95b2d00bd482f24b2076a8a33d4f5bfd5a1ab400562bd4f9112ea3db7d5bebedfdc44694d0af626b710233e
+DIST fastfetch-2.56.0.tar.gz 1391952 BLAKE2B 5621f2c12969c9ed2509dd228f3e9ba54cd917b024c3cfd567d4c55db053f6d1010251d1fe017eb7fef6a5e1247dc0b49258ea56fc09d323c39811788112ac73 SHA512 cd10a4feb310c21a88c1454db6479772ffa7750c301c423558034f2d53adf13e054780258ea27cc029e28acf9243a4b946aa9a526ff7cce3acbb28d75758c20d
diff --git a/app-misc/fastfetch/fastfetch-2.56.0.ebuild b/app-misc/fastfetch/fastfetch-2.56.0.ebuild
new file mode 100644
index 000000000000..1e9b9ac5f357
--- /dev/null
+++ b/app-misc/fastfetch/fastfetch-2.56.0.ebuild
@@ -0,0 +1,121 @@
+# Copyright 2022-2025 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 pulseaudio sqlite test vulkan wayland xcb 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.12.0
+ sys-apps/hwdata
+ virtual/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 )
+ )
+ 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 )
+ 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 )
+"
+
+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 X; then
+ if use opengl; then
+ glx=yes
+ else
+ ewarn 'USE="X" adds GLX support for USE="opengl"'
+ ewarn 'This build with USE="X -opengl" will not include any extra X support.'
+ fi
+ fi
+
+ local mycmakeargs=(
+ -DENABLE_RPM=no
+ -DENABLE_ZLIB=yes
+ -DENABLE_SYSTEM_YYJSON=yes
+ -DIS_MUSL=$(usex elibc_musl)
+ -DINSTALL_LICENSE=no
+ -DBUILD_FLASHFETCH=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_PULSE=$(usex pulseaudio)
+ -DENABLE_SQLITE3=$(usex sqlite)
+ -DENABLE_VULKAN=$(usex vulkan)
+ -DENABLE_WAYLAND=$(usex wayland)
+ -DENABLE_XCB_RANDR=$(usex xcb)
+ -DENABLE_XRANDR=$(usex xrandr)
+ -DBUILD_TESTS=$(usex test)
+ )
+
+ append-cppflags -DNDEBUG
+
+ cmake_src_configure
+}
diff --git a/app-misc/upterm/Manifest b/app-misc/upterm/Manifest
index c671ab8b7242..e5827b61cc47 100644
--- a/app-misc/upterm/Manifest
+++ b/app-misc/upterm/Manifest
@@ -4,3 +4,5 @@ DIST upterm-0.18.0-vendor.tar.xz 3779868 BLAKE2B 846155c764437dbba34efbcf30424ee
DIST upterm-0.18.0.tar.gz 153200 BLAKE2B 08d281a35590dfa1e1df546873ac3903cd3848c83d80fae4d50161a6088299590e3624e989a7418aa5997a04e55e85115d9d5335f0f7d01d73b0c73013af5b15 SHA512 8cf4362bca36b1ce1aff9f48fc4a867a678bcf77de440413716207439cde8f3f91b5d6b2b4a265cdc253663ef3019e1de0876ef3aa4a77d28c74a6bcb359e471
DIST upterm-0.19.0-vendor.tar.xz 3928796 BLAKE2B 39fa1fa12984e85a299cac080dddbb08568c2ded2bf4f4cbaf5d3424aee0d155f672ad8ef7546c922a08d8bfea377683e1462a050fdc54ace46629f1b9944f46 SHA512 d74712ad6459b2bc74ebdfa065c7734f04624a4145a96f93ba3b51a4dd730a3e0563549d6dbbc35356c6c1c3d32810e09f88851bec568eb47565d6f34f6100a5
DIST upterm-0.19.0.tar.gz 160052 BLAKE2B 502b1abcca498f5fdf33ac7bb3b889bce0c1daa1865cab94ebaa7a6a44ee98cab0f7c113a639978abc4080f366e19b7de0732f61d879825b95b48eb9afad90f3 SHA512 3855c672e620586b5b8f0d34cd817ddb5521101cdabf9b1115e65991a47e968c5467d46c2a0a433ff90c849e225ab0901e2766762cdf4fbf1a7cf40c483e768f
+DIST upterm-0.20.0-vendor.tar.xz 3932452 BLAKE2B 813b6cdc050efe73eeb3bdc515faaeeee26f125d9a65064128202a51df542839e26c4d459dad8e29c37066d234fdcbfb4f8a984d8f2e1050255e04a1339b19e0 SHA512 31eb03f34b35f6df0a0c69010472c6700acd424de93e2a8743da2d64010137e3ecf34c01f5ca047c9a21d255b4efbf7fc6eaa0200c2335ebda660f73740bd82f
+DIST upterm-0.20.0.tar.gz 161410 BLAKE2B d80940f84ddc2e82f160c57746a18d53d0360eb80e855e19057e5fb3a6a241ce00e85048f74aa26c5b89a8a24e8f228e9232325f48302ab15d653925d251e1d3 SHA512 7430f9f8d3b6dd5997593575497a1b65327df5b3b0624cd636e9e425b76e8943b926cb189a3050bc18e6bf15764328d86aed20651af117f91295480a6fd578a5
diff --git a/app-misc/upterm/upterm-0.20.0.ebuild b/app-misc/upterm/upterm-0.20.0.ebuild
new file mode 100644
index 000000000000..668bda9b9d9c
--- /dev/null
+++ b/app-misc/upterm/upterm-0.20.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module shell-completion systemd
+
+DESCRIPTION="Instant Terminal Sharing"
+HOMEPAGE="https://upterm.dev/"
+SRC_URI="https://github.com/owenthereal/upterm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/gentoo-golang-dist/upterm/releases/download/v${PV}/${P}-vendor.tar.xz"
+
+LICENSE="Apache-2.0"
+# Dependent licenses
+LICENSE+=" Apache-2.0 BSD BSD-2 CC0-1.0 MIT MPL-2.0 Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="server test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ >=dev-lang/go-1.25.4
+ test? (
+ app-editors/vim
+ app-shells/bash
+ )
+"
+
+src_compile() {
+ local BINS=( ./cmd/upterm )
+ use server && BINS+=( ./cmd/uptermd )
+ ego build -o bin/ "${BINS[@]}"
+}
+
+src_test() {
+ ego test -vet=off -timeout=120s ./{cmd,server,io,host,memlistener,routing,internal,ftests}/...
+}
+
+src_install() {
+ dobin bin/upterm
+ doman etc/man/man1/*
+
+ newbashcomp etc/completion/upterm.bash_completion.sh upterm
+ newzshcomp etc/completion/upterm.zsh_completion _upterm
+
+ if use server; then
+ dobin bin/uptermd
+ systemd_dounit systemd/uptermd.service
+ fi
+}