Rediff patches
Drop Drop-the-patch-version-for-breeze.patch: Upstream drop the patch
and minor version
Maximiliano Curia
5 years ago
0 | From: Maximiliano Curia <maxy@gnuservers.com.ar> | |
1 | Date: Fri, 23 Feb 2018 16:02:12 +0100 | |
2 | Subject: Drop the patch version for breeze | |
3 | ||
4 | Breeze doesn't even receive changes on every point release, and really lts | |
5 | components shouldn't introduce incompatible changes in the same | |
6 | major.minor, so dropping this unnecessary requirement. | |
7 | --- | |
8 | CMakeLists.txt | 4 +++- | |
9 | 1 file changed, 3 insertions(+), 1 deletion(-) | |
10 | ||
11 | diff --git a/CMakeLists.txt b/CMakeLists.txt | |
12 | index 1941521..cc352f9 100644 | |
13 | --- a/CMakeLists.txt | |
14 | +++ b/CMakeLists.txt | |
15 | @@ -31,7 +31,9 @@ set_package_properties(XCB PROPERTIES | |
16 | PURPOSE "Required to pass style properties to native Windows on X11 Platform" | |
17 | ) | |
18 | ||
19 | -find_package(Breeze ${PROJECT_VERSION} CONFIG) | |
20 | +string(REGEX MATCHALL "[0-9]+" PROJECT_VERSION_COMPONENTS ${PROJECT_VERSION}) | |
21 | +list(GET PROJECT_VERSION_COMPONENTS 1 PROJECT_VERSION_MINOR) | |
22 | +find_package(Breeze ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} CONFIG) | |
23 | set_package_properties(Breeze PROPERTIES | |
24 | TYPE REQUIRED | |
25 | PURPOSE "For setting the default QStyle name") |