GNU Direvent is a daemon that monitors directories (using inotify) and reacts to file system events in them. It's more lightweight than running a bash script in an infinite loop and using sys-fs/inotify-tools to monitor a directory. It also allows you to monitor a directory tree recursively, a feature which inotify-tools doesn't have. I have written this ebuild with assistance from #gentoo-dev-help, I believe all the kinks have been worked out.
Created attachment 384548 [details] ebuild
Created attachment 384550 [details] init script
Created attachment 384552 [details] amd64 build log Compiles on my main machine (amd64)
Created attachment 384554 [details] arm build log Compiles on my raspberry pi (arm)
Created attachment 384556 [details] x86 build log Compiles in an x86 chroot
Created attachment 384564 [details] init script #2 Simplified init script
Created attachment 440984 [details] direvent-5.1.ebuild
Comment on attachment 440984 [details] direvent-5.1.ebuild That's without the init.d script and so on.