summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-12 12:11:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-12 12:12:15 +0200
commitfa601121cc16aad94a26d8ec5e2c55b95385173e (patch)
treee26225d719d7eb4625b77aaf48505b84792bfad3 /kde-apps
parentdev-python/joblib: fix HOMEPAGE (diff)
downloadgentoo-fa601121cc16aad94a26d8ec5e2c55b95385173e.tar.gz
gentoo-fa601121cc16aad94a26d8ec5e2c55b95385173e.tar.bz2
gentoo-fa601121cc16aad94a26d8ec5e2c55b95385173e.zip
kde-apps/gwenview: Fix USE=-mpris
Use a workaround, but this should be fixed upstream. Closes: https://bugs.gentoo.org/663340 Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/gwenview/gwenview-18.08.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/kde-apps/gwenview/gwenview-18.08.1.ebuild b/kde-apps/gwenview/gwenview-18.08.1.ebuild
index 417f47c75dd3..2a5b51186bd8 100644
--- a/kde-apps/gwenview/gwenview-18.08.1.ebuild
+++ b/kde-apps/gwenview/gwenview-18.08.1.ebuild
@@ -72,12 +72,19 @@ RDEPEND="${COMMON_DEPEND}
PATCHES=( "${FILESDIR}/${PN}-18.07.90-activities-optional.patch" )
+src_prepare() {
+ kde5_src_prepare
+ if ! use mpris; then
+ # FIXME: upstream a better solution
+ sed -e "/set(HAVE_QTDBUS/s/\${Qt5DBus_FOUND}/0/" -i CMakeLists.txt || die
+ fi
+}
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package activities KF5Activities)
$(cmake-utils_use_find_package fits CFitsio)
$(cmake-utils_use_find_package kipi KF5Kipi)
- $(cmake-utils_use_find_package mpris Qt5DBus)
$(cmake-utils_use_find_package raw KF5KDcraw)
$(cmake-utils_use_find_package X X11)
)