summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-11-20 19:19:51 +0800
committerJason Zaman <perfinion@gentoo.org>2016-11-21 00:18:40 +0800
commitfd463710951c0caf9fcbec8d6f6dbc345208dcf5 (patch)
tree6d5825e75ff9f3bea1bcbaa69a11960af7d2aaed /xfce-extra
parentxfce-extra/xfce4-datetime-plugin: bump version and EAPI6 (diff)
downloadgentoo-fd463710951c0caf9fcbec8d6f6dbc345208dcf5.tar.gz
gentoo-fd463710951c0caf9fcbec8d6f6dbc345208dcf5.tar.bz2
gentoo-fd463710951c0caf9fcbec8d6f6dbc345208dcf5.zip
xfce-extra/xfce4-diskperf-plugin: bump version and EAPI6
Package-Manager: portage-2.3.0
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-diskperf-plugin/Manifest2
-rw-r--r--xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.0.ebuild (renamed from xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.5.99.ebuild)26
2 files changed, 19 insertions, 9 deletions
diff --git a/xfce-extra/xfce4-diskperf-plugin/Manifest b/xfce-extra/xfce4-diskperf-plugin/Manifest
index ebe851cfaefd..fd4de4d884a5 100644
--- a/xfce-extra/xfce4-diskperf-plugin/Manifest
+++ b/xfce-extra/xfce4-diskperf-plugin/Manifest
@@ -1,2 +1,2 @@
DIST xfce4-diskperf-plugin-2.5.5.tar.bz2 321446 SHA256 cbeb0c00f97362eef3f135afb77947aef73e938bae0386250a122ac6644b521b SHA512 ab0299246f228de6ae8597ccd14980111c28a774e6a41fcaa23cd50f978623fb3f4a20b61c19d0644e2c8062ca9037bf365cdec40f3174aa6d1a88a63a356fec WHIRLPOOL 7078e23e8536cfaebd36c00a942758db8941df226cc1becf194f6245b5532647cdad99fde19efffcd057654143d4021455c4736a988a722ec2302185030a3735
-DIST xfce4-diskperf-plugin-2.5.99.tar.bz2 337057 SHA256 41fd067b88c264bfe8126fa546a44cc5a1fc77c19f652313c1fbfed45db448ab SHA512 9236274c42450e7c05cb99d4da4799bd76cac9d2fcdfa6311e5443f5f2416627e7e5af33c7ec0ac3bc3d1a699a6fc3483b347153cbcf9b73a764bbb3d9c93d0a WHIRLPOOL 920e5a4ae6ea227f52544586ca103de0cc3b5e9a6e38825f0b6d465ac5ae2060ffd564900f0ae9138f8ab0a21e491215b0f0dd790df6064beb8e66b7456b11a1
+DIST xfce4-diskperf-plugin-2.6.0.tar.bz2 322865 SHA256 4897f34ccd8c3d050f8d2d95652af6ab740a670a108bf01f582945779305900e SHA512 5f225ac313eed3ea2da7f1a6e801ec0bc0370d79b25f45f54419c61e518870ca50dd1056f043b42634c725830f0dedfde6fb9def6e0214d044804492b8cade45 WHIRLPOOL d6289cda060bae799d6d25a2bd7db45107b8770add6a7fb602fe8874fef8e22e8ee37d10d1a6cb64ca75c761fb90334fa8802ef6cdebc35d3c078f6dc55831b8
diff --git a/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.5.99.ebuild b/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.0.ebuild
index 7a658bb47512..a2cace09fd71 100644
--- a/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.5.99.ebuild
+++ b/xfce-extra/xfce4-diskperf-plugin/xfce4-diskperf-plugin-2.6.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="A panel plug-in for disk usage and performance statistics"
HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin"
@@ -12,7 +12,7 @@ SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
-IUSE="debug"
+IUSE=""
RDEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
>=xfce-base/xfce4-panel-4.12:="
@@ -21,10 +21,20 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
-pkg_setup() {
- XFCONF=(
- $(xfconf_use_debug)
- )
+DOCS=( AUTHORS ChangeLog NEWS README )
- DOCS=( AUTHORS ChangeLog NEWS README )
+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
}