summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-11-20 22:01:27 +0800
committerJason Zaman <perfinion@gentoo.org>2016-11-21 00:18:53 +0800
commitba1493f61cf2e422c1bd060e3f8bf8b437a7099b (patch)
tree4046d3f0d4b125e4395c74916613ea7cc97d3a9a /xfce-extra
parentxfce-extra/xfce4-netload-plugin: bump version and EAPI6 (diff)
downloadgentoo-ba1493f61cf2e422c1bd060e3f8bf8b437a7099b.tar.gz
gentoo-ba1493f61cf2e422c1bd060e3f8bf8b437a7099b.tar.bz2
gentoo-ba1493f61cf2e422c1bd060e3f8bf8b437a7099b.zip
xfce-extra/xfce4-smartbookmark-plugin: bump version and EAPI6
Package-Manager: portage-2.3.0
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-smartbookmark-plugin/Manifest2
-rw-r--r--xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.5.0.ebuild (renamed from xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.99.ebuild)31
2 files changed, 22 insertions, 11 deletions
diff --git a/xfce-extra/xfce4-smartbookmark-plugin/Manifest b/xfce-extra/xfce4-smartbookmark-plugin/Manifest
index 102ce41bd91a..447265aa1156 100644
--- a/xfce-extra/xfce4-smartbookmark-plugin/Manifest
+++ b/xfce-extra/xfce4-smartbookmark-plugin/Manifest
@@ -1,2 +1,2 @@
DIST xfce4-smartbookmark-plugin-0.4.6.tar.bz2 280664 SHA256 3bed2b322cd39ce5845d6da07938c702260f3f1a9700b690ef377fba752ba24f SHA512 1d08b26761189d5e3b9d6a3e7f8a6bad8b73cc48ecf6d41c675bb13cc1074f48aca94e953b8d6cc97259c64c4f9f0aca9f0b0680fc4c6a9f01b13898175a5645 WHIRLPOOL 35adc639db061cb3158ad274cdfecfa0a8ad47399c8ee308086b12f4f6c4e6818522154e06217e75f56ee1e52abfb132c837aeba40b91f19aa4d49c5392eb69b
-DIST xfce4-smartbookmark-plugin-0.4.99.tar.bz2 293553 SHA256 5b833140aae4a0b7539b2446b535ad7fbbdaf4ba1cfcd8623956aa9c49047bea SHA512 a7dd7284ed9a3c80033dc6ad6ec971f9ab24aec6fbecfc9c55f8727e5d2bbe6859b0577ea3120d35f5c4cf88957e485fe61bd2af7c18ae2619e998638a94dc36 WHIRLPOOL d751f8838a766c12f2a47d3b83be3ecf0a236d70ee7249ed0fcc03480d68ab51f8e9c20dea785d9d38d4d1d4c93e78c97870ff1a46b59cdef4d578a75e3baf39
+DIST xfce4-smartbookmark-plugin-0.5.0.tar.bz2 280988 SHA256 139539c58d54d878de86ef8a882c793cd909981e6b888f7f9d5e230a8fe310a4 SHA512 0514a1159cb5218af73d28897a218c369a64b9c3a7c286c0bf45ad404773ccaa49af5c8b0492e38f56f8089a2ec79b0434de93388d960b993ad67cecef5315cc WHIRLPOOL 72ba1d00450762a35f60c65a58bd50acf36a89f997ca84a4ec40985578ebb4c984e48ee733e14e81e91f5c8aa838efbc27458b31a807dab653bab6fb22cbbdcb
diff --git a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.99.ebuild b/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.5.0.ebuild
index aaa03669eab1..5c22e3c2fb89 100644
--- a/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-plugin-0.4.99.ebuild
+++ b/xfce-extra/xfce4-smartbookmark-plugin/xfce4-smartbookmark-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="Smart bookmark plug-in for the Xfce desktop environment"
HOMEPAGE="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin"
@@ -12,7 +12,7 @@ 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=""
COMMON_DEPEND=">=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
>=xfce-base/xfce4-panel-4.12:="
@@ -21,15 +21,26 @@ DEPEND="${COMMON_DEPEND}
sys-devel/gettext
virtual/pkgconfig"
-pkg_setup() {
- XFCONF=(
- $(xfconf_use_debug)
- )
+DOCS=( AUTHORS ChangeLog NEWS README )
- DOCS=( AUTHORS ChangeLog NEWS README )
-}
src_prepare() {
# substitute default bugtracker
sed -i -e '/bugs/s:bugs\.debian:bugs.gentoo:' src/smartbookmark.c || die
- xfconf_src_prepare
+ default
+}
+
+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
}