Ravenports generated: 06 Aug 2019 09:26
[ravenports.git] / bucket_B3 / meson
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               meson
4 VERSION=                0.51.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.51.1/
13 DISTFILE[1]=            meson-0.51.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 f27b7a60f339ba66fe4b8f81f0d1072e090a08eabbd6aa287683b2c2b9dd2d82      1451189 meson-0.51.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:613:patches/patch-mesonbuild_scripts_depfixer.py]
53 --- mesonbuild/scripts/depfixer.py.orig 2019-05-05 19:11:16 UTC
54 +++ mesonbuild/scripts/depfixer.py
55 @@ -439,12 +439,10 @@ def fix_rpath(fname, new_rpath, final_pa
56          if fname.endswith('.jar'):
57              fix_jar(fname)
58              return
59 -        fix_elf(fname, new_rpath, verbose)
60 +        # never adjust rpath (meson authors are idiots)
61          return
62      except SystemExit as e:
63          if isinstance(e.code, int) and e.code == 0:
64              pass
65          else:
66              raise
67 -    if shutil.which('install_name_tool'):
68 -        fix_darwin(fname, new_rpath, final_path, install_name_mappings)
69
70
71 [FILE:3738:sunos/patch-mesonbuild_compilers_compilers.py]
72 --- mesonbuild/compilers/compilers.py.orig      2019-07-09 16:34:42 UTC
73 +++ mesonbuild/compilers/compilers.py
74 @@ -201,7 +201,7 @@ apple_buildtype_linker_args = {'plain':
75  gnulike_buildtype_linker_args = {'plain': [],
76                                   'debug': [],
77                                   'debugoptimized': [],
78 -                                 'release': ['-Wl,-O1'],
79 +                                 'release': [],
80                                   'minsize': [],
81                                   'custom': [],
82                                   }
83 @@ -559,9 +559,6 @@ def get_base_link_args(options, linker,
84      # -bitcode_bundle is incompatible with -undefined and -bundle
85      if bitcode and not is_shared_module:
86          args.append('-Wl,-bitcode_bundle')
87 -    elif as_needed:
88 -        # -Wl,-dead_strip_dylibs is incompatible with bitcode
89 -        args.append(linker.get_asneeded_args())
90      try:
91          crt_val = options['b_vscrt'].value
92          buildtype = options['buildtype'].value
93 @@ -1309,25 +1306,6 @@ class Compiler:
94          if mesonlib.is_sunos():
95              return args
96  
97 -        if get_compiler_is_linuxlike(self):
98 -            # Rpaths to use while linking must be absolute. These are not
99 -            # written to the binary. Needed only with GNU ld:
100 -            # https://sourceware.org/bugzilla/show_bug.cgi?id=16936
101 -            # Not needed on Windows or other platforms that don't use RPATH
102 -            # https://github.com/mesonbuild/meson/issues/1897
103 -            #
104 -            # In addition, this linker option tends to be quite long and some
105 -            # compilers have trouble dealing with it. That's why we will include
106 -            # one option per folder, like this:
107 -            #
108 -            #   -Wl,-rpath-link,/path/to/folder1 -Wl,-rpath,/path/to/folder2 ...
109 -            #
110 -            # ...instead of just one single looooong option, like this:
111 -            #
112 -            #   -Wl,-rpath-link,/path/to/folder1:/path/to/folder2:...
113 -
114 -            args += ['-Wl,-rpath-link,' + os.path.join(build_dir, p) for p in rpath_paths]
115 -
116          return args
117  
118      def thread_flags(self, env):
119 @@ -1463,15 +1441,7 @@ def get_compiler_is_linuxlike(compiler):
120  def get_compiler_uses_gnuld(c):
121      # FIXME: Perhaps we should detect the linker in the environment?
122      # FIXME: Assumes that *BSD use GNU ld, but they might start using lld soon
123 -    compiler_type = getattr(c, 'compiler_type', None)
124 -    return compiler_type in {
125 -        CompilerType.GCC_STANDARD,
126 -        CompilerType.GCC_MINGW,
127 -        CompilerType.GCC_CYGWIN,
128 -        CompilerType.CLANG_STANDARD,
129 -        CompilerType.CLANG_MINGW,
130 -        CompilerType.ICC_STANDARD,
131 -    }
132 +    return False
133  
134  def get_largefile_args(compiler):
135      '''
136 @@ -1874,10 +1844,6 @@ class GnuLikeCompiler(abc.ABC):
137          self.compiler_type = compiler_type
138          self.base_options = ['b_pch', 'b_lto', 'b_pgo', 'b_sanitize', 'b_coverage',
139                               'b_ndebug', 'b_staticpic', 'b_pie']
140 -        if (not self.compiler_type.is_osx_compiler and
141 -                not self.compiler_type.is_windows_compiler and
142 -                not mesonlib.is_openbsd()):
143 -            self.base_options.append('b_lundef')
144          if not self.compiler_type.is_windows_compiler:
145              self.base_options.append('b_asneeded')
146          # All GCC-like backends can do assembly
147 @@ -1987,8 +1953,8 @@ class GnuLikeCompiler(abc.ABC):
148          elif mesonlib.is_sunos():
149              return []
150          else:
151 -            # GNU ld and LLVM lld
152 -            return ['-Wl,--allow-shlib-undefined']
153 +            # sun linker
154 +            return []
155  
156      def get_gui_app_args(self, value):
157          if self.compiler_type.is_windows_compiler:
158