summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-24 17:03:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-24 17:03:27 +0000
commitc1a1dc543d62bd3d00ca3141446a372a6ae11f67 (patch)
tree634d3b4a2bd43ac790ba52c907bb13eaa06b8683 /media-sound/timidity++/timidity++-2.14.0.ebuild
parentWarn about the bash completion split: prompt is now in a seperate bashcomp file. (diff)
downloadgentoo-2-c1a1dc543d62bd3d00ca3141446a372a6ae11f67.tar.gz
gentoo-2-c1a1dc543d62bd3d00ca3141446a372a6ae11f67.tar.bz2
gentoo-2-c1a1dc543d62bd3d00ca3141446a372a6ae11f67.zip
Initial support for systemd.
(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/timidity++/timidity++-2.14.0.ebuild')
-rw-r--r--media-sound/timidity++/timidity++-2.14.0.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-sound/timidity++/timidity++-2.14.0.ebuild b/media-sound/timidity++/timidity++-2.14.0.ebuild
index 8ceb3dbf1b77..6793985dafee 100644
--- a/media-sound/timidity++/timidity++-2.14.0.ebuild
+++ b/media-sound/timidity++/timidity++-2.14.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.14.0.ebuild,v 1.1 2012/07/07 07:48:46 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/timidity++/timidity++-2.14.0.ebuild,v 1.2 2012/08/24 17:03:27 ssuominen Exp $
EAPI=4
-inherit autotools eutils elisp-common user
+inherit autotools eutils elisp-common user systemd
MY_PV=${PV/_/-}
MY_P=TiMidity++-${MY_PV}
@@ -112,16 +112,18 @@ src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog*
- dodoc NEWS README* "${FILESDIR}/timidity.cfg-r1"
+ dodoc NEWS README* "${FILESDIR}"/timidity.cfg-r1
# these are only for the ALSA sequencer mode
if use alsa; then
newconfd "${FILESDIR}"/conf.d.timidity.2 timidity
newinitd "${FILESDIR}"/init.d.timidity.4 timidity
+
+ systemd_dounit "${FILESDIR}"/timidity.service
fi
insinto /etc
- newins "${FILESDIR}/timidity.cfg-r1" timidity.cfg
+ newins "${FILESDIR}"/timidity.cfg-r1 timidity.cfg
dodir /usr/share/timidity
dosym /etc/timidity.cfg /usr/share/timidity/timidity.cfg