On Sat, Oct 21, 2023 at 02:27:55PM +0200, Rafael Sadowski wrote: > On Sat Oct 21, 2023 at 06:32:04AM -0400, Thomas Frohwein wrote: > > On Sat, Oct 21, 2023 at 12:06:04PM +0200, Rafael Sadowski wrote: > > > Straightforwardly, this adds support for KDE so that it can be used in > > > DIST_TUPLES. > > > > > > With help from Thomas successfully tested with: > > > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d . > > > > > > OK? > > > > Is or can this be used as the SITES for more kde ports? I only see it > > showing up in HOMEPAGE for e.g. graphics/kquickimageeditor > > Almost all KDE projects hosted there but what is more important for > use/me is that we can use the Qt5/KDE patched collection now. All > details here: > > https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection > > That is there reason why it tasted with: > > > DIST_TUPLE = kde qt qt/qtbase ea7a183732c17005f08ca14fd70cdd305c90396d .
Please go ahead, sounds like a great use case for DIST_TUPLE! > > > > > > > > > Index: dist-tuple.pattern > > > =================================================================== > > > RCS file: /cvs/ports/infrastructure/db/dist-tuple.pattern,v > > > retrieving revision 1.7 > > > diff -u -p -r1.7 dist-tuple.pattern > > > --- dist-tuple.pattern 14 Oct 2023 08:04:15 -0000 1.7 > > > +++ dist-tuple.pattern 21 Oct 2023 10:04:22 -0000 > > > @@ -1,4 +1,5 @@ > > > # known SITES.x > > > +SITES.kde ?= https://invent.kde.org/ > > > SITES.codeberg ?= https://codeberg.org/ > > > SITES.github ?= https://github.com/ > > > SITES.gitlab ?= https://gitlab.com/ > > > @@ -12,6 +13,9 @@ TEMPLATE_EXTRACT_SUFX ?= .tar.gz > > > # - <project> > > > # - <id> > > > # - <subdir> - used automatically if <id> is in tag format > > > +TEMPLATE_DISTFILES.kde ?= \ > > > + > > > <account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.kde} > > > + > > > TEMPLATE_DISTFILES.codeberg ?= \ > > > > > > <account>-<project>-{<account>/<project>/archive/}<id>${EXTRACT_SUFX.codeberg} > > > > > >