Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293971 Details for
Bug 313955
media-sound/lash: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised ebuild patch
lash.patch (text/plain), 1.59 KB, created by
Ian Delaney (RETIRED)
on 2011-11-27 19:16:48 UTC
(
hide
)
Description:
revised ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-11-27 19:16:48 UTC
Size:
1.59 KB
patch
obsolete
>Only in lash.orig/: ChangeLog >diff -ur lash.orig//lash-0.5.4-r1.ebuild lash/lash-0.5.4-r1.ebuild >--- lash.orig//lash-0.5.4-r1.ebuild 2011-03-29 15:01:17.000000000 +0800 >+++ lash/lash-0.5.4-r1.ebuild 2011-11-28 03:12:13.919985349 +0800 >@@ -2,9 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.4-r1.ebuild,v 1.12 2011/03/29 06:56:34 radhermit Exp $ > >-EAPI=2 >- >-inherit eutils libtool >+EAPI=3 >+PYTHON_DEPEND="python? 2" >+inherit eutils libtool python > > DESCRIPTION="LASH Audio Session Handler" > HOMEPAGE="http://www.nongnu.org/lash/" >@@ -14,17 +14,24 @@ > SLOT="0" > KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86" > IUSE="alsa debug gtk python" >+DOCS=( AUTHORS ChangeLog NEWS README TODO ) > > RDEPEND="alsa? ( media-libs/alsa-lib ) > media-sound/jack-audio-connection-kit > dev-libs/libxml2 > gtk? ( x11-libs/gtk+:2 ) >- python? ( dev-lang/python ) > || ( sys-libs/readline dev-libs/libedit )" > DEPEND="${RDEPEND} > dev-util/pkgconfig > python? ( >=dev-lang/swig-1.3.31 )" > >+pkg_setup() { >+ if use python; then >+ python_set_active_version 2 >+ python_pkg_setup >+ fi >+} >+ > src_prepare() { > epatch "${FILESDIR}/${P}-glibc2.8.patch" > elibtoolize >@@ -45,7 +52,21 @@ > } > > src_install() { >- emake DESTDIR="${D}" install || die >+ emake DESTDIR="${D}" install >+ dodoc ${DOCS[@]} >+ if use python; then >+ python_clean_installation_image >+ fi >+} >+ >+pkg_postinst() { >+ if use python; then >+ python_mod_optimize lash.py >+ fi >+} > >- dodoc AUTHORS ChangeLog NEWS README TODO >+pkg_postrm() { >+ if use python; then >+ python_mod_cleanup lash.py >+ fi > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 313955
:
293127
|
293309
|
293655
|
293799
| 293971