Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/qelectrotech/
Date: Sat, 06 Oct 2018 15:38:58
Message-Id: 1538840315.b4c20c2e77c028aca7b0270b651873d658936d08.kensington@gentoo
1 commit: b4c20c2e77c028aca7b0270b651873d658936d08
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 6 15:38:03 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 6 15:38:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4c20c2e
7
8 sci-electronics/qelectrotech: sync 9999 with latest release
9
10 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 sci-electronics/qelectrotech/qelectrotech-9999.ebuild | 19 ++++++++-----------
14 1 file changed, 8 insertions(+), 11 deletions(-)
15
16 diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
17 index 471a9443139..beb66ed5e78 100644
18 --- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
19 +++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 2001-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI=6
27
28 -inherit eutils gnome2-utils qmake-utils subversion xdg-utils
29 +inherit gnome2-utils qmake-utils subversion xdg-utils
30
31 MY_P=${PN}-${PV%0}-src
32
33 @@ -17,6 +17,7 @@ KEYWORDS=""
34 IUSE="doc"
35
36 RDEPEND="
37 + dev-qt/qtconcurrent:5
38 dev-qt/qtcore:5
39 dev-qt/qtgui:5
40 dev-qt/qtnetwork:5
41 @@ -33,14 +34,12 @@ DEPEND="${RDEPEND}
42 S=${WORKDIR}/${MY_P}
43
44 DOCS=( CREDIT ChangeLog README )
45 -
46 -src_prepare() {
47 - epatch "${FILESDIR}/${PN}-0.3-fix-paths.patch"
48 -}
49 +PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" )
50
51 src_configure() {
52 eqmake5 ${PN}.pro
53 }
54 +
55 src_install() {
56 emake INSTALL_ROOT="${D}" install
57
58 @@ -52,16 +51,14 @@ src_install() {
59 fi
60 }
61
62 -pkg_preinst() {
63 - gnome2_icon_savelist
64 -}
65 -
66 pkg_postinst() {
67 xdg_desktop_database_update
68 + xdg_mimeinfo_database_update
69 gnome2_icon_cache_update
70 }
71
72 pkg_postrm() {
73 xdg_desktop_database_update
74 + xdg_mimeinfo_database_update
75 gnome2_icon_cache_update
76 }