aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-20 13:52:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-20 23:17:32 +0200
commita520a7ebaaf7d6cc515a47a9c910c673d6a3b5c6 (patch)
tree1247482247e822a8181083cd7c68da08b92defaa
parentdev-qt/qtwebengine: Drop USE geolocation for bug #686670 (diff)
downloadqt-a520a7ebaaf7d6cc515a47a9c910c673d6a3b5c6.tar.gz
qt-a520a7ebaaf7d6cc515a47a9c910c673d6a3b5c6.tar.bz2
qt-a520a7ebaaf7d6cc515a47a9c910c673d6a3b5c6.zip
app-text/goldendict: EAPI-7 bump (sync with Gentoo ebuild repo)
Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch (renamed from app-text/goldendict/files/goldendict-9999-qtsingleapplication-unbundle.patch)0
-rw-r--r--app-text/goldendict/goldendict-9999.ebuild32
2 files changed, 16 insertions, 16 deletions
diff --git a/app-text/goldendict/files/goldendict-9999-qtsingleapplication-unbundle.patch b/app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch
index 01fdb3b2..01fdb3b2 100644
--- a/app-text/goldendict/files/goldendict-9999-qtsingleapplication-unbundle.patch
+++ b/app-text/goldendict/files/goldendict-1.5.0-qtsingleapplication-unbundle.patch
diff --git a/app-text/goldendict/goldendict-9999.ebuild b/app-text/goldendict/goldendict-9999.ebuild
index 74aae628..32672acb 100644
--- a/app-text/goldendict/goldendict-9999.ebuild
+++ b/app-text/goldendict/goldendict-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils git-r3 qmake-utils
+inherit desktop git-r3 qmake-utils
DESCRIPTION="Feature-rich dictionary lookup program"
HOMEPAGE="http://goldendict.org/"
@@ -14,7 +14,11 @@ SLOT="0"
KEYWORDS=""
IUSE="debug ffmpeg libav"
-RDEPEND="
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+DEPEND="
app-arch/bzip2
>=app-text/hunspell-1.2:=
dev-libs/eb
@@ -24,7 +28,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
@@ -41,19 +45,18 @@ RDEPEND="
!libav? ( media-video/ffmpeg:0= )
)
"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
-"
+RDEPEND="${DEPEND}"
-PATCHES=( "${FILESDIR}/${P}-qtsingleapplication-unbundle.patch" )
+PATCHES=( "${FILESDIR}/${PN}-1.5.0-qtsingleapplication-unbundle.patch" )
src_prepare() {
default
+ # disable git
+ sed -i -e '/git describe/s/^/#/' ${PN}.pro || die
+
# fix installation path
- sed -i \
- -e '/PREFIX = /s:/usr/local:/usr:' \
- ${PN}.pro || die
+ sed -i -e '/PREFIX = /s:/usr/local:/usr:' ${PN}.pro || die
# add trailing semicolon
sed -i -e '/^Categories/s/$/;/' redist/${PN}.desktop || die
@@ -61,10 +64,7 @@ src_prepare() {
src_configure() {
local myconf=()
-
- if ! use ffmpeg && ! use libav ; then
- myconf+=( DISABLE_INTERNAL_PLAYER=1 )
- fi
+ use ffmpeg || myconf+=( DISABLE_INTERNAL_PLAYER=1 )
eqmake5 "${myconf[@]}"
}