1 |
commit: dd426aa8d27736927c4fb81824eff50f08b5fa72 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 4 18:00:27 2016 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 18:00:27 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=dd426aa8 |
7 |
|
8 |
dev-libs/grantlee: Fix slot patch |
9 |
|
10 |
Syncing latest changes including working patch from gentoo main tree. |
11 |
|
12 |
Reported-by: Sput on irc in #gentoo-kde @ freenode |
13 |
|
14 |
Package-Manager: portage-2.2.28 |
15 |
|
16 |
.../{grantlee-slot.patch => grantlee-5.1.0-slot.patch} | 17 ++++++++--------- |
17 |
dev-libs/grantlee/grantlee-9999.ebuild | 5 +++-- |
18 |
2 files changed, 11 insertions(+), 11 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/grantlee/files/grantlee-slot.patch b/dev-libs/grantlee/files/grantlee-5.1.0-slot.patch |
21 |
similarity index 78% |
22 |
rename from dev-libs/grantlee/files/grantlee-slot.patch |
23 |
rename to dev-libs/grantlee/files/grantlee-5.1.0-slot.patch |
24 |
index 5c384b7..5b0d61d 100644 |
25 |
--- a/dev-libs/grantlee/files/grantlee-slot.patch |
26 |
+++ b/dev-libs/grantlee/files/grantlee-5.1.0-slot.patch |
27 |
@@ -1,7 +1,7 @@ |
28 |
Install headers to a custom location to permit slotting with Qt4 version. |
29 |
|
30 |
diff --git a/CMakeLists.txt b/CMakeLists.txt |
31 |
-index dca14ec..d25656d 100644 |
32 |
+index 1324566..f98d5da 100644 |
33 |
--- a/CMakeLists.txt |
34 |
+++ b/CMakeLists.txt |
35 |
@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6 |
36 |
@@ -14,10 +14,10 @@ index dca14ec..d25656d 100644 |
37 |
|
38 |
# set up RPATH/install_name_dir |
39 |
diff --git a/templates/lib/CMakeLists.txt b/templates/lib/CMakeLists.txt |
40 |
-index 741fe65..20179fc 100644 |
41 |
+index dad2ef8..434d163 100644 |
42 |
--- a/templates/lib/CMakeLists.txt |
43 |
+++ b/templates/lib/CMakeLists.txt |
44 |
-@@ -81,6 +81,7 @@ if (Qt5Script_FOUND) |
45 |
+@@ -107,6 +107,7 @@ if (Qt5Script_FOUND) |
46 |
|
47 |
target_sources(Grantlee_Templates PRIVATE ${scriptabletags_SRCS}) |
48 |
target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags) |
49 |
@@ -26,14 +26,13 @@ index 741fe65..20179fc 100644 |
50 |
LINK_PRIVATE Qt5::Script |
51 |
) |
52 |
diff --git a/textdocument/lib/CMakeLists.txt b/textdocument/lib/CMakeLists.txt |
53 |
-index 4c94203..e203539 100644 |
54 |
+index 557d262..d2dbaa1 100644 |
55 |
--- a/textdocument/lib/CMakeLists.txt |
56 |
+++ b/textdocument/lib/CMakeLists.txt |
57 |
-@@ -24,7 +24,7 @@ add_library(Grantlee_TextDocument SHARED |
58 |
- generate_export_header(Grantlee_TextDocument) |
59 |
- add_library(Grantlee::TextDocument ALIAS Grantlee_TextDocument) |
60 |
- set_property(TARGET Grantlee_TextDocument PROPERTY EXPORT_NAME TextDocument) |
61 |
-- |
62 |
+@@ -42,6 +42,7 @@ if (CMAKE_GENERATOR MATCHES "Visual Studio") |
63 |
+ ) |
64 |
+ endforeach() |
65 |
+ endif() |
66 |
+target_include_directories(Grantlee_TextDocument INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>") |
67 |
|
68 |
target_link_libraries(Grantlee_TextDocument |
69 |
|
70 |
diff --git a/dev-libs/grantlee/grantlee-9999.ebuild b/dev-libs/grantlee/grantlee-9999.ebuild |
71 |
index 0283a47..5ac89ef 100644 |
72 |
--- a/dev-libs/grantlee/grantlee-9999.ebuild |
73 |
+++ b/dev-libs/grantlee/grantlee-9999.ebuild |
74 |
@@ -4,6 +4,7 @@ |
75 |
|
76 |
EAPI=6 |
77 |
|
78 |
+CMAKE_MIN_VERSION="3.1" |
79 |
VIRTUALX_REQUIRED="test" |
80 |
inherit cmake-utils virtualx git-r3 |
81 |
|
82 |
@@ -11,7 +12,7 @@ DESCRIPTION="C++ string template engine based on the Django template system" |
83 |
HOMEPAGE="https://github.com/steveire/grantlee" |
84 |
EGIT_REPO_URI=( "https://github.com/steveire/${PN}" ) |
85 |
|
86 |
-LICENSE="LGPL-2.1" |
87 |
+LICENSE="LGPL-2.1+" |
88 |
SLOT="5" |
89 |
KEYWORDS="" |
90 |
IUSE="debug doc test" |
91 |
@@ -30,7 +31,7 @@ DOCS=( AUTHORS CHANGELOG README.md ) |
92 |
|
93 |
PATCHES=( |
94 |
"${FILESDIR}/${PN}-0.3.0-nonfatal-warnings.patch" |
95 |
- "${FILESDIR}/${PN}-slot.patch" |
96 |
+ "${FILESDIR}/${PN}-5.1.0-slot.patch" |
97 |
) |
98 |
|
99 |
src_configure() { |