net-wireless/blueman: -9999, remove unused eutils, respect systemd dirs
authorMichał Górny <mgorny@gentoo.org>
Wed, 13 Jan 2016 15:28:45 +0000 (16:28 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 13 Jan 2016 15:31:01 +0000 (16:31 +0100)
net-wireless/blueman/blueman-9999.ebuild

index be9d0db7d3a28ee8a3e8f62d041e6652e23abc0e..5557dc9696fe87a3e465a6561cc1addadbec3cf2 100644 (file)
@@ -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() {