From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1618601-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 (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7BE90158041
	for <garchives@archives.gentoo.org>; Sun,  7 Apr 2024 18:26:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2E261E29EF;
	Sun,  7 Apr 2024 18:26:47 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 16695E29EF
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2024 18:26:47 +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 3176C343322
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2024 18:26:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F3171601
	for <gentoo-commits@lists.gentoo.org>; Sun,  7 Apr 2024 18:26:43 +0000 (UTC)
From: "Marek Szuba" <marecki@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, "Marek Szuba" <marecki@gentoo.org>
Message-ID: <1712514378.de1b3086be8fce45a5fb7a71652674b9edbd7cb1.marecki@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/vicious/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-plugins/vicious/Manifest x11-plugins/vicious/vicious-2.7.0.ebuild
X-VCS-Directories: x11-plugins/vicious/
X-VCS-Committer: marecki
X-VCS-Committer-Name: Marek Szuba
X-VCS-Revision: de1b3086be8fce45a5fb7a71652674b9edbd7cb1
X-VCS-Branch: master
Date: Sun,  7 Apr 2024 18:26:43 +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: 83f1d3a2-3dd3-4aa0-82d7-b51bb84acd1d
X-Archives-Hash: 4cad8ec3a1a4def152049800fe467e14

commit:     de1b3086be8fce45a5fb7a71652674b9edbd7cb1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 15:24:36 2024 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 18:26:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1b3086

x11-plugins/vicious: add 2.7.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 x11-plugins/vicious/Manifest             |  1 +
 x11-plugins/vicious/vicious-2.7.0.ebuild | 64 ++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/x11-plugins/vicious/Manifest b/x11-plugins/vicious/Manifest
index d9883a9fd1cd..be914313cc3c 100644
--- a/x11-plugins/vicious/Manifest
+++ b/x11-plugins/vicious/Manifest
@@ -1 +1,2 @@
 DIST vicious-2.6.0.tar.gz 69108 BLAKE2B de86326b8975511cf053e6707bdc133ad23c95cadd64190de326bfae2c710a2f97b7cbc102cf88f14e6ebfdeface2896862b52521ba5d83a47014bc7bd65d0d3 SHA512 d8107ab1bad80b115789d7dbda44568cee17546f76c03889028f61f8293d9c897eec1cb7f96b973a39f0c94889c13f13c6cbccb944390c80820a327691223af6
+DIST vicious-2.7.0.tar.gz 69420 BLAKE2B 5de98a40e2cf0c0d02820c4bc3a6c1f349a0a2efa9b1947ff39b522fe0c58ea92e1772e16d4b798147e985dcd37b4b8c31b67f3c4d791b3d1594af5d13d6b716 SHA512 683816be5a667671ae11b7aa1f5ca718a79f03ebdde8c38a44f2648c1cfd3facea256f0cad04f963ba00766427f8196050a77ff7446ef427a31adfeb0fb6799c

diff --git a/x11-plugins/vicious/vicious-2.7.0.ebuild b/x11-plugins/vicious/vicious-2.7.0.ebuild
new file mode 100644
index 000000000000..b76d5eb36a21
--- /dev/null
+++ b/x11-plugins/vicious/vicious-2.7.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit optfeature
+
+DESCRIPTION="Modular widget library for x11-wm/awesome"
+HOMEPAGE="https://github.com/vicious-widgets/vicious"
+SRC_URI="https://github.com/${PN}-widgets/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+IUSE="contrib"
+
+RDEPEND="x11-wm/awesome"
+
+src_install() {
+	insinto /usr/share/awesome/lib/vicious
+	doins -r widgets spawn.lua helpers.lua init.lua
+
+	if use contrib; then
+		insinto /usr/share/awesome/lib/vicious/contrib
+		doins contrib/*.lua
+	fi
+
+	einstalldocs
+}
+
+pkg_postinst() {
+	# Note that as of 2.5.1 this list may or may not be incomplete  - it has been produced
+	# only by searching for occurrences of vicious.spawn (the recommended way of calling
+	# external helpers because it supports async) and popen (still used by many contrib widgets).
+	# Moreover, dependencies of all non-Linux widgets have been excluded on purpose.
+	optfeature_header "These widgets need some dependencies:"
+	optfeature "cmus" "media-sound/cmus"
+	optfeature "fs" "sys-apps/coreutils" # df
+	optfeature "gmail" "net-misc/curl"
+	optfeature "hddtemp" "net-misc/curl[telnet] app-admin/hddtemp"
+	optfeature "hwmontemp" "sys-apps/grep"
+	optfeature "mdir" "sys-apps/findutils"
+	optfeature "mpd" "net-misc/curl[telnet] media-sound/mpd"
+	optfeature "notmuch" "net-mail/notmuch"
+	optfeature "volume" "media-sound/alsa-utils" # amixer
+	optfeature "weather" "net-misc/curl"
+	optfeature "wifi" "net-wireless/wireless-tools"
+	optfeature "wifiiw" "net-wireless/iw"
+	if use contrib; then
+		optfeature "contrib/btc" "net-misc/curl"
+		optfeature "contrib/buildbot" "net-misc/curl"
+		optfeature "contrib/countfiles" "sys-apps/findutils"
+		optfeature "contrib/mpc" "media-sound/mpc"
+		optfeature "contrib/openweather" "net-misc/curl"
+		optfeature "contrib/netcfg" "sys-apps/coreutils" # ls
+		optfeature "contrib/nvinf" "x11-drivers/nvidia-drivers" # nvidia-settings
+		# ossvol needs 'ossmix' - not packaged?
+		optfeature "contrib/pulse" "media-sound/pulseaudio" # pacmd
+		optfeature "contrib/rss" "net-misc/curl"
+		optfeature "contrib/sensors" "sys-apps/lm-sensors"
+		optfeature "contrib/wpa" "net-wireless/wpa_supplicant" # wpa-cli
+	fi
+	elog
+}