+++ /dev/null
-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"
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>xfce@gentoo.org</email>
- <name>XFCE Team</name>
- </maintainer>
- <use>
- <flag name="audacious">Enable Audacious support</flag>
- <flag name="mpd">Enable Music Player Daemon support</flag>
- </use>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit multilib xfconf
-
-DESCRIPTION="Audacious and MPD panel plugins"
-HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfce4-xmms-plugin"
-SRC_URI="http://www.bilimfeneri.gen.tr/ilgar/${P}.tar.bz2"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="audacious mpd"
-
-RDEPEND="x11-libs/gtk+:2
- x11-libs/pango
- >=xfce-base/libxfce4util-4.8
- >=xfce-base/libxfcegui4-4.8
- >=xfce-base/xfce4-panel-4.8
- mpd? ( >=media-libs/libmpd-0.12 )
- audacious? ( >=media-sound/audacious-1.4 )"
-DEPEND="${RDEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext"
-
-pkg_setup() {
- PATCHES=( "${FILESDIR}"/${P}-undeclared_XfceRc.patch )
-
- XFCONF=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- --disable-static
- --disable-xmms
- $(use_enable audacious)
- $(use_enable mpd)
- )
-
- DOCS=( AUTHORS ChangeLog README README.developers )
-}
-
-src_prepare() {
- echo panel-plugin/mpc.c > po/POTFILES.skip
- echo panel-plugin/popupmenu.c >> po/POTFILES.skip
- xfconf_src_prepare
-}