summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-23 23:03:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-23 23:47:56 +0100
commit6b21d067eabef6c2220f40d2e75cf8ea554aa0db (patch)
treed5f6b27ed460ee719a01a1e5359617de7605b6a2 /app-text/goldendict
parentgames-engines/openmw: Drop 0.43.0-r2 (diff)
downloadgentoo-6b21d067eabef6c2220f40d2e75cf8ea554aa0db.tar.gz
gentoo-6b21d067eabef6c2220f40d2e75cf8ea554aa0db.tar.bz2
gentoo-6b21d067eabef6c2220f40d2e75cf8ea554aa0db.zip
app-text/goldendict: EAPI-7 bump, eutils -> desktop, fix USE-dep
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-text/goldendict')
-rw-r--r--app-text/goldendict/goldendict-1.5.0_rc2-r2.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/app-text/goldendict/goldendict-1.5.0_rc2-r2.ebuild b/app-text/goldendict/goldendict-1.5.0_rc2-r2.ebuild
index 866b4e88ea6c..cbbb665fe20e 100644
--- a/app-text/goldendict/goldendict-1.5.0_rc2-r2.ebuild
+++ b/app-text/goldendict/goldendict-1.5.0_rc2-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
MY_PV=${PV^^}
MY_PV=${MY_PV/_/-}
-inherit eutils qmake-utils
+inherit desktop qmake-utils
DESCRIPTION="Feature-rich dictionary lookup program"
HOMEPAGE="http://goldendict.org/"
@@ -26,7 +26,7 @@ RDEPEND="
dev-qt/qthelp:5
dev-qt/qtnetwork:5
dev-qt/qtprintsupport:5
- dev-qt/qtsingleapplication[qt5(+)]
+ dev-qt/qtsingleapplication[qt5(+),X]
dev-qt/qtsvg:5
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
@@ -43,7 +43,8 @@ RDEPEND="
!libav? ( media-video/ffmpeg:0= )
)
"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
dev-qt/linguist-tools:5
virtual/pkgconfig
"
@@ -75,10 +76,7 @@ src_prepare() {
src_configure() {
local myconf=()
-
- if ! use ffmpeg ; then
- myconf+=( DISABLE_INTERNAL_PLAYER=1 )
- fi
+ use ffmpeg || myconf+=( DISABLE_INTERNAL_PLAYER=1 )
eqmake5 "${myconf[@]}"
}