-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
EKEY_STATE="snap"
fi
-inherit enlightenment
+inherit enlightenment xdg-utils
DESCRIPTION="Enlightenment DR17 window manager"
>=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}
}
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
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
+}
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
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"
>=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}
}
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
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
+}