commit:     0344632641382bdce8df8bc20466740a7b089c5b
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 17 15:54:14 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Mar 17 15:54:14 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=03446326

[kde-plasma/bluedevil] Update mime database.

Package-Manager: portage-2.2.17

 kde-plasma/bluedevil/bluedevil-5.2.1.ebuild    | 18 +++++++++++++++---
 kde-plasma/bluedevil/bluedevil-5.2.9999.ebuild | 18 +++++++++++++++---
 kde-plasma/bluedevil/bluedevil-9999.ebuild     | 18 +++++++++++++++---
 3 files changed, 45 insertions(+), 9 deletions(-)

diff --git a/kde-plasma/bluedevil/bluedevil-5.2.1.ebuild 
b/kde-plasma/bluedevil/bluedevil-5.2.1.ebuild
index c87683d..9143b45 100644
--- a/kde-plasma/bluedevil/bluedevil-5.2.1.ebuild
+++ b/kde-plasma/bluedevil/bluedevil-5.2.1.ebuild
@@ -5,14 +5,14 @@
 EAPI=5
 
 EGIT_BRANCH="frameworks"
-inherit kde5
+inherit fdo-mime kde5
 
 DESCRIPTION="Bluetooth stack for KDE"
 HOMEPAGE="http://projects.kde.org/projects/extragear/base/bluedevil";
 KEYWORDS=" ~amd64"
 IUSE=""
 
-DEPEND="
+COMMON_DEPEND="
        $(add_frameworks_dep kcompletion)
        $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kconfigwidgets)
@@ -28,12 +28,24 @@ DEPEND="
        dev-qt/qtdbus:5
        dev-qt/qtgui:5
        dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
        x11-misc/shared-mime-info
 "
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
        $(add_plasma_dep kde-cli-tools)
        !app-mobilephone/obexd
        !app-mobilephone/obex-data-server
        !net-wireless/bluedevil
        !net-wireless/kbluetooth
 "
+
+pkg_postinst() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}

diff --git a/kde-plasma/bluedevil/bluedevil-5.2.9999.ebuild 
b/kde-plasma/bluedevil/bluedevil-5.2.9999.ebuild
index b851f22..4aaa988 100644
--- a/kde-plasma/bluedevil/bluedevil-5.2.9999.ebuild
+++ b/kde-plasma/bluedevil/bluedevil-5.2.9999.ebuild
@@ -5,14 +5,14 @@
 EAPI=5
 
 EGIT_BRANCH="frameworks"
-inherit kde5
+inherit fdo-mime kde5
 
 DESCRIPTION="Bluetooth stack for KDE"
 HOMEPAGE="http://projects.kde.org/projects/extragear/base/bluedevil";
 KEYWORDS=""
 IUSE=""
 
-DEPEND="
+COMMON_DEPEND="
        $(add_frameworks_dep kcompletion)
        $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kconfigwidgets)
@@ -28,12 +28,24 @@ DEPEND="
        dev-qt/qtdbus:5
        dev-qt/qtgui:5
        dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
        x11-misc/shared-mime-info
 "
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
        $(add_plasma_dep kde-cli-tools)
        !app-mobilephone/obexd
        !app-mobilephone/obex-data-server
        !net-wireless/bluedevil
        !net-wireless/kbluetooth
 "
+
+pkg_postinst() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}

diff --git a/kde-plasma/bluedevil/bluedevil-9999.ebuild 
b/kde-plasma/bluedevil/bluedevil-9999.ebuild
index b851f22..4aaa988 100644
--- a/kde-plasma/bluedevil/bluedevil-9999.ebuild
+++ b/kde-plasma/bluedevil/bluedevil-9999.ebuild
@@ -5,14 +5,14 @@
 EAPI=5
 
 EGIT_BRANCH="frameworks"
-inherit kde5
+inherit fdo-mime kde5
 
 DESCRIPTION="Bluetooth stack for KDE"
 HOMEPAGE="http://projects.kde.org/projects/extragear/base/bluedevil";
 KEYWORDS=""
 IUSE=""
 
-DEPEND="
+COMMON_DEPEND="
        $(add_frameworks_dep kcompletion)
        $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kconfigwidgets)
@@ -28,12 +28,24 @@ DEPEND="
        dev-qt/qtdbus:5
        dev-qt/qtgui:5
        dev-qt/qtwidgets:5
+"
+DEPEND="${COMMON_DEPEND}
        x11-misc/shared-mime-info
 "
-RDEPEND="${DEPEND}
+RDEPEND="${COMMON_DEPEND}
        $(add_plasma_dep kde-cli-tools)
        !app-mobilephone/obexd
        !app-mobilephone/obex-data-server
        !net-wireless/bluedevil
        !net-wireless/kbluetooth
 "
+
+pkg_postinst() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}
+
+pkg_postrm() {
+       kde5_pkg_postinst
+       fdo-mime_mime_database_update
+}

Reply via email to