Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/engauge/
Date: Fri, 23 Oct 2020 15:00:15
Message-Id: 1603465202.12d60733ea2e1e9994c0b75af348dcfcc16157a1.asturm@gentoo
1 commit: 12d60733ea2e1e9994c0b75af348dcfcc16157a1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 23 14:55:45 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 23 15:00:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d60733
7
8 media-gfx/engauge: EAPI-7 bump, gnome2-utils.eclass -> xdg.eclass
9
10 Use https, sort deps, call default in src_prepare.
11
12 Package-Manager: Portage-3.0.8, Repoman-3.0.2
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 media-gfx/engauge/engauge-10.6.ebuild | 30 +++++++++---------------------
16 1 file changed, 9 insertions(+), 21 deletions(-)
17
18 diff --git a/media-gfx/engauge/engauge-10.6.ebuild b/media-gfx/engauge/engauge-10.6.ebuild
19 index 7f52ab96807..e1145ca2e15 100644
20 --- a/media-gfx/engauge/engauge-10.6.ebuild
21 +++ b/media-gfx/engauge/engauge-10.6.ebuild
22 @@ -1,12 +1,12 @@
23 # Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 -inherit desktop gnome2-utils qmake-utils
30 +inherit desktop qmake-utils xdg
31
32 DESCRIPTION="Convert an image file showing a graph or map into numbers"
33 -HOMEPAGE="http://markummitchell.github.io/engauge-digitizer/"
34 +HOMEPAGE="https://markummitchell.github.io/engauge-digitizer/"
35 SRC_URI="https://github.com/markummitchell/engauge-digitizer/archive/v$PV.tar.gz -> engauge-digitizer-$PV.tar.gz"
36
37 LICENSE="GPL-2"
38 @@ -16,23 +16,23 @@ IUSE="doc examples jpeg2k pdf"
39
40 RDEPEND="dev-qt/qtcore:5
41 dev-qt/qtgui:5
42 + dev-qt/qthelp:5
43 + dev-qt/qtnetwork:5
44 dev-qt/qtprintsupport:5
45 dev-qt/qtwidgets:5
46 dev-qt/qtxml:5
47 - dev-qt/qthelp:5
48 - dev-qt/qtnetwork:5
49 dev-libs/log4cpp
50 sci-libs/fftw:3.0
51 jpeg2k? ( media-libs/openjpeg:2 )
52 pdf? ( app-text/poppler[qt5] )"
53 DEPEND="${RDEPEND}"
54
55 -S=$WORKDIR/engauge-digitizer-$PV
56 +S=${WORKDIR}/engauge-digitizer-${PV}
57
58 -src_prepare() {
59 - eapply_user
60 +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
61
62 - eapply "${FILESDIR}/${P}-qt-5.11.patch"
63 +src_prepare() {
64 + default
65
66 # Make sure the documentation is looked for in the proper directory
67 sed -e "s:engauge-digitizer/engauge.qhc:${PF}/engauge.qhc:" \
68 @@ -81,15 +81,3 @@ src_install() {
69 doins -r samples
70 fi
71 }
72 -
73 -pkg_preinst() {
74 - gnome2_icon_savelist
75 -}
76 -
77 -pkg_postinst() {
78 - gnome2_icon_cache_update
79 -}
80 -
81 -pkg_postrm() {
82 - gnome2_icon_cache_update
83 -}