Ravenports generated: 02 Dec 2019 21:21
[ravenports.git] / bucket_B3 / meson
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               meson
4 VERSION=                0.52.1
5 KEYWORDS=               devel python
6 VARIANTS=               standard
7 SDESC[standard]=        High performance build system
8 HOMEPAGE=               https://mesonbuild.com
9 CONTACT=                John_Marino[draco@marino.st]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/mesonbuild/meson/releases/download/0.52.1/
13 DISTFILE[1]=            meson-0.52.1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 RUN_DEPENDS=            ninja:single:standard
21
22 USES=                   python
23
24 LICENSE=                APACHE20:single
25 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
26 LICENSE_FILE=           APACHE20:{{WRKSRC}}/COPYING
27 LICENSE_AWK=            TERMS:"^from "
28 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/meson.py
29 LICENSE_SCHEME=         solo
30
31 FPC_EQUIVALENT=         devel/meson
32
33 [FILE:473:descriptions/desc.single]
34 Meson is a cross-platform build system designed to be both as fast and as
35 user friendly as possible. It supports many languages and compilers,
36 including GCC, Clang and Visual Studio. Its build definitions are written
37 in a simple non-turing complete DSL. The main design point of Meson is
38 that every moment a developer spends writing or debugging build
39 definitions is a second wasted.  So is every second spent waiting for the
40 build system to actually start compiling code.
41
42
43 [FILE:98:distinfo]
44 0c277472e49950a5537e3de3e60c57b80dbf425788470a1a8ed27446128fc035      1507726 meson-0.52.1.tar.gz
45
46
47 [FILE:85:manifests/plist.single]
48 @comment rest is auto-generated
49 share/polkit-1/actions/com.mesonbuild.install.policy
50
51
52 [FILE:509:patches/patch-mesonbuild_environment.py]
53 --- mesonbuild/environment.py.orig      2019-11-28 17:37:44 UTC
54 +++ mesonbuild/environment.py
55 @@ -822,7 +822,7 @@ class Environment:
56              else:
57                  i = 'GNU ld.bfd'
58              linker = GnuDynamicLinker(compiler, for_machine, i, prefix, version=v)
59 -        elif 'Solaris' in e or 'Solaris' in o:
60 +        elif 'enforce a 64-bit link-edit' in e:
61              linker = SolarisDynamicLinker(
62                  compiler, for_machine, 'solaris', prefix,
63                  version=search_version(e))
64
65
66 [FILE:718:patches/patch-mesonbuild_linkers.py]
67 --- mesonbuild/linkers.py.orig  2019-11-28 17:37:44 UTC
68 +++ mesonbuild/linkers.py
69 @@ -878,7 +878,12 @@ class SolarisDynamicLinker(PosixDynamicL
70      def get_link_whole_for(self, args: typing.List[str]) -> typing.List[str]:
71          if not args:
72              return args
73 -        return self._apply_prefix('--whole-archive') + args + self._apply_prefix('--no-whole-archive')
74 +        result = [self.prefix_arg + '-z', self.prefix_arg + 'allextract']
75 +        for a in args:
76 +            result.append(a)
77 +        result.append(self.prefix_arg + '-z')
78 +        result.append(self.prefix_arg + 'defaultextract')
79 +        return result
80  
81      def no_undefined_args(self) -> typing.List[str]:
82          return ['-z', 'defs']
83
84
85 [FILE:613:patches/patch-mesonbuild_scripts_depfixer.py]
86 --- mesonbuild/scripts/depfixer.py.orig 2019-11-28 17:37:44 UTC
87 +++ mesonbuild/scripts/depfixer.py
88 @@ -438,12 +438,10 @@ def fix_rpath(fname, new_rpath, final_pa
89          if fname.endswith('.jar'):
90              fix_jar(fname)
91              return
92 -        fix_elf(fname, new_rpath, verbose)
93 +        # never adjust rpath (meson authors are idiots)
94          return
95      except SystemExit as e:
96          if isinstance(e.code, int) and e.code == 0:
97              pass
98          else:
99              raise
100 -    if shutil.which('install_name_tool'):
101 -        fix_darwin(fname, new_rpath, final_path, install_name_mappings)
102
103
104 [FILE:1181:sunos/patch-mesonbuild_compilers_compilers.py]
105 --- mesonbuild/compilers/compilers.py.orig      2019-11-28 17:37:44 UTC
106 +++ mesonbuild/compilers/compilers.py
107 @@ -348,9 +348,6 @@ def get_base_link_args(options, linker,
108      # -bitcode_bundle is incompatible with -undefined and -bundle
109      if bitcode and not is_shared_module:
110          args.extend(linker.bitcode_args())
111 -    elif as_needed:
112 -        # -Wl,-dead_strip_dylibs is incompatible with bitcode
113 -        args.extend(linker.get_asneeded_args())
114  
115      # Apple's ld (the only one that supports bitcode) does not like any
116      # -undefined arguments at all, so don't pass these when using bitcode
117 @@ -544,10 +541,6 @@ class CompilerArgs(list):
118                  if group_start < 0:
119                      # First occurrence of a library
120                      group_start = i
121 -            if group_start >= 0:
122 -                # Last occurrence of a library
123 -                new.insert(group_end + 1, '-Wl,--end-group')
124 -                new.insert(group_start, '-Wl,--start-group')
125          # Remove system/default include paths added with -isystem
126          if hasattr(self.compiler, 'get_default_include_dirs'):
127              default_dirs = self.compiler.get_default_include_dirs()
128