summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-10-07 01:38:03 +1000
committerMichael Palimaka <kensington@gentoo.org>2018-10-07 01:38:35 +1000
commitb4c20c2e77c028aca7b0270b651873d658936d08 (patch)
tree8eb753d852ede4322cbabcc2bdc468f49527aa2b /sci-electronics/qelectrotech
parentsci-electronics/qelectrotech: version bump 0.61 (diff)
downloadgentoo-b4c20c2e77c028aca7b0270b651873d658936d08.tar.gz
gentoo-b4c20c2e77c028aca7b0270b651873d658936d08.tar.bz2
gentoo-b4c20c2e77c028aca7b0270b651873d658936d08.zip
sci-electronics/qelectrotech: sync 9999 with latest release
Signed-off-by: Michael Palimaka <kensington@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-9999.ebuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
index 471a9443139..beb66ed5e78 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
}