2023-09-27 21:41:16 +00:00
|
|
|
# known SITES.x
|
2023-10-14 08:04:15 +00:00
|
|
|
SITES.codeberg ?= https://codeberg.org/
|
2025-05-08 10:35:46 +00:00
|
|
|
SITES.fdo ?= https://gitlab.freedesktop.org/
|
2023-09-27 21:41:16 +00:00
|
|
|
SITES.github ?= https://github.com/
|
|
|
|
|
SITES.gitlab ?= https://gitlab.com/
|
2023-10-22 06:08:50 +00:00
|
|
|
SITES.kde ?= https://invent.kde.org/
|
2023-09-27 21:41:16 +00:00
|
|
|
SITES.srht ?= https://git.sr.ht/
|
2023-11-10 19:31:33 +00:00
|
|
|
SITES.gnome ?= https://gitlab.gnome.org/
|
2023-09-02 17:30:14 +00:00
|
|
|
|
2023-09-27 20:25:27 +00:00
|
|
|
# set EXTRACT_SUFX.x if different from TEMPLATE_EXTRACT_SUFX
|
|
|
|
|
TEMPLATE_EXTRACT_SUFX ?= .tar.gz
|
2023-09-02 17:30:14 +00:00
|
|
|
|
2023-09-04 22:26:55 +00:00
|
|
|
# templates for the DISTFILES.x; the following strings are substituted based on DIST_TUPLE
|
2023-09-02 17:30:14 +00:00
|
|
|
# - <account>
|
|
|
|
|
# - <project>
|
|
|
|
|
# - <id>
|
2023-09-04 22:26:55 +00:00
|
|
|
# - <subdir> - used automatically if <id> is in tag format
|
2023-10-14 08:04:15 +00:00
|
|
|
TEMPLATE_DISTFILES.codeberg ?= \
|
|
|
|
|
<account>-<project>-{<account>/<project>/archive/}<id>${EXTRACT_SUFX.codeberg}
|
|
|
|
|
|
2025-05-08 10:35:46 +00:00
|
|
|
TEMPLATE_DISTFILES.fdo ?= \
|
|
|
|
|
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.fdo}
|
|
|
|
|
|
2023-09-02 17:30:14 +00:00
|
|
|
TEMPLATE_DISTFILES.github ?= \
|
2023-09-04 15:32:56 +00:00
|
|
|
<account>-<project>-{<account>/<project>/archive/<subdir>}<id>${EXTRACT_SUFX.github}
|
2023-09-02 17:30:14 +00:00
|
|
|
|
|
|
|
|
TEMPLATE_DISTFILES.gitlab ?= \
|
|
|
|
|
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.gitlab}
|
|
|
|
|
|
2023-11-10 19:55:14 +00:00
|
|
|
TEMPLATE_DISTFILES.gnome ?= \
|
|
|
|
|
<account>-<project>-{<account>/<project>/-/archive/<id>/}<project>-<id>${EXTRACT_SUFX.gnome}
|
|
|
|
|
|
2023-10-22 06:08:50 +00:00
|
|
|
TEMPLATE_DISTFILES.kde ?= \
|
|
|
|
|
<account>-<project>-{<account>/<project>/-/archive/<id>/}<id>${EXTRACT_SUFX.kde}
|
|
|
|
|
|
2023-09-02 17:30:14 +00:00
|
|
|
TEMPLATE_DISTFILES.srht ?= \
|
|
|
|
|
<account>-<project>-{~<account>/<project>/archive/}<id>${EXTRACT_SUFX.srht}
|
|
|
|
|
|
2023-09-27 20:25:27 +00:00
|
|
|
# template for HOMEPAGE; same substitutions as for DISTFILES.x
|
|
|
|
|
# Defaults to TEMPLATE_HOMEPAGE. Set TEMPLATE_HOMEPAGE.x to use different pattern.
|
2023-09-27 21:41:16 +00:00
|
|
|
# - <site> - substituted, may correspond to SITES.x
|
2023-09-27 20:25:27 +00:00
|
|
|
TEMPLATE_HOMEPAGE ?= <site><account>/<project>
|
|
|
|
|
TEMPLATE_HOMEPAGE.srht ?= <site>~<account>/<project>
|