summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-22 18:16:20 +0100
committerSam James <sam@gentoo.org>2023-09-22 18:16:20 +0100
commit315fabb225eb4b94f96bfaf5767ebdd1cf685880 (patch)
tree47b60ff61a1ba33db66dbb5d528cd8ed2bb40a44 /sys-apps/xdg-desktop-portal
parentsys-apps/xdg-desktop-portal: test dep fixes (diff)
downloadgentoo-315fabb225eb4b94f96bfaf5767ebdd1cf685880.tar.gz
gentoo-315fabb225eb4b94f96bfaf5767ebdd1cf685880.tar.bz2
gentoo-315fabb225eb4b94f96bfaf5767ebdd1cf685880.zip
sys-apps/xdg-desktop-portal: fix install w/o flatpak
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/xdg-desktop-portal')
-rw-r--r--sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
index 6f4fd2a04167..70f000d184f0 100644
--- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
+++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
@@ -73,7 +73,6 @@ python_check_deps() {
src_configure() {
local emesonargs=(
-Ddbus-service-dir="${EPREFIX}/usr/share/dbus-1/services"
- -Dflatpak-interfaces-dir="${EPREFIX}/usr/share/dbus-1/interfaces"
-Dsystemd-user-unit-dir="$(systemd_get_userunitdir)"
$(meson_feature flatpak)
# Only used for tests
@@ -90,6 +89,8 @@ src_configure() {
$(meson_feature test pytest)
)
+ use flatpak && emesonargs+=( -Dflatpak-interfaces-dir="${EPREFIX}/usr/share/dbus-1/interfaces" )
+
meson_src_configure
}