Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 217113 Details for
Bug 288059
media-sound/ossp: userspace oss deamon
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ossp-1.3.1.ebuild
ossp-1.3.1.ebuild (text/plain), 2.11 KB, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2010-01-21 20:19:06 UTC
(
hide
)
Description:
ossp-1.3.1.ebuild
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2010-01-21 20:19:06 UTC
Size:
2.11 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit eutils linux-info > >DESCRIPTION="OSS Proxy Daemon is Linux userland OSS sound device implementation using CUSE." >HOMEPAGE="http://sourceforge.net/projects/osspd/" >SRC_URI="mirror://sourceforge/osspd/${P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64" >IUSE="+alsa pulseaudio" >DEPEND=">=sys-fs/fuse-2.8.0 > alsa? ( media-libs/alsa-lib ) > pulseaudio? ( media-sound/pulseaudio )" >RDEPEND="${DEPEND}" > >pkg_setup() { > if use kernel_linux ; then > CONFIG_CHECK="~CUSE" > CUSE_WARNING="You need to have CUSE module built to use ${PN}" > linux-info_pkg_setup > else > eerror "This package currently only supports linux" > die > fi > > if ! use alsa && ! use pulseaudio ; then > eerror "You must choose at least one backend via USE flags." > eerror "You can choose between the alsa and the pulseaudio" > eerror "backend." > die "No backend chosen." > fi >} > >src_prepare() { > # currently much stuff is hardcoded in the Makefile like prefix. > # Fixing this with sed for now. > sed '/^prefix/s|/usr/local|/usr|' -i "${S}"/Makefile \ > || die "failed to tweak install path" > > if ! use alsa ; then > sed '/^all:/s|ossp-alsap||;/install -m755/s|ossp-alsap||;s|^\(OSSP_ALSAP_\)|#\1|g' \ > -i "${S}"/Makefile \ > || die "Disabling alsa support failed" > fi > > if ! use pulseaudio ; then > sed '/^all:/s|ossp-padsp||;/install -m755/s|ossp-padsp||;s|^\(OSSP_PADSP_\)|#\1|g' \ > -i "${S}"/Makefile \ > || die "Disabling pulseaudio support failed" > fi >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > > if use pulseaudio && ! use alsa ; then > sed 's:%OSSPD_BACKEND%:ossp-padsp:' \ > "${FILESDIR}"/osspd.confd > "${T}"/osspd.confd > else > sed 's:%OSSPD_BACKEND%:ossp-alsap:' \ > "${FILESDIR}"/osspd.confd > "${T}"/osspd.confd > fi > > newinitd "${FILESDIR}"/osspd.initd osspd > newconfd "${T}"/osspd.confd osspd >} > >pkg_postinst() { > elog "osspd can use different backends. Currently there are an alsa- and" > elog "a pulseaudio-backend available. You can choose between them in the" > elog "/etc/conf.d/osspd file." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 288059
:
206322
|
216313
|
216315
|
216317
|
216319
|
216320
| 217113 |
217114
|
225651
|
314809
|
314811