Skip to content

Commit ee848af

Browse files
committed
Fix ebuilds and metadata: follow Gentoo conventions
- Update metadata.xml DOCTYPE to https - Use proper indentation (tabs) - Consolidate USE flags to single 'gui' flag - Simplify longdescription - Remove redundant dependencies (glibc) - Sort dependencies alphabetically - Remove empty IUSE declarations - Clean up metadata formatting Signed-off-by: Mathieu Roberge <[email protected]>
1 parent 6a60579 commit ee848af

File tree

2 files changed

+13
-41
lines changed

2 files changed

+13
-41
lines changed
Lines changed: 8 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
2+
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33
<pkgmetadata>
44
<maintainer type="person">
55
<email>[email protected]</email>
6-
<name>Mathieu Roberge (Techoraye)</name>
6+
<name>Mathieu Roberge</name>
77
</maintainer>
88
<maintainer type="project">
99
<email>[email protected]</email>
1010
<name>Proxy Maintainers</name>
1111
</maintainer>
12-
1312
<upstream>
1413
<remote-id type="github">Techoraye/gentoo-update</remote-id>
1514
</upstream>
16-
1715
<use>
18-
<flag name="notification">Enable desktop notifications support via libnotify</flag>
19-
<flag name="python">Enable system tray applet support with PyQt6</flag>
16+
<flag name="gui">Enable GUI features including desktop notifications and system tray applet</flag>
2017
</use>
21-
2218
<longdescription>
23-
Gentoo-Update is a fast, efficient update notifier and applier for Gentoo Linux
24-
written in C++. It assists users with important pre and post-update tasks.
25-
26-
Features:
27-
- Fast and efficient C++ implementation
28-
- Automatic repository synchronization (optional)
29-
- Display Gentoo news items
30-
- Service status checking and management
31-
- Highly configurable via configuration file
32-
- Color-coded output with optional color disable
33-
- Desktop notifications support
34-
- Preserved rebuild detection
35-
- Kernel update checking
36-
- Configuration file change detection
37-
- Package retention settings
38-
- Manual pages and shell completions
39-
- Support for both systemd and OpenRC
40-
- System tray applet (optional with Python support)
19+
gentoo-update is an update notifier and applier for Gentoo Linux that
20+
assists with pre and post-update tasks. It provides automatic repository
21+
synchronization, news display, service management, preserved rebuild
22+
detection, and kernel update checking. Supports both systemd and OpenRC.
4123
</longdescription>
42-
</pkgmetadata>
24+
</pkgmetadata>

app-misc/metetch/metetch-0.5.4.ebuild

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,18 @@ inherit cmake
77

88
DESCRIPTION="Fast system information display utility with modular customizable features"
99
HOMEPAGE="https://github.com/techoraye/metetch"
10-
SRC_URI="https://github.com/techoraye/metetch/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
10+
SRC_URI="https://github.com/techoraye/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
1111

1212
LICENSE="MIT"
1313
SLOT="0"
1414
KEYWORDS="~amd64"
15-
IUSE=""
1615

1716
RDEPEND="
18-
sys-libs/ncurses:=
1917
net-misc/curl
18+
sys-libs/ncurses:=
2019
"
21-
DEPEND="${RDEPEND}
22-
sys-libs/glibc
23-
"
24-
BDEPEND="
25-
virtual/pkgconfig
26-
"
27-
28-
S="${WORKDIR}/${PN}-${PV}"
20+
DEPEND="${RDEPEND}"
21+
BDEPEND="virtual/pkgconfig"
2922

3023
src_configure() {
3124
local mycmakeargs=(
@@ -36,8 +29,5 @@ src_configure() {
3629

3730
src_install() {
3831
cmake_src_install
39-
40-
# Install license
4132
einstalldocs
42-
newdoc LICENSE LICENSE.MIT
43-
}
33+
}

0 commit comments

Comments
 (0)