1 |
commit: 06e1209cececb64cd30fd48ae3c87c39c47783bb |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 9 01:48:27 2021 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 01:48:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e1209c |
7 |
|
8 |
qmake-utils.eclass: remove obsolete/banned qt4 functions |
9 |
|
10 |
Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> |
11 |
|
12 |
eclass/qmake-utils.eclass | 64 ----------------------------------------------- |
13 |
1 file changed, 64 deletions(-) |
14 |
|
15 |
diff --git a/eclass/qmake-utils.eclass b/eclass/qmake-utils.eclass |
16 |
index d726b362029..1f09cbd9ca7 100644 |
17 |
--- a/eclass/qmake-utils.eclass |
18 |
+++ b/eclass/qmake-utils.eclass |
19 |
@@ -24,54 +24,6 @@ _QMAKE_UTILS_ECLASS=1 |
20 |
|
21 |
inherit toolchain-funcs |
22 |
|
23 |
-# @FUNCTION: _qmake-utils_banned_func |
24 |
-# @INTERNAL |
25 |
-# @DESCRIPTION: |
26 |
-# Banned functions are banned. |
27 |
-_qmake-utils_banned_func() { |
28 |
- die "${FUNCNAME[1]} is banned in EAPI 7 and later" |
29 |
-} |
30 |
- |
31 |
-# @FUNCTION: qt4_get_bindir |
32 |
-# @INTERNAL |
33 |
-# @DESCRIPTION: |
34 |
-# Banned. |
35 |
-qt4_get_bindir() { |
36 |
- _qmake-utils_banned_func |
37 |
-} |
38 |
- |
39 |
-# @FUNCTION: qt4_get_headerdir |
40 |
-# @INTERNAL |
41 |
-# @DESCRIPTION: |
42 |
-# Banned. |
43 |
-qt4_get_headerdir() { |
44 |
- _qmake-utils_banned_func |
45 |
-} |
46 |
- |
47 |
-# @FUNCTION: qt4_get_libdir |
48 |
-# @INTERNAL |
49 |
-# @DESCRIPTION: |
50 |
-# Banned. |
51 |
-qt4_get_libdir() { |
52 |
- _qmake-utils_banned_func |
53 |
-} |
54 |
- |
55 |
-# @FUNCTION: qt4_get_mkspecsdir |
56 |
-# @INTERNAL |
57 |
-# @DESCRIPTION: |
58 |
-# Banned. |
59 |
-qt4_get_mkspecsdir() { |
60 |
- _qmake-utils_banned_func |
61 |
-} |
62 |
- |
63 |
-# @FUNCTION: qt4_get_plugindir |
64 |
-# @INTERNAL |
65 |
-# @DESCRIPTION: |
66 |
-# Banned. |
67 |
-qt4_get_plugindir() { |
68 |
- _qmake-utils_banned_func |
69 |
-} |
70 |
- |
71 |
# @FUNCTION: qt5_get_bindir |
72 |
# @DESCRIPTION: |
73 |
# Echoes the directory where Qt5 binaries are installed. |
74 |
@@ -108,22 +60,6 @@ qt5_get_plugindir() { |
75 |
echo $(qt5_get_libdir)/qt5/plugins |
76 |
} |
77 |
|
78 |
-# @FUNCTION: qmake-utils_find_pro_file |
79 |
-# @INTERNAL |
80 |
-# @DESCRIPTION: |
81 |
-# Banned. |
82 |
-qmake-utils_find_pro_file() { |
83 |
- _qmake-utils_banned_func |
84 |
-} |
85 |
- |
86 |
-# @FUNCTION: eqmake4 |
87 |
-# @INTERNAL |
88 |
-# @DESCRIPTION: |
89 |
-# Banned. |
90 |
-eqmake4() { |
91 |
- _qmake-utils_banned_func |
92 |
-} |
93 |
- |
94 |
# @FUNCTION: eqmake5 |
95 |
# @USAGE: [arguments for qmake] |
96 |
# @DESCRIPTION: |