x11-misc/obconf: fdo-mime->xdg-utils
authorMarty E. Plummer <hanetzer@startmail.com>
Sun, 8 Apr 2018 10:12:05 +0000 (05:12 -0500)
committerDavid Seifert <soap@gentoo.org>
Fri, 20 Apr 2018 19:47:32 +0000 (21:47 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

x11-misc/obconf/obconf-2.0.4.ebuild
x11-misc/obconf/obconf-9999.ebuild

index 4ee587cc379867a39d17538c42c93147c8e0efc5..acba3e2cb972e050caf5b0d71c9461f317093b1e 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit fdo-mime
+
+inherit xdg-utils
 
 DESCRIPTION="ObConf is a tool for configuring the Openbox window manager"
 HOMEPAGE="http://openbox.org/wiki/ObConf:About"
@@ -27,11 +28,11 @@ src_configure() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
index eb5947a313a288c0d9a372ec66929cb25033fd62..182f34ce49f0d2df67566806b69149aca4f99d84 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools fdo-mime git-r3
+inherit autotools xdg-utils git-r3
 
 DESCRIPTION="ObConf is a tool for configuring the Openbox window manager"
 HOMEPAGE="http://openbox.org/wiki/ObConf:About"
@@ -31,11 +31,11 @@ src_configure() {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+       xdg_desktop_database_update
+       xdg_mimeinfo_database_update
 }