1 |
commit: c13587cb8abbb4c75a5dd457b43cb52b29c3e2d7 |
2 |
Author: Joonas Niilola <juippis <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Apr 13 15:11:36 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 08:44:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13587cb |
7 |
|
8 |
x11-wm/enlightenment: disable module_check from 0.20.5 & 0.20.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/648896 |
11 |
Package-Manager: Portage[mgorny]-2.3.26.1 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/7970 |
13 |
|
14 |
x11-wm/enlightenment/enlightenment-0.20.5.ebuild | 23 +++++++++++++++++++---- |
15 |
x11-wm/enlightenment/enlightenment-0.20.6.ebuild | 23 +++++++++++++++++++---- |
16 |
2 files changed, 38 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/x11-wm/enlightenment/enlightenment-0.20.5.ebuild b/x11-wm/enlightenment/enlightenment-0.20.5.ebuild |
19 |
index 88a5cec9394..9d9e764576e 100644 |
20 |
--- a/x11-wm/enlightenment/enlightenment-0.20.5.ebuild |
21 |
+++ b/x11-wm/enlightenment/enlightenment-0.20.5.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI="5" |
28 |
@@ -13,7 +13,7 @@ else |
29 |
EKEY_STATE="snap" |
30 |
fi |
31 |
|
32 |
-inherit enlightenment |
33 |
+inherit enlightenment xdg-utils |
34 |
|
35 |
DESCRIPTION="Enlightenment DR17 window manager" |
36 |
|
37 |
@@ -57,7 +57,10 @@ RDEPEND=" |
38 |
>=dev-libs/efl-1.17[X] |
39 |
>=media-libs/elementary-1.17 |
40 |
x11-libs/xcb-util-keysyms" |
41 |
-DEPEND="${RDEPEND}" |
42 |
+DEPEND=" |
43 |
+ ${RDEPEND} |
44 |
+ sys-devel/automake:1.15 |
45 |
+" |
46 |
|
47 |
S=${WORKDIR}/${MY_P} |
48 |
|
49 |
@@ -91,7 +94,9 @@ check_modules() { |
50 |
} |
51 |
|
52 |
src_configure() { |
53 |
- check_modules |
54 |
+ # sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c |
55 |
+ # see #648896. Can be restored with future release |
56 |
+ # check_modules |
57 |
|
58 |
E_ECONF=( |
59 |
--disable-install-sysactions |
60 |
@@ -125,3 +130,13 @@ src_install() { |
61 |
insinto /etc/enlightenment |
62 |
newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf |
63 |
} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ xdg_desktop_database_update |
67 |
+ xdg_mimeinfo_database_update |
68 |
+} |
69 |
+ |
70 |
+pkg_postrm() { |
71 |
+ xdg_desktop_database_update |
72 |
+ xdg_mimeinfo_database_update |
73 |
+} |
74 |
|
75 |
diff --git a/x11-wm/enlightenment/enlightenment-0.20.6.ebuild b/x11-wm/enlightenment/enlightenment-0.20.6.ebuild |
76 |
index 0cd5bfe7261..130c64f8a4c 100644 |
77 |
--- a/x11-wm/enlightenment/enlightenment-0.20.6.ebuild |
78 |
+++ b/x11-wm/enlightenment/enlightenment-0.20.6.ebuild |
79 |
@@ -1,4 +1,4 @@ |
80 |
-# Copyright 1999-2017 Gentoo Foundation |
81 |
+# Copyright 1999-2018 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
|
84 |
EAPI="5" |
85 |
@@ -13,7 +13,7 @@ else |
86 |
EKEY_STATE="snap" |
87 |
fi |
88 |
|
89 |
-inherit enlightenment |
90 |
+inherit enlightenment xdg-utils |
91 |
|
92 |
DESCRIPTION="Enlightenment DR17 window manager" |
93 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" |
94 |
@@ -57,7 +57,10 @@ RDEPEND=" |
95 |
>=dev-libs/efl-1.17[X] |
96 |
>=media-libs/elementary-1.17 |
97 |
x11-libs/xcb-util-keysyms" |
98 |
-DEPEND="${RDEPEND}" |
99 |
+DEPEND=" |
100 |
+ ${RDEPEND} |
101 |
+ sys-devel/automake:1.15 |
102 |
+" |
103 |
|
104 |
S=${WORKDIR}/${MY_P} |
105 |
|
106 |
@@ -91,7 +94,9 @@ check_modules() { |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
- check_modules |
111 |
+ # sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c |
112 |
+ # see #648896. Can be restored with future release |
113 |
+ # check_modules |
114 |
|
115 |
E_ECONF=( |
116 |
--disable-install-sysactions |
117 |
@@ -125,3 +130,13 @@ src_install() { |
118 |
insinto /etc/enlightenment |
119 |
newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf |
120 |
} |
121 |
+ |
122 |
+pkg_postinst() { |
123 |
+ xdg_desktop_database_update |
124 |
+ xdg_mimeinfo_database_update |
125 |
+} |
126 |
+ |
127 |
+pkg_postrm() { |
128 |
+ xdg_desktop_database_update |
129 |
+ xdg_mimeinfo_database_update |
130 |
+} |