From 745c035e7fa76a898b4981b7f956306005789ec0 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Thu, 16 Jul 2009 19:43:52 +0000 Subject: Apply threads patch only if USE threads is used wrt #276970. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- media-plugins/gkrellmpc/ChangeLog | 6 +++++- media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild | 11 ++++++++--- media-plugins/gkrellmpc/metadata.xml | 3 +++ 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'media-plugins') diff --git a/media-plugins/gkrellmpc/ChangeLog b/media-plugins/gkrellmpc/ChangeLog index 363512910032..1cd3d06ea91f 100644 --- a/media-plugins/gkrellmpc/ChangeLog +++ b/media-plugins/gkrellmpc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-plugins/gkrellmpc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/ChangeLog,v 1.10 2009/07/16 19:31:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/ChangeLog,v 1.11 2009/07/16 19:43:52 ssuominen Exp $ + + 16 Jul 2009; Samuli Suominen + gkrellmpc-0.1_beta9-r1.ebuild: + Apply threads patch only if USE threads is used wrt #276970. 16 Jul 2009; Samuli Suominen gkrellmpc-0.1_beta9.ebuild, gkrellmpc-0.1_beta9-r1.ebuild: diff --git a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild index afdd994dcdf5..c9fce95987a5 100644 --- a/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild +++ b/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild,v 1.2 2009/07/16 19:31:43 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild,v 1.3 2009/07/16 19:43:52 ssuominen Exp $ EAPI=2 inherit eutils gkrellm-plugin toolchain-funcs @@ -12,17 +12,22 @@ SRC_URI="http://www.topfx.com/dist/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="threads" RDEPEND=">=app-admin/gkrellm-2 net-misc/curl" DEPEND="${RDEPEND}" src_prepare() { - epatch "${FILESDIR}"/${P}-mt.patch + use threads && epatch "${FILESDIR}"/${P}-mt.patch } src_compile() { tc-export CC emake || die "emake failed" } + +pkg_postinst() { + elog "If you can't connect MPD, please unset USE threads." + elog "See, http://bugs.gentoo.org/276970 for information." +} diff --git a/media-plugins/gkrellmpc/metadata.xml b/media-plugins/gkrellmpc/metadata.xml index c9645ab9103b..15505756c200 100644 --- a/media-plugins/gkrellmpc/metadata.xml +++ b/media-plugins/gkrellmpc/metadata.xml @@ -3,4 +3,7 @@ sound desktop-dock + + Use separate thread to init connection (unsafe) + -- cgit v1.2.3-65-gdbad