summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Affolter <christian.affolter@stepping-stone.ch>2015-08-04 17:10:12 +0200
committerChristian Affolter <christian.affolter@stepping-stone.ch>2015-08-04 17:10:12 +0200
commit741e4d9a127566fd90531a2565d9628764622176 (patch)
tree0e81e56f99de86b2330d827f4637a6c208b13003 /app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild
parentMerge branch 'master' of git://git.gentoo.org/proj/vmware (diff)
downloadvmware-741e4d9a127566fd90531a2565d9628764622176.tar.gz
vmware-741e4d9a127566fd90531a2565d9628764622176.tar.bz2
vmware-741e4d9a127566fd90531a2565d9628764622176.zip
Added systemd service support for app-emulation/vmware-player
Created two systemd service unit files according to the existing OpenRC init script: * vmware-usbarbitrator.service manages the VMware USB Arbitrator * vmware-network.service manages the VMware host network It was decided to split the existing OpenRC init script, in order to have a better dependency handling and to adhere to Gentoo's Systemd/Ebuild policy.
Diffstat (limited to 'app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild')
-rw-r--r--app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild
index 0a7ea6a..1dff576 100644
--- a/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild
+++ b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle
+inherit eutils versionator fdo-mime gnome2-utils pax-utils systemd vmware-bundle
MY_PN="VMware-Player"
MY_PV=$(get_version_component_range 1-3)
@@ -206,6 +206,9 @@ src_install() {
"${FILESDIR}/vmware-11.0.rc" > "${initscript}" || die
newinitd "${initscript}" vmware || die
+ systemd_dounit "${FILESDIR}/vmware-usbarbitrator.service"
+ systemd_dounit "${FILESDIR}/vmware-network.service"
+
# fill in variable placeholders
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die