Created KISS_DEPEND_HOOK as a hook to transform the dependency file when
read. This can be used to replace one package for another or completely
remove a package. If not set, cat is used.
In my setup I have KISS_DEPEND_HOOK="sed s/libjpeg-turbo/libjpeg/" set. My use case is to swap out 2 fully compatible dependencies like libjpeg-turbo with libjpeg without having to detect and fork every single package to make this trivial change.
Disclaimer: I submitted this to one of the forks and it was rejected
Thanks for the PR though I am not interested in this change.
I will eventually tackle dependencies and add more flexibility to their use.
Just give me some time. :)
Created KISS_DEPEND_HOOK as a hook to transform the dependency file when read. This can be used to replace one package for another or completely remove a package. If not set,
cat
is used.In my setup I have
KISS_DEPEND_HOOK="sed s/libjpeg-turbo/libjpeg/"
set. My use case is to swap out 2 fully compatible dependencies likelibjpeg-turbo
withlibjpeg
without having to detect and fork every single package to make this trivial change.Disclaimer: I submitted this to one of the forks and it was rejected