-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(kde-misc/plasma-6-power-usage-widget): new ebuild
- Loading branch information
Showing
5 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
34 changes: 34 additions & 0 deletions
34
kde-misc/plasma-6-power-usage-widget/plasma-6-power-usage-widget-20240819.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
31 changes: 31 additions & 0 deletions
31
kde-misc/plasma-6-power-usage-widget/plasma-6-power-usage-widget-9999.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |