diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-02 11:42:46 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-02 11:43:01 +0200 |
commit | 9987da7e577f782fb2b964e6bb260349c6044bae (patch) | |
tree | c6cae2a279b24a82170d9b542f7e1d602a54134b /app-emulation/virtualbox | |
parent | app-admin/apache-tools: Removed old. (diff) | |
download | gentoo-9987da7e577f782fb2b964e6bb260349c6044bae.tar.gz gentoo-9987da7e577f782fb2b964e6bb260349c6044bae.tar.bz2 gentoo-9987da7e577f782fb2b964e6bb260349c6044bae.zip |
app-emulation/virtualbox: Added python3 support.
Replaced gnome2-utils and xdg-utils with xdg eclass.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild index e8d806027ab3..76fe504e8c18 100644 --- a/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-6.0.4-r1.ebuild @@ -3,8 +3,8 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 ) -inherit flag-o-matic gnome2-utils java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg-utils +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +inherit flag-o-matic java-pkg-opt-2 linux-info pax-utils python-single-r1 tmpfiles toolchain-funcs udev xdg MY_PV="${PV/beta/BETA}" MY_PV="${MY_PV/rc/RC}" @@ -435,9 +435,12 @@ src_install() { newtmpfiles "${FILESDIR}"/${PN}-vboxusb_tmpfilesd ${PN}-vboxusb.conf } +pkg_preinst() { + xdg_pkg_preinst +} + pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postinst if use udev ; then udevadm control --reload-rules \ @@ -479,6 +482,5 @@ pkg_postinst() { } pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update + xdg_pkg_postrm } |