diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-29 09:22:30 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-29 09:22:30 +0000 |
commit | 2c0ca88660ebe0f392a5df3bb43b40e275d19b70 (patch) | |
tree | 847195db422153065e4afee878d2691e9e714804 /media-sound/mpdscribble/mpdscribble-0.18.ebuild | |
parent | Version bump. Change libsoup dep. to curl since it's apparently preferred by ... (diff) | |
download | gentoo-2-2c0ca88660ebe0f392a5df3bb43b40e275d19b70.tar.gz gentoo-2-2c0ca88660ebe0f392a5df3bb43b40e275d19b70.tar.bz2 gentoo-2-2c0ca88660ebe0f392a5df3bb43b40e275d19b70.zip |
Fix missing LDADD for -lgthread-2.0.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mpdscribble/mpdscribble-0.18.ebuild')
-rw-r--r-- | media-sound/mpdscribble/mpdscribble-0.18.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/media-sound/mpdscribble/mpdscribble-0.18.ebuild b/media-sound/mpdscribble/mpdscribble-0.18.ebuild index e5992f8df9a0..9ac2e2d6016c 100644 --- a/media-sound/mpdscribble/mpdscribble-0.18.ebuild +++ b/media-sound/mpdscribble/mpdscribble-0.18.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/mpdscribble-0.18.ebuild,v 1.1 2009/07/29 08:56:16 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpdscribble/mpdscribble-0.18.ebuild,v 1.2 2009/07/29 09:22:30 ssuominen Exp $ EAPI=2 +inherit autotools eutils DESCRIPTION="An MPD client that submits information to Audioscrobbler" HOMEPAGE="http://mpd.wikia.com/wiki/Client:Mpdscribble" @@ -11,17 +12,25 @@ SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="" +IUSE="+curl" RDEPEND=">=dev-libs/glib-2.16:2 - net-misc/curl" + curl? ( net-misc/curl ) + !curl? ( net-libs/libsoup:2.4 )" DEPEND="${RDEPEND} dev-util/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-ldadd_gthread.patch + eautoreconf +} + src_configure() { + local myclient=soup + use curl && myclient=curl econf \ - --disable-dependency-tracking - + --disable-dependency-tracking \ + --with-http-client=${myclient} } src_install() { |