From 7f90b764149db14424a605a4da709d0c945791d7 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 14 Jun 2018 21:50:58 +0200 Subject: media-gfx/luminance-hdr: Drop unused eutils, add missing xdg-utils Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'media-gfx/luminance-hdr') diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild index 1321f071b96d..39c345486d1c 100644 --- a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild +++ b/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils toolchain-funcs eutils flag-o-matic +inherit cmake-utils toolchain-funcs flag-o-matic xdg-utils MY_P=${P/_/.} DESCRIPTION="Graphical user interface that provides a workflow for HDR imaging" @@ -66,7 +66,7 @@ pkg_pretend() { } src_configure() { - mycmakeargs=( + local mycmakeargs=( -DUSE_OPENMP="$(usex openmp)" -DUSE_FITS="$(usex fits)" ) @@ -82,3 +82,13 @@ src_install() { fi done } + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} -- cgit v1.2.3-65-gdbad