/[gentoo-x86]/app-cdr/cdemud/cdemud-1.5.0.ebuild
Gentoo

Contents of /app-cdr/cdemud/cdemud-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jan 28 00:27:30 2013 UTC (17 months, 1 week ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Rename app-cdr/cdemud to app-cdr/cdemu-daemon to follow upstream convention and executable name.

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/cdemud-1.5.0.ebuild,v 1.4 2012/04/09 12:10:03 maekke Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="Daemon of the CDEmu optical media image mounting suite"
8 HOMEPAGE="http://cdemu.org"
9 SRC_URI="mirror://sourceforge/cdemu/cdemu-daemon-${PV}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ~hppa x86"
14 IUSE="pulseaudio"
15
16 RDEPEND=">=dev-libs/glib-2.28:2
17 >=dev-libs/libmirage-${PV}
18 >=media-libs/libao-0.8.0[pulseaudio?]
19 sys-apps/dbus
20 >=sys-fs/vhba-20101015
21 !pulseaudio? ( >=media-libs/libao-0.8.0[alsa] )"
22 DEPEND="${RDEPEND}"
23
24 S=${WORKDIR}/cdemu-daemon-${PV}
25
26 src_prepare() {
27 if ! use pulseaudio; then
28 sed -e 's:AUDIO_DRIVER=pulse:AUDIO_DRIVER=alsa:' \
29 -i session/cdemu-daemon-session.sh || die "sed failed"
30 fi
31 }
32
33 pkg_postinst() {
34 elog "You will need to load the vhba module to use cdemu devices:"
35 elog " # modprobe vhba"
36 elog "To automatically load the vhba module at boot time, edit your"
37 elog "/etc/conf.d/modules file."
38
39 if [[ -e "${ROOT}etc/conf.d/cdemud" ]]; then
40 elog
41 elog "${PN} no longer installs an init.d service; instead, it is"
42 elog "automatically activated when needed via dbus."
43 elog "You can therefore remove ${ROOT}etc/conf.d/cdemud"
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20