diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-04 21:15:18 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-11-04 21:15:18 +0000 |
commit | 90292d8e592b221732c74d515ec09579044d4f65 (patch) | |
tree | 90e6e66b7de1d4af9a1dab8bf433afc5d01e8214 /xfce-extra | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-90292d8e592b221732c74d515ec09579044d4f65.tar.gz gentoo-2-90292d8e592b221732c74d515ec09579044d4f65.tar.bz2 gentoo-2-90292d8e592b221732c74d515ec09579044d4f65.zip |
Fix building with USE="mpd" wrt #344199 by "haarp".
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'xfce-extra')
3 files changed, 31 insertions, 8 deletions
diff --git a/xfce-extra/xfce4-playercontrol-plugin/ChangeLog b/xfce-extra/xfce4-playercontrol-plugin/ChangeLog index 740b4bef1366..40e8574051b4 100644 --- a/xfce-extra/xfce4-playercontrol-plugin/ChangeLog +++ b/xfce-extra/xfce4-playercontrol-plugin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for xfce-extra/xfce4-playercontrol-plugin -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-playercontrol-plugin/ChangeLog,v 1.2 2009/11/02 16:48:49 angelos Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-playercontrol-plugin/ChangeLog,v 1.3 2010/11/04 21:15:18 ssuominen Exp $ + + 04 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> + xfce4-playercontrol-plugin-0.3.0.ebuild, + +files/xfce4-playercontrol-plugin-0.3.0-undeclared_XfceRc.patch: + Fix building with USE="mpd" wrt #344199 by "haarp". 02 Nov 2009; Christoph Mende <angelos@gentoo.org> xfce4-playercontrol-plugin-0.3.0.ebuild: diff --git a/xfce-extra/xfce4-playercontrol-plugin/files/xfce4-playercontrol-plugin-0.3.0-undeclared_XfceRc.patch b/xfce-extra/xfce4-playercontrol-plugin/files/xfce4-playercontrol-plugin-0.3.0-undeclared_XfceRc.patch new file mode 100644 index 000000000000..a09ede18029c --- /dev/null +++ b/xfce-extra/xfce4-playercontrol-plugin/files/xfce4-playercontrol-plugin-0.3.0-undeclared_XfceRc.patch @@ -0,0 +1,12 @@ +http://bugs.gentoo.org/344199 + +--- panel-plugin/libcommon.h ++++ panel-plugin/libcommon.h +@@ -31,6 +31,7 @@ + + #include <glib.h> + #include <gtk/gtk.h> ++#include <libxfce4util/libxfce4util.h> + #include <libxfce4panel/xfce-panel-plugin.h> + #include "playercontrol_plugin.h" + #include "playerctrl.h" diff --git a/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild b/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild index 085ab6341c4e..9c75ee2df0d0 100644 --- a/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild +++ b/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild,v 1.2 2009/11/02 16:48:49 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-0.3.0.ebuild,v 1.3 2010/11/04 21:15:18 ssuominen Exp $ -EAPI=2 +EAPI=3 inherit xfconf DESCRIPTION="Audacious and MPD panel plugins" @@ -11,7 +11,7 @@ SRC_URI="http://www.bilimfeneri.gen.tr/ilgar/${P}.tar.bz2" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="audacious mpd" RDEPEND=">=xfce-base/libxfcegui4-4.2 @@ -27,9 +27,15 @@ DEPEND="${RDEPEND} sys-devel/gettext" pkg_setup() { - XFCONF="--disable-dependency-tracking + PATCHES=( "${FILESDIR}"/${P}-undeclared_XfceRc.patch ) + + XFCONF=( + --disable-dependency-tracking + --disable-static --disable-xmms $(use_enable audacious) - $(use_enable mpd)" + $(use_enable mpd) + ) + DOCS="AUTHORS ChangeLog README README.developers" } |