From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB0321387FD for ; Tue, 10 Jun 2014 14:03:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC172E09F0; Tue, 10 Jun 2014 14:03:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 58440E09F0 for ; Tue, 10 Jun 2014 14:03:53 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42617340114 for ; Tue, 10 Jun 2014 14:03:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 0217C181A9 for ; Tue, 10 Jun 2014 14:03:51 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1402409015.c14964b7f91c74a4bc431509f87fc4be8e47a9e4.kensington@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-base/kio-extras/ X-VCS-Repository: proj/kde X-VCS-Files: kde-base/kio-extras/kio-extras-9999.ebuild X-VCS-Directories: kde-base/kio-extras/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: c14964b7f91c74a4bc431509f87fc4be8e47a9e4 X-VCS-Branch: master Date: Tue, 10 Jun 2014 14:03:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6e9eb5a2-60e0-4c7a-b564-04737f5e70f7 X-Archives-Hash: 15e736232293ab505eb1ebf75bbd309c commit: c14964b7f91c74a4bc431509f87fc4be8e47a9e4 Author: Michael Palimaka gentoo org> AuthorDate: Tue Jun 10 14:03:35 2014 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Tue Jun 10 14:03:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c14964b7 [kde-base/kio-extras] Update MIME database. Package installs /usr/share/mime/packages/kf5_network.xml. Package-Manager: portage-2.2.10 --- kde-base/kio-extras/kio-extras-9999.ebuild | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/kde-base/kio-extras/kio-extras-9999.ebuild b/kde-base/kio-extras/kio-extras-9999.ebuild index a56975d..74acbcf 100644 --- a/kde-base/kio-extras/kio-extras-9999.ebuild +++ b/kde-base/kio-extras/kio-extras-9999.ebuild @@ -7,14 +7,14 @@ EAPI=5 KDE_HANDBOOK="true" KDE_TEST="true" VIRTUALX_REQUIRED="test" -inherit kde5 +inherit fdo-mime kde5 DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data" HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kio-extras" KEYWORDS="" IUSE="exif openexr phonon samba +sftp slp" -DEPEND=" +RDEPEND=" $(add_frameworks_dep karchive 'bzip2,lzma') $(add_frameworks_dep kbookmarks) $(add_frameworks_dep kcodecs) @@ -45,10 +45,11 @@ DEPEND=" samba? ( || ( =net-fs/samba-4.0.0_alpha1[client] ) ) sftp? ( >=net-libs/libssh-0.6.0:=[sftp] ) slp? ( net-libs/openslp ) -" -RDEPEND="${DEPEND} !kde-base/kdebase-kioslaves:4 " +DEPEND="${RDEPEND} + x11-misc/shared-mime-info +" # requires running kde environment RESTRICT="test" @@ -65,3 +66,14 @@ src_configure() { kde5_src_configure } + +pkg_postinst() { + kde5_pkg_postinst + fdo-mime_mime_database_update +} + +pkg_postrm() { + kde5_pkg_postinst + fdo-mime_mime_database_update +} +