diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2010-07-15 07:43:08 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2010-07-15 07:43:08 +0000 |
commit | 5746b481f982289a6f2d57cdc0fb3385fd851584 (patch) | |
tree | 04def09abaec7f5b5e5f401ba0c4cc6101bad7e0 /app-admin | |
parent | Version Bump and prefix support (diff) | |
download | gentoo-2-5746b481f982289a6f2d57cdc0fb3385fd851584.tar.gz gentoo-2-5746b481f982289a6f2d57cdc0fb3385fd851584.tar.bz2 gentoo-2-5746b481f982289a6f2d57cdc0fb3385fd851584.zip |
fix display of implementations as reported by phajdan.jr in bug 320189, fix by Andreas Schürch
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/eselect-miniaudicle/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild (renamed from app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1.ebuild) | 15 | ||||
-rw-r--r-- | app-admin/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch | 12 |
3 files changed, 33 insertions, 4 deletions
diff --git a/app-admin/eselect-miniaudicle/ChangeLog b/app-admin/eselect-miniaudicle/ChangeLog index 4031df6da437..7d0953e33b76 100644 --- a/app-admin/eselect-miniaudicle/ChangeLog +++ b/app-admin/eselect-miniaudicle/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-admin/eselect-miniaudicle # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-miniaudicle/ChangeLog,v 1.5 2010/05/24 15:18:38 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-miniaudicle/ChangeLog,v 1.6 2010/07/15 07:43:08 fauli Exp $ + +*eselect-miniaudicle-1.0.1-r1 (15 Jul 2010) + + 15 Jul 2010; Christian Faulhammer <fauli@gentoo.org> + -eselect-miniaudicle-1.0.1.ebuild, +eselect-miniaudicle-1.0.1-r1.ebuild, + +files/miniaudicle-1.0.1_list.patch: + fix display of implementations as reported by phajdan.jr in bug 320189, + fix by Andreas Schürch 22 Mar 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> metadata.xml: diff --git a/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1.ebuild b/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild index 76e732aabf6a..965075ddf92b 100644 --- a/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1.ebuild +++ b/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild @@ -1,10 +1,14 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1.ebuild,v 1.3 2010/05/24 15:18:38 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.1-r1.ebuild,v 1.1 2010/07/15 07:43:08 fauli Exp $ + +EAPI=3 + +inherit eutils DESCRIPTION="Manages the /usr/bin/miniAudicle symlink" HOMEPAGE="http://www.gentoo.org/" -SRC_URI="mirror://gentoo/miniaudicle.eselect-${PVR}.bz2" +SRC_URI="mirror://gentoo/miniaudicle.eselect-${PV}.bz2" LICENSE="GPL-2" SLOT="0" @@ -13,7 +17,12 @@ IUSE="" RDEPEND=">=app-admin/eselect-1.2.3" +src_prepare() { + # Fixes listing as described in bug 320189, not upstream yet + epatch "${FILESDIR}"/miniaudicle-1.0.1_list.patch +} + src_install() { insinto /usr/share/eselect/modules - newins "${WORKDIR}/miniaudicle.eselect-${PVR}" miniaudicle.eselect || die + newins "${WORKDIR}/miniaudicle.eselect-${PV}" miniaudicle.eselect || die } diff --git a/app-admin/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch b/app-admin/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch new file mode 100644 index 000000000000..cb29780abfbc --- /dev/null +++ b/app-admin/eselect-miniaudicle/files/miniaudicle-1.0.1_list.patch @@ -0,0 +1,12 @@ +--- miniaudicle.eselect-1.0.1.orig 2010-07-14 23:21:11.000000000 -0400 ++++ miniaudicle.eselect-1.0.1 2010-07-14 23:22:22.000000000 -0400 +@@ -73,7 +73,7 @@ + targets=( $(find_targets ) ) + write_list_start "Available miniAudicle audio engines:" + for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do +- [[ ${targets[${i}]} == $(basename $(canonicalise ${ROOT}/usr/bin/miniAudicle ) ) ]] && \ ++ [[ ${targets[${i}]} == $(basename $(canonicalise ${ROOT}/usr/bin/miniAudicle- ) ) ]] && \ + targets[${i}]=$(highlight_maker "${targets[${i}]}") + done + write_numbered_list -m "(none found)" "${targets[@]}" + |