From b4c20c2e77c028aca7b0270b651873d658936d08 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 7 Oct 2018 01:38:03 +1000 Subject: sci-electronics/qelectrotech: sync 9999 with latest release Signed-off-by: Michael Palimaka Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- sci-electronics/qelectrotech/qelectrotech-9999.ebuild | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'sci-electronics') diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild index 471a94431395..beb66ed5e787 100644 --- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild +++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 2001-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -inherit eutils gnome2-utils qmake-utils subversion xdg-utils +inherit gnome2-utils qmake-utils subversion xdg-utils MY_P=${PN}-${PV%0}-src @@ -17,6 +17,7 @@ KEYWORDS="" IUSE="doc" RDEPEND=" + dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 @@ -33,14 +34,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} DOCS=( CREDIT ChangeLog README ) - -src_prepare() { - epatch "${FILESDIR}/${PN}-0.3-fix-paths.patch" -} +PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" ) src_configure() { eqmake5 ${PN}.pro } + src_install() { emake INSTALL_ROOT="${D}" install @@ -52,16 +51,14 @@ src_install() { fi } -pkg_preinst() { - gnome2_icon_savelist -} - pkg_postinst() { xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } -- cgit v1.2.3-65-gdbad