forked from repology/repology-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path440.mingw.yaml
46 lines (40 loc) · 3.42 KB
/
440.mingw.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# vim: tabstop=39 expandtab softtabstop=39 nomodeline
# Special handling of wildcard rules for mingw packages:
# - first, we accumulate them under mingw: namespace
# - next, we remove mingw: prefix to flatten them with their "normal" counterparts
- { setname: "mingw:$1", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw-(.*)", ruleset: [ centos, fedora, mageia ] }
- { setname: "mingw:$1", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw32-(.*)", ruleset: [ centos, sisyphus, freebsd ] }
- { setname: "mingw:$1", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw-w64-(.*)", ruleset: [ aur ] }
- { setname: "mingw:$2", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw64-(i686|x86_64)-(.*)", ruleset: cygwin, addflavor: $1 }
- { setname: "mingw:$2", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw-w64-(i686|x86_64)-(.*)", ruleset: pkgsrc, addflavor: $1 }
- { setname: "mingw:$1", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw-w64-(.*)", ruleset: alpine }
- { setname: "mingw:$1", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "crossmingw32-(.*)", ruleset: pld }
- { setname: "mingw:$2", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "mingw((?:32|64)(?:-cross)?)-(.*)", ruleset: opensuse, addflavor: $1 }
- { setname: "mingw:$2", addflag: mingw_once, noflag: [mingw_once,not_wildcard,not_mingw], namepat: "(i686|x86_64)-w64-mingw32-(.*)", ruleset: macports, addflavor: $1 }
# NOTE: you don't need to add mingw flavor above - it's added below; only arch-specific flavor should be added
# Note that this has its own set of exceptions; we leave mingw-specific
# parts (like different wrapper scripts) under mingw
- { setname: mingweditline, name: "mingw:editline" }
- { addflag: not_unmingw, name: "mingw:bin-msvcrt" }
- { addflag: not_unmingw, name: "mingw:cmake" }
- { addflag: not_unmingw, name: "mingw:cmake-static" }
- { addflag: not_unmingw, name: "mingw:configure" }
- { addflag: not_unmingw, name: "mingw:crt" }
- { addflag: not_unmingw, name: "mingw:directx" } # does it belong here?
- { addflag: not_unmingw, name: "mingw:docbook-wrapper" }
- { addflag: not_unmingw, name: "mingw:endian" }
- { addflag: not_unmingw, name: "mingw:environment" }
- { addflag: not_unmingw, name: "mingw:flex-wrapper" }
- { addflag: not_unmingw, name: "mingw:headers" }
- { addflag: not_unmingw, name: "mingw:headers-bootstrap" }
- { addflag: not_unmingw, name: "mingw:ldd" }
- { addflag: not_unmingw, name: "mingw:libcharset" } # valid library, but mingw-specific
- { addflag: not_unmingw, name: "mingw:make" }
- { addflag: not_unmingw, name: "mingw:meson" }
- { addflag: not_unmingw, name: "mingw:mman-win32" }
- { addflag: not_unmingw, name: "mingw:pthreads" }
- { addflag: not_unmingw, name: "mingw:resource" }
- { addflag: not_unmingw, name: "mingw:runtime" }
- { addflag: not_unmingw, name: "mingw:tools" }
- { addflag: not_unmingw, name: "mingw:w64-tools" }
- { setname: "$1", noflag: not_unmingw, namepat: "mingw:(.*)", addflavor: mingw }