Skip to content

Commit

Permalink
feat(kde-misc/plasma-6-power-usage-widget): new ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiderX committed Sep 29, 2024
1 parent f944602 commit 2cbc426
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nest overlay

[![Number of ebuilds: 958](https://img.shields.io/badge/ebuild-958-orange.svg)](https://img.shields.io/badge/ebuild-958-orange.svg)
[![Number of ebuilds: 959](https://img.shields.io/badge/ebuild-959-orange.svg)](https://img.shields.io/badge/ebuild-959-orange.svg)
[![GitHub repo size in bytes](https://img.shields.io/github/repo-size/SpiderX/portage-overlay.svg)](https://img.shields.io/github/repo-size/SpiderX/portage-overlay.svg)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/2323/badge)](https://bestpractices.coreinfrastructure.org/en/projects/2323)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&logoColor=white)](https://www.conventionalcommits.org)
Expand Down Expand Up @@ -850,6 +850,7 @@ This overlay consists of an [Gentoo Portage](https://www.gentoo.org/) ebuilds fo
* kde-misc/[latte_slideshow_wallpaper](https://github.com/psifidotos/latte_slideshow_wallpaper) | Plasma 5 Wallpaper plugin that informs Latte about background
* kde-misc/[lightly](https://github.com/Luwx/Lightly) | KDE theme style with aim to be visually modern and minimalistic
* kde-misc/[paneltransparencybutton](https://github.com/psifidotos/paneltransparencybutton) | Enable/disable transparency for specific plasma panels
* kde-misc/[plasma-6-power-usage-widget](https://github.com/magillos/Plasma-6-power-usage-widget) | Plasma 6 compatibile widget showing power usage
* kde-misc/[plasma-applet-ambientnoise](https://github.com//plasma-applet-ambientnoise) | Plasma widget for play ambient noise
* kde-misc/[plasma-applet-eventcalendar](https://github.com/Zren/plasma-applet-eventcalendar) | Plasmoid for a calendar and agenda with weather
* kde-misc/[plasma-applet-favoriteFolders](https://github.com/enky-marte/plasma-applet-favoriteFolders) | Plasma 5 widget for quick access to favorite folders
Expand Down
1 change: 1 addition & 0 deletions kde-misc/plasma-6-power-usage-widget/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST plasma-6-power-usage-widget-20240819.tar.gz 42571 BLAKE2B 9105c74e1c7057fe7f3f31ce93c6757657fbd2aad826c1336808411a3e3ebbe2eda75c9286c78f731be5b79c2892d2dda185a4a635e688a0bbd75968148b7398 SHA512 6f4ca44e752b81dce87d3eb6b5d4e02fd4d48993bd930b86af8e0bfae98c3b48b1e580c8c62ba1e3a350933acd2c0dab007e7b5580ab8b9dd596e9a94fb6dd25
22 changes: 22 additions & 0 deletions kde-misc/plasma-6-power-usage-widget/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
The widget shows power consumption or charging rate expressed in Watts.
Power usage is expressed as negative value. When battery is charging, a bolt symbol
is displayed. When battery is fully charged, just the bolt symbol shows.
Font and update interval can be set in options. There is also an option to trigger
red font when power usage goes above set value.
</longdescription>
<upstream>
<remote-id type="github">magillos/Plasma-6-power-usage-widget</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit ecm

COMMIT="0c469126da36333933e3aa73e2d0d8f8071fe0c2"

DESCRIPTION="Plasma 6 compatibile widget showing power usage"
HOMEPAGE="https://github.com/magillos/Plasma-6-power-usage-widget"
SRC_URI="https://github.com/magillos/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN^}-${COMMIT}"

LICENSE="GPL-3"
SLOT="6"
KEYWORDS="~amd64 ~x86"

RDEPEND="kde-plasma/plasma-workspace:6"

src_prepare() {
default
}

src_configure() { :; }

src_compile() { :; }

src_install() {
default

insinto /usr/share/plasma/plasmoids/org.kde.plasma.powerusage
doins -r Power-Usage
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

EGIT_REPO_URI="https://github.com/magillos/${PN}.git"

inherit ecm

DESCRIPTION="Plasma 6 compatibile widget showing power usage"
HOMEPAGE="https://github.com/magillos/Plasma-6-power-usage-widget"

LICENSE="GPL-3"
SLOT="6"

RDEPEND="kde-plasma/plasma-workspace:6"

src_prepare() {
default
}

src_configure() { :; }

src_compile() { :; }

src_install() {
default

insinto /usr/share/plasma/plasmoids/org.kde.plasma.powerusage
doins -r Power-Usage
}

0 comments on commit 2cbc426

Please sign in to comment.