app-emulation/virt-manager: update live ebuild
authorMatthias Maier <tamiko@gentoo.org>
Mon, 1 Jul 2019 16:33:57 +0000 (11:33 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 1 Jul 2019 16:59:23 +0000 (11:59 -0500)
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/virt-manager/virt-manager-9999.ebuild

index 3c5a08763dc330ee8a11705d0ae09380b5c2dfac..6c064b06a361b4101bab2505655736d4c1e042b2 100644 (file)
@@ -1,12 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python3_{5,6,7} )
 DISTUTILS_SINGLE_IMPL=1
 
-inherit gnome2 distutils-r1
+inherit distutils-r1 xdg-utils
 
 DESCRIPTION="A graphical tool for administering virtual machines"
 HOMEPAGE="http://virt-manager.org"
@@ -72,7 +72,7 @@ src_install() {
 
 pkg_preinst() {
        if use gtk; then
-               gnome2_pkg_preinst
+               xdg_pkg_preinst
 
                cd "${ED}"
                export GNOME2_ECLASS_ICONS=$(find 'usr/share/virt-manager/icons' -maxdepth 1 -mindepth 1 -type d 2> /dev/null)
@@ -89,5 +89,5 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       use gtk && gnome2_pkg_postinst
+       use gtk && xdg_pkg_postinst
 }