- Add meson-no-lrelease.patch: Don't require lrelease for qt.
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/meson?expand=0&rev=124
This commit is contained in:
parent
bbb06c4b44
commit
cb32bb23a7
26
meson-no-lrelease.patch
Normal file
26
meson-no-lrelease.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 391878e83aef4c2ba43e69c4850bbc84f409783e Mon Sep 17 00:00:00 2001
|
||||
From: Dylan Baker <dylan@pnwbakers.com>
|
||||
Date: Tue, 18 Dec 2018 14:13:05 -0800
|
||||
Subject: [PATCH] dependencies/ui: Don't require lrelease for qt
|
||||
|
||||
We previously didn't require it so we shouldn't silently start doing so.
|
||||
|
||||
Fixes #4654
|
||||
---
|
||||
mesonbuild/dependencies/ui.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py
|
||||
index e8fba91a23..1f65c3b86f 100644
|
||||
--- a/mesonbuild/dependencies/ui.py
|
||||
+++ b/mesonbuild/dependencies/ui.py
|
||||
@@ -243,7 +243,7 @@ def gen_bins():
|
||||
if self.bindir:
|
||||
yield os.path.join(self.bindir, b), b, False
|
||||
yield '{}-{}'.format(b, self.name), b, False
|
||||
- yield b, b, self.required
|
||||
+ yield b, b, self.required if b != 'lrelease' else False
|
||||
|
||||
for b, name, required in gen_bins():
|
||||
if found[name].found():
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 16 11:20:15 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Add meson-no-lrelease.patch: Don't require lrelease for qt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 14:00:46 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -47,7 +47,10 @@ Patch2: meson-restore-python3.4.patch
|
||||
Patch3: meson-suse-fix-llvm-3.8.patch
|
||||
# PATCH-FIX-OPENSUSE meson-fix-gcc48.patch sor.alexei@meowr.ru -- Fix GCC 4.8 handling for openSUSE Leap 42.x.
|
||||
Patch4: meson-fix-gcc48.patch
|
||||
# PATCH-FEATURE-OPENSUSE meson-distutils.patch tchvatal@suse.com -- build and install using distutils instead of full setuptools
|
||||
Patch5: meson-distutils.patch
|
||||
# PATCH-FIX-UPSTREAM meson-no-lrelease.patch dimstar@opensuse.org -- Don't require lrelease for qt
|
||||
Patch6: meson-no-lrelease.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-base
|
||||
@ -159,6 +162,7 @@ This package provides support for meson.build files in Vim.
|
||||
%if !%{with setuptools}
|
||||
%patch5 -p1
|
||||
%endif
|
||||
%patch6 -p1
|
||||
|
||||
# Remove static boost tests from "test cases/frameworks/1 boost/".
|
||||
sed -i "/static/d" test\ cases/frameworks/1\ boost/meson.build
|
||||
|
Loading…
Reference in New Issue
Block a user