r/Gentoo • u/Delta_44_ • 28m ago
Discussion I created my first ebuilds! - I'd like suggestions and opinions
EDIT: I will migrate to a friend's gitea istance tomorrow, for now only the raw files are visible because I just made a gitea account with their free plan, to get away from github after it pissed me off one time too much
------------------------------------------------------------------------
Hi everyone!
I am someone who uses linux since he's little, gentoo was something I tried when I was 12 too.
I went full-linux in 2020 finally, as a long-time user I loved how it had improved, for gaming too since I also play a lot, when I don't break everything with my experiments.
Well... after a lot of time I decided to create my first ebuild, I have done a lot of things in my life and in my gentoo journey, yet no ebuilds.
I suddenly wanted to use an OpenRGB plugin, hardware-sync-plugin (it reads temperature of components and displays a different color, in my case green -> yellow -> red)
There was no ebuild in gentoo nor in guru, and since if I enable "yet another giant repository" for one package, I'm sure it will want to update other packages or mess with them; no thanks.
Well, here you go:
- openrgb-hardware-sync, current stable
- openrgb-hardware-sync, 9999 ebuild
I'd like suggestions to improve, maybe to put them in guru eventually, I'm new to this, they are mostly for personal use and to experiment with ebuilds.
I didn't use any LLM (except for build 1.0.2 in `src_prepare()`... I never used `sed`, the syntax is cursed, almost like regex), all documentation from gentoo, I despise delegating my thinking skills to "AI".