summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-11-21 00:08:32 +0800
committerJason Zaman <perfinion@gentoo.org>2016-11-21 00:19:05 +0800
commitcf421fd00d2c33ef6b4254ff4c6d6a476e6dc843 (patch)
tree2d3f6da21911fe27366829df846779f254ea0379
parentxfce-extra/xfce4-wavelan-plugin: bump version and EAPI6 (diff)
downloadgentoo-cf421fd00d2c33ef6b4254ff4c6d6a476e6dc843.tar.gz
gentoo-cf421fd00d2c33ef6b4254ff4c6d6a476e6dc843.tar.bz2
gentoo-cf421fd00d2c33ef6b4254ff4c6d6a476e6dc843.zip
xfce-extra/xfce4-mpc-plugin: bump version and EAPI6
Package-Manager: portage-2.3.0
-rw-r--r--xfce-extra/xfce4-mpc-plugin/Manifest2
-rw-r--r--xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.5.0.ebuild (renamed from xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.4.99.ebuild)31
2 files changed, 23 insertions, 10 deletions
diff --git a/xfce-extra/xfce4-mpc-plugin/Manifest b/xfce-extra/xfce4-mpc-plugin/Manifest
index 531feb3ccd95..bd8ca1055953 100644
--- a/xfce-extra/xfce4-mpc-plugin/Manifest
+++ b/xfce-extra/xfce4-mpc-plugin/Manifest
@@ -1,2 +1,2 @@
DIST xfce4-mpc-plugin-0.4.5.tar.bz2 284335 SHA256 e71f57a28915c57459d6ce0eeeee1d0934f523c0ed083158c3d3b3836fc06fcf SHA512 272331170396c0635800c692fe06ac5bf53d0a2b007c6a8939f1678b109942728f9f97787e5b33abf94a56de6b72f6ea4cb3348f4ac3593b0bf4ab4c1ef79a57 WHIRLPOOL 724d47c3db533cce4ad8fa4317a7ca8e0789024cb0996b4fb2ea00744e5e4d31b49511eed2a35824b51024f9c153af2bbcda72f3169a016a09a4f215fee881ee
-DIST xfce4-mpc-plugin-0.4.99.tar.bz2 289887 SHA256 12248be50021825028fb46af0b3ff3610bd2c3496c07bce8c24682f0708ad157 SHA512 76ab7e7b1eefd35d7ac7605fec62c6d530c48aba8334dd4e158d063f079306182f5fa49c30fc62db95ef09efa3536e42b4d875a3e814109eb16e3bfe3882407b WHIRLPOOL c0c00ea6dff96d153de101f1ffabad65b9041ef23457c9a68c2efe092539bbc91cb9a3658ad7cf093297ab785e6d1e107ee5b44e599e5f4541e054d73bf479ad
+DIST xfce4-mpc-plugin-0.5.0.tar.bz2 282688 SHA256 f1320916ae3112e6825699652a502cebfa78bb006c649b42d3d331dfe57b6cb0 SHA512 b6cd8c756d952e19bbd0be3a8385b0bdd647960708537a8997589c07e512560856aa78de2ed0c6267810aa7b33c4470facd45048158e373053dc30813e8ebaa1 WHIRLPOOL f261088e30f557a4370411cb3f3794b91498ade414d969fb70fb74beb83743ba6f61162d6f05b92343db52f87dda387d65f74a29fedbe5e93997a0e02b00f53e
diff --git a/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.4.99.ebuild b/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.5.0.ebuild
index e4f113182de0..f0758d86a2d2 100644
--- a/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.4.99.ebuild
+++ b/xfce-extra/xfce4-mpc-plugin/xfce4-mpc-plugin-0.5.0.ebuild
@@ -2,8 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
-inherit xfconf
+EAPI=6
+inherit fdo-mime gnome2-utils
DESCRIPTION="Music Player Daemon (mpd) panel plugin"
HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin"
@@ -12,7 +12,7 @@ SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="debug +libmpd"
+IUSE="+libmpd"
RDEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
>=xfce-base/xfce4-panel-4.12:=
@@ -21,11 +21,24 @@ DEPEND="${RDEPEND}
dev-util/intltool
virtual/pkgconfig"
-pkg_setup() {
- XFCONF=(
- $(use_enable libmpd)
- $(xfconf_use_debug)
- )
+DOCS=( AUTHORS ChangeLog README TODO )
- DOCS=( AUTHORS ChangeLog README TODO )
+src_configure() {
+ econf $(use_enable libmpd)
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
}