commit:     f5303ce090c4e4a7c83fc8b7bc07a3f07a3f5210
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 15:28:45 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 15:31:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5303ce0

net-wireless/blueman: -9999, remove unused eutils, respect systemd dirs

 net-wireless/blueman/blueman-9999.ebuild | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/net-wireless/blueman/blueman-9999.ebuild 
b/net-wireless/blueman/blueman-9999.ebuild
index be9d0db..5557dc9 100644
--- a/net-wireless/blueman/blueman-9999.ebuild
+++ b/net-wireless/blueman/blueman-9999.ebuild
@@ -5,7 +5,7 @@
 EAPI="5"
 
 PYTHON_COMPAT=( python{2_7,3_4} )
-inherit eutils gnome2-utils linux-info python-single-r1
+inherit gnome2-utils linux-info python-single-r1 systemd
 
 DESCRIPTION="GTK+ Bluetooth Manager, designed to be simple and intuitive for 
everyday bluetooth tasks"
 HOMEPAGE="https://github.com/blueman-project/blueman";
@@ -79,15 +79,19 @@ src_prepare() {
 }
 
 src_configure() {
-       econf \
-               --docdir=/usr/share/doc/${PF} \
-               --disable-runtime-deps-check \
-               --disable-static \
-               $(use_enable appindicator) \
-               $(use_enable policykit polkit) \
-               $(use_enable nls) \
-               $(use_enable pulseaudio) \
+       local myconf=(
+               --docdir=/usr/share/doc/${PF}
+               --disable-runtime-deps-check
+               --disable-static
+               # TODO: replace upstream with sane system/user unitdir getters
+               --with-systemdunitdir="$(systemd_get_utildir)"
+               $(use_enable appindicator)
+               $(use_enable policykit polkit)
+               $(use_enable nls)
+               $(use_enable pulseaudio)
                $(use_enable thunar thunar-sendto)
+       )
+       econf "${myconf[@]}"
 }
 
 src_install() {

Reply via email to