diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 19:43:52 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-07-16 19:43:52 +0000 |
commit | 745c035e7fa76a898b4981b7f956306005789ec0 (patch) | |
tree | a9526780de54e688fbb1cb3e67140973fe920cb8 /media-plugins | |
parent | p.mask =sys-apps/portage-2.2.00.13827 due to regression, bug 278014 (diff) | |
download | gentoo-2-745c035e7fa76a898b4981b7f956306005789ec0.tar.gz gentoo-2-745c035e7fa76a898b4981b7f956306005789ec0.tar.bz2 gentoo-2-745c035e7fa76a898b4981b7f956306005789ec0.zip |
Apply threads patch only if USE threads is used wrt #276970.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/gkrellmpc/ChangeLog | 6 | ||||
-rw-r--r-- | media-plugins/gkrellmpc/gkrellmpc-0.1_beta9-r1.ebuild | 11 | ||||
-rw-r--r-- | media-plugins/gkrellmpc/metadata.xml | 3 |
3 files changed, 16 insertions, 4 deletions
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 <ssuominen@gentoo.org> + gkrellmpc-0.1_beta9-r1.ebuild: + Apply threads patch only if USE threads is used wrt #276970. 16 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> 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 @@ <pkgmetadata> <herd>sound</herd> <herd>desktop-dock</herd> + <use> + <flag name="threads">Use separate thread to init connection (unsafe)</flag> + </use> </pkgmetadata> |