x11-wm/enlightenment-0.21.7: Disable module_check
authorjuippis <juippis@gmail.com>
Fri, 23 Mar 2018 14:49:53 +0000 (16:49 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 25 Mar 2018 10:28:09 +0000 (12:28 +0200)
Closes: https://bugs.gentoo.org/648896
Closes: https://github.com/gentoo/gentoo/pull/7566

x11-wm/enlightenment/enlightenment-0.21.7.ebuild

index 1b788a54f5966e6d5ef3aefaeb51eb778fa0b1ab..d84967f414fd34ded85d1d26922c2e53c8738c6a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -13,7 +13,7 @@ else
        KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
 fi
 
-inherit enlightenment
+inherit enlightenment xdg-utils
 
 DESCRIPTION="Enlightenment DR17 window manager"
 
@@ -55,7 +55,10 @@ RDEPEND="
        )
        >=dev-libs/efl-1.18[X]
        x11-libs/xcb-util-keysyms"
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       sys-devel/automake:1.15
+"
 
 S=${WORKDIR}/${MY_P}
 
@@ -89,7 +92,9 @@ check_modules() {
 }
 
 src_configure() {
-       check_modules
+       # sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c 
+       # see #648896. Can be restored with future release
+       # check_modules
 
        E_ECONF=(
                --disable-install-sysactions
@@ -123,3 +128,13 @@ src_install() {
        insinto /etc/enlightenment
        newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf
 }
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
+}