Skip to content

Commit

Permalink
Add msys2 ucrt64 and clang64 repos (fixes #1400), minor tweaks to oth…
Browse files Browse the repository at this point in the history
…er msys2 repos
  • Loading branch information
AMDmi3 committed Jul 1, 2024
1 parent b0d50d5 commit 1cb1deb
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 15 deletions.
2 changes: 2 additions & 0 deletions repology-schemacheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
'mports',
'msys2_mingw',
'msys2_msys2',
'msys2_clang64',
'msys2_ucrt64',
'mx',
'openeuler',
'packman',
Expand Down
97 changes: 82 additions & 15 deletions repos.d/windows/msys2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
###########################################################################
# MSYS2
# See https://packages.msys2.org/repos for all repos
###########################################################################
- name: msys2_msys2
type: repository
desc: MSYS2 msys2
family: msys2
ruleset: [msys2, msys2_msys2, windows]
color: 'ef7f1a'
minpackages: 500
sources:
- name: x86_64
fetcher:
class: TarFetcher
url: http://repo.msys2.org/msys/x86_64/msys.db.tar.zst
parser:
class: MSYS2DescParser
subrepo: x86_64
repolinks:
- desc: MSYS2 homepage
url: http://www.msys2.org/
- desc: MSYS2 msys repository
url: http://repo.msys2.org/msys/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.msys2.org/package/{binname}?repo=msys&variant={subrepo}'
- type: PACKAGE_SOURCES
url: 'https://github.com/msys2/MSYS2-packages/tree/master/{srcname}'
- type: PACKAGE_RECIPE
url: 'https://github.com/msys2/MSYS2-packages/blob/master/{srcname}/PKGBUILD'
- type: PACKAGE_RECIPE_RAW
url: 'https://raw.githubusercontent.com/msys2/MSYS2-packages/master/{srcname}/PKGBUILD'
groups: [ all, production, msys2 ]

- name: msys2_mingw
type: repository
desc: MSYS2 mingw
Expand All @@ -9,26 +41,31 @@
color: 'ef7f1a'
minpackages: 2500
sources:
# NOTE: no database for source packages
- name: x86_64
fetcher:
class: TarFetcher
url: http://repo.msys2.org/mingw/x86_64/mingw64.db.tar.zst
parser:
class: MSYS2DescParser
subrepo: x86_64
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.msys2.org/package/{binname}?repo=mingw64'
- name: i686
fetcher:
class: TarFetcher
url: http://repo.msys2.org/mingw/i686/mingw32.db.tar.zst
parser:
class: MSYS2DescParser
subrepo: i686
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.msys2.org/package/{binname}?repo=mingw32'
repolinks:
- desc: MSYS2 homepage
url: http://www.msys2.org/
- desc: MSYS2 mingw repository
url: http://repo.msys2.org/mingw/
url: http://repo.msys2.org/mingw/mingw64/
packagelinks:
- type: PACKAGE_SOURCES
url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}'
Expand All @@ -38,32 +75,62 @@
url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD'
groups: [ all, production, msys2 ]

- name: msys2_msys2
- name: msys2_ucrt64
type: repository
desc: MSYS2 msys2
desc: MSYS2 ucrt64
family: msys2
ruleset: [msys2, msys2_msys2, windows]
ruleset: [msys2, msys2_ucrt64, windows]
color: 'ef7f1a'
minpackages: 500
minpackages: 2900
sources:
# NOTE: no database for source packages
- name: x86_64
- name: ucrt64
fetcher:
class: TarFetcher
url: http://repo.msys2.org/msys/x86_64/msys.db.tar.zst
url: http://repo.msys2.org/mingw/ucrt64/ucrt64.db.tar.zst
parser:
class: MSYS2DescParser
subrepo: x86_64
repolinks:
- desc: MSYS2 homepage
url: http://www.msys2.org/
- desc: MSYS2 msys repository
url: http://repo.msys2.org/msys/
- desc: MSYS2 ucrt64 repository
url: http://repo.msys2.org/mingw/ucrt64/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.msys2.org/package/{binname}?repo=ucrt64'
- type: PACKAGE_SOURCES
url: 'https://github.com/msys2/MSYS2-packages/tree/master/{srcname}'
url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}'
- type: PACKAGE_RECIPE
url: 'https://github.com/msys2/MSYS2-packages/blob/master/{srcname}/PKGBUILD'
url: 'https://github.com/msys2/MINGW-packages/blob/master/{srcname}/PKGBUILD'
- type: PACKAGE_RECIPE_RAW
url: 'https://raw.githubusercontent.com/msys2/MSYS2-packages/master/{srcname}/PKGBUILD'
url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD'
groups: [ all, production, msys2 ]

- name: msys2_clang64
type: repository
desc: MSYS2 clang64
family: msys2
ruleset: [msys2, msys2_clang64, windows]
color: 'ef7f1a'
minpackages: 2900
sources:
- name: clang64
fetcher:
class: TarFetcher
url: http://repo.msys2.org/mingw/clang64/clang64.db.tar.zst
parser:
class: MSYS2DescParser
repolinks:
- desc: MSYS2 homepage
url: http://www.msys2.org/
- desc: MSYS2 clang64 repository
url: http://repo.msys2.org/mingw/clang64/
packagelinks:
- type: PACKAGE_HOMEPAGE
url: 'https://packages.msys2.org/package/{binname}?repo=clang64'
- type: PACKAGE_SOURCES
url: 'https://github.com/msys2/MINGW-packages/tree/master/{srcname}'
- type: PACKAGE_RECIPE
url: 'https://github.com/msys2/MINGW-packages/blob/master/{srcname}/PKGBUILD'
- type: PACKAGE_RECIPE_RAW
url: 'https://raw.githubusercontent.com/msys2/MINGW-packages/master/{srcname}/PKGBUILD'
groups: [ all, production, msys2 ]

0 comments on commit 1cb1deb

Please sign in to comment.