From 90a0ce06a6a7f749859b07b82bb5f3ed43cdd8eb Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 10 Oct 2008 12:27:11 +0000 Subject: Update to EAPI=2 and USE deps. (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64) --- media-sound/lash/ChangeLog | 7 ++++- media-sound/lash/lash-0.5.4-r1.ebuild | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 media-sound/lash/lash-0.5.4-r1.ebuild (limited to 'media-sound/lash') diff --git a/media-sound/lash/ChangeLog b/media-sound/lash/ChangeLog index a715326b9b33..36bf012db925 100644 --- a/media-sound/lash/ChangeLog +++ b/media-sound/lash/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/lash # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.20 2008/08/07 17:07:39 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/ChangeLog,v 1.21 2008/10/10 12:27:11 flameeyes Exp $ + +*lash-0.5.4-r1 (10 Oct 2008) + + 10 Oct 2008; Diego Pettenò +lash-0.5.4-r1.ebuild: + Update to EAPI=2 and USE deps. 07 Aug 2008; Alexis Ballier +files/lash-0.5.4-glibc2.8.patch, lash-0.5.4.ebuild: diff --git a/media-sound/lash/lash-0.5.4-r1.ebuild b/media-sound/lash/lash-0.5.4-r1.ebuild new file mode 100644 index 000000000000..2d38ea5203f4 --- /dev/null +++ b/media-sound/lash/lash-0.5.4-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# 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.1 2008/10/10 12:27:11 flameeyes Exp $ + +EAPI=2 + +inherit eutils libtool + +DESCRIPTION="LASH Audio Session Handler" +HOMEPAGE="http://www.nongnu.org/lash/" +SRC_URI="http://download.savannah.gnu.org/releases/lash/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="alsa debug gtk python" + +RDEPEND="alsa? ( media-libs/alsa-lib[midi] ) + media-sound/jack-audio-connection-kit + dev-libs/libxml2 + gtk? ( >=x11-libs/gtk+-2.0 ) + python? ( dev-lang/python ) + || ( sys-libs/readline dev-libs/libedit )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + python? ( >=dev-lang/swig-1.3.31 )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-glibc2.8.patch" + elibtoolize +} + +src_configure() { + local myconf + + # Yet-another-broken-configure: --enable-pylash would disable it. + use python || myconf="${myconf} --disable-pylash" + + econf \ + $(use_enable alsa alsa-midi) \ + $(use_enable gtk gtk2) \ + $(use_enable debug) \ + ${myconf} \ + --disable-dependency-tracking \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README TODO +} -- cgit v1.2.3-65-gdbad