summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-11-20 19:07:32 +0800
committerJason Zaman <perfinion@gentoo.org>2016-11-21 00:18:37 +0800
commitaa5a02b0e71a3f6564aa529641f3433b5640ac68 (patch)
tree0e30b9af8b980de3eab5463187eecfa11303d27f /xfce-extra
parentxfce-extra/xfce4-battery-plugin: bump version and EAPI6 (diff)
downloadgentoo-aa5a02b0e71a3f6564aa529641f3433b5640ac68.tar.gz
gentoo-aa5a02b0e71a3f6564aa529641f3433b5640ac68.tar.bz2
gentoo-aa5a02b0e71a3f6564aa529641f3433b5640ac68.zip
xfce-extra/xfce4-datetime-plugin: bump version and EAPI6
Package-Manager: portage-2.3.0
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-datetime-plugin/Manifest2
-rw-r--r--xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.7.0.ebuild (renamed from xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.6.99.ebuild)28
2 files changed, 20 insertions, 10 deletions
diff --git a/xfce-extra/xfce4-datetime-plugin/Manifest b/xfce-extra/xfce4-datetime-plugin/Manifest
index 7bb9775666fd..f789b4d95c5c 100644
--- a/xfce-extra/xfce4-datetime-plugin/Manifest
+++ b/xfce-extra/xfce4-datetime-plugin/Manifest
@@ -1,2 +1,2 @@
DIST xfce4-datetime-plugin-0.6.2.tar.bz2 287129 SHA256 9734da671e8d1d7de5fae92093a05d653c9245b838542fb9aff3e10368cc9e2c SHA512 53d7b28c125bf74479d4788b2cb9462d3d5252bca9ab4c615fcd98e63b2dd4b30d2492214b447169e0f895449051f1f001323cb0435e41365fd5b992283c4e6d WHIRLPOOL a86415cc4f5c38581822985d4ea5a7e76bd6c007249c9dc2df45fd42c51006227fe65be032d03f0daddfedb1fec8c238059632cd873420fd93502516034aa6f6
-DIST xfce4-datetime-plugin-0.6.99.tar.bz2 291976 SHA256 4c736ef9db039e5d8edd69280dde40c8171296f326531b67064e40ffe4739f35 SHA512 5f19bf31b50bbb3c4f0cb8eaf1c690eabcb0316a2b49b6097ae7a4a4fd36735193a0c8c2e73c50fde0a75c3a21c755ba7e768fa4827cf4e9628fcd8c0620bcbe WHIRLPOOL 4eced2ef2ae74d393ac7c920f770b6c6d2560776c4f23009ae1dba5ca65de3dc468150aa386a32865d567f23144d0b48b66e64d27ba17aaf97e45e64df995786
+DIST xfce4-datetime-plugin-0.7.0.tar.bz2 283142 SHA256 297f3077f7aee52a237449fbd8595e232267bc600b5b9e7ddc5baab306ed67b9 SHA512 a6d12a5f30fd6f5d0cfa85e50ed261c09378ff9f74897c5b30aef491c0f81a1985c033a416c9e080c1b07551666e1c6d1b1a1d75b5fac72dd71417ec23a640f7 WHIRLPOOL bedd2e64d95d76f552a4cd7045eded1653e27197286018f34b3db96223dcade8bea0d1dd660af40d72b2e47bb7e883ab4c14cf94ebff8d186a8ccdb538244fbd
diff --git a/xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.6.99.ebuild b/xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.7.0.ebuild
index 646557c83859..e434bfb4c787 100644
--- a/xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.6.99.ebuild
+++ b/xfce-extra/xfce4-datetime-plugin/xfce4-datetime-plugin-0.7.0.ebuild
@@ -2,17 +2,17 @@
# 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 with date, time and embedded calender"
HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin"
-SRC_URI="mirror://xfce/src/panel-plugins/${PN}/0.6/${P}.tar.bz2"
+SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~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 THANKS )
- DOCS=( AUTHORS ChangeLog NEWS THANKS )
+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
}