Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread Ionen Wolkens
On Sat, Mar 08, 2025 at 10:34:31PM -0500, Ionen Wolkens wrote: > Sending this to dev ML in advance given it's simple and "probably" > won't need to change the code further. > > If interested in the whole deal, see the PR instead: > https://github.com/gentoo/gentoo/pull/40942 On a side-note, the ff

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread Ionen Wolkens
On Sun, Mar 09, 2025 at 12:45:37PM -0400, Eli Schwartz wrote: > On 3/8/25 10:34 PM, Ionen Wolkens wrote: > > Sending this to dev ML in advance given it's simple and "probably" > > won't need to change the code further. > > > > If interested in the whole deal, see the PR instead: > > https://github

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread Eli Schwartz
On 3/8/25 10:34 PM, Ionen Wolkens wrote: > Sending this to dev ML in advance given it's simple and "probably" > won't need to change the code further. > > If interested in the whole deal, see the PR instead: > https://github.com/gentoo/gentoo/pull/40942 > > --- (actual commit message below) > >

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread Ionen Wolkens
On Sun, Mar 09, 2025 at 10:33:13AM +, James Le Cuirot wrote: > On Sun, 2025-03-09 at 06:27 -0400, Ionen Wolkens wrote: > > On Sun, Mar 09, 2025 at 10:17:42AM +, James Le Cuirot wrote: > > > > +ffmpeg_compat_setup() { > > > > + (( ${#} == 1 )) || die "Usage: ${FUNCNAME} " > > > > + > >

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread James Le Cuirot
On Sun, 2025-03-09 at 06:27 -0400, Ionen Wolkens wrote: > On Sun, Mar 09, 2025 at 10:17:42AM +, James Le Cuirot wrote: > > > +ffmpeg_compat_setup() { > > > + (( ${#} == 1 )) || die "Usage: ${FUNCNAME} " > > > + > > > + local path=${SYSROOT}$(ffmpeg_compat_get_prefix "${1}") > > > + [[ ${PKG_CON

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread Ionen Wolkens
On Sun, Mar 09, 2025 at 10:17:42AM +, James Le Cuirot wrote: > > +ffmpeg_compat_setup() { > > + (( ${#} == 1 )) || die "Usage: ${FUNCNAME} " > > + > > + local path=${SYSROOT}$(ffmpeg_compat_get_prefix "${1}") > > + [[ ${PKG_CONFIG_PATH} =~ (.*)"${path}"/[^/]+/pkgconfig:(.*) ]] && > > +

Re: [gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-09 Thread James Le Cuirot
On Sat, 2025-03-08 at 22:34 -0500, Ionen Wolkens wrote: > Sending this to dev ML in advance given it's simple and "probably" > won't need to change the code further. > > If interested in the whole deal, see the PR instead: > https://github.com/gentoo/gentoo/pull/40942 > > --- (actual commit messa

[gentoo-dev] [PATCH] ffmpeg-compat.eclass: new eclass

2025-03-08 Thread Ionen Wolkens
Sending this to dev ML in advance given it's simple and "probably" won't need to change the code further. If interested in the whole deal, see the PR instead: https://github.com/gentoo/gentoo/pull/40942 --- (actual commit message below) Both the slotting method and eclass are meant to be as simp