Skip to content

Commit

Permalink
media-gfx/engauge: EAPI-7 bump, gnome2-utils.eclass -> xdg.eclass
Browse files Browse the repository at this point in the history
Use https, sort deps, call default in src_prepare.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Oct 23, 2020
1 parent eb8fb2e commit 12d6073
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions media-gfx/engauge/engauge-10.6.ebuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

inherit desktop gnome2-utils qmake-utils
inherit desktop qmake-utils xdg

DESCRIPTION="Convert an image file showing a graph or map into numbers"
HOMEPAGE="http://markummitchell.github.io/engauge-digitizer/"
HOMEPAGE="https://markummitchell.github.io/engauge-digitizer/"
SRC_URI="https://github.com/markummitchell/engauge-digitizer/archive/v$PV.tar.gz -> engauge-digitizer-$PV.tar.gz"

LICENSE="GPL-2"
Expand All @@ -16,23 +16,23 @@ IUSE="doc examples jpeg2k pdf"

RDEPEND="dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qthelp:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
dev-qt/qthelp:5
dev-qt/qtnetwork:5
dev-libs/log4cpp
sci-libs/fftw:3.0
jpeg2k? ( media-libs/openjpeg:2 )
pdf? ( app-text/poppler[qt5] )"
DEPEND="${RDEPEND}"

S=$WORKDIR/engauge-digitizer-$PV
S=${WORKDIR}/engauge-digitizer-${PV}

src_prepare() {
eapply_user
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )

eapply "${FILESDIR}/${P}-qt-5.11.patch"
src_prepare() {
default

# Make sure the documentation is looked for in the proper directory
sed -e "s:engauge-digitizer/engauge.qhc:${PF}/engauge.qhc:" \
Expand Down Expand Up @@ -81,15 +81,3 @@ src_install() {
doins -r samples
fi
}

pkg_preinst() {
gnome2_icon_savelist
}

pkg_postinst() {
gnome2_icon_cache_update
}

pkg_postrm() {
gnome2_icon_cache_update
}

0 comments on commit 12d6073

Please sign in to comment.