x11-wm/enlightenment: disable module_check from 0.20.5 & 0.20.6
authorJoonas Niilola <juippis@gmail.com>
Fri, 13 Apr 2018 15:11:36 +0000 (18:11 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 11 May 2018 08:44:20 +0000 (10:44 +0200)
Bug: https://bugs.gentoo.org/648896
Package-Manager: Portage[mgorny]-2.3.26.1
Closes: https://github.com/gentoo/gentoo/pull/7970

x11-wm/enlightenment/enlightenment-0.20.5.ebuild
x11-wm/enlightenment/enlightenment-0.20.6.ebuild

index 88a5cec9394c1beb0538ce80585b1907f983d822..9d9e764576efda4e50a1a82a88981f91633a1ad8 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
        EKEY_STATE="snap"
 fi
 
-inherit enlightenment
+inherit enlightenment xdg-utils
 
 DESCRIPTION="Enlightenment DR17 window manager"
 
@@ -57,7 +57,10 @@ RDEPEND="
        >=dev-libs/efl-1.17[X]
        >=media-libs/elementary-1.17
        x11-libs/xcb-util-keysyms"
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       sys-devel/automake:1.15
+"
 
 S=${WORKDIR}/${MY_P}
 
@@ -91,7 +94,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
@@ -125,3 +130,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
+}
index 0cd5bfe72614b47eeb61172ed68e7987bbe6c8ea..130c64f8a4c37161978c9593c3c22037057c5106 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
        EKEY_STATE="snap"
 fi
 
-inherit enlightenment
+inherit enlightenment xdg-utils
 
 DESCRIPTION="Enlightenment DR17 window manager"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
@@ -57,7 +57,10 @@ RDEPEND="
        >=dev-libs/efl-1.17[X]
        >=media-libs/elementary-1.17
        x11-libs/xcb-util-keysyms"
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       sys-devel/automake:1.15
+"
 
 S=${WORKDIR}/${MY_P}
 
@@ -91,7 +94,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
@@ -125,3 +130,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
+}