summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-02-07 10:40:06 -0800
committerMatt Turner <mattst88@gentoo.org>2022-02-07 11:02:50 -0800
commit78acc0d39deff3accd9d72a9b2b4fe07de2efb11 (patch)
treec0dede9b51724582da5c9fd517f357cf0c71ee01 /media-plugins
parentmedia-libs/mesa: Readd IUSE="egl gbm" to 21.3.5 (diff)
downloadgentoo-78acc0d39deff3accd9d72a9b2b4fe07de2efb11.tar.gz
gentoo-78acc0d39deff3accd9d72a9b2b4fe07de2efb11.tar.bz2
gentoo-78acc0d39deff3accd9d72a9b2b4fe07de2efb11.zip
media-plugins/grilo-plugins: Fix enabling gnome-online-accounts
Closes: https://bugs.gentoo.org/832777 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/grilo-plugins/grilo-plugins-0.3.14.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.14.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.14.ebuild
index 226ee065aaa4..293cd7957771 100644
--- a/media-plugins/grilo-plugins/grilo-plugins-0.3.14.ebuild
+++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.14.ebuild
@@ -63,6 +63,14 @@ BDEPEND="
lua? ( dev-util/gperf )
"
+pkg_pretend() {
+ if use gnome-online-accounts; then
+ if ! use flickr && ! use lua; then
+ ewarn "Ignoring USE=gnome-online-accounts USE does not contain flickr or lua"
+ fi
+ fi
+}
+
pkg_setup() {
use lua && lua-single_pkg_setup
}
@@ -101,8 +109,12 @@ src_configure() {
-Denable-tracker=no
-Denable-tracker3=$(usex tracker yes no)
-Denable-youtube=$(usex youtube yes no)
- $(meson_feature gnome-online-accounts goa)
-Dhelp=no
)
+ if use flickr || use lua; then
+ emesonargs+=($(meson_feature gnome-online-accounts goa))
+ else
+ emesonargs+=(-Dgoa=disabled)
+ fi
meson_src_configure
}