From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2DBED138334 for ; Sun, 8 Dec 2019 10:08:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 977DDE08F0; Sun, 8 Dec 2019 10:08:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A72FE08F0 for ; Sun, 8 Dec 2019 10:08:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6574B34D86B for ; Sun, 8 Dec 2019 10:08:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82E138D6 for ; Sun, 8 Dec 2019 10:08:38 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1575799696.817ff99534427a77a9f04b8e3b1b0ccad9f544f7.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/librepcb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/librepcb/librepcb-0.1.3.ebuild X-VCS-Directories: sci-electronics/librepcb/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 817ff99534427a77a9f04b8e3b1b0ccad9f544f7 X-VCS-Branch: master Date: Sun, 8 Dec 2019 10:08:38 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2dbf261f-2ada-49de-ae50-0da0b6805e9c X-Archives-Hash: 5b4d9562977f06c5daead91ab07d8433 commit: 817ff99534427a77a9f04b8e3b1b0ccad9f544f7 Author: Joonas Niilola gentoo org> AuthorDate: Sun Dec 8 10:07:53 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Dec 8 10:08:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=817ff995 sci-electronics/librepcb: use xdg-utils.eclass Signed-off-by: Joonas Niilola gentoo.org> sci-electronics/librepcb/librepcb-0.1.3.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sci-electronics/librepcb/librepcb-0.1.3.ebuild b/sci-electronics/librepcb/librepcb-0.1.3.ebuild index 50dfacb22b3..fe132f05370 100644 --- a/sci-electronics/librepcb/librepcb-0.1.3.ebuild +++ b/sci-electronics/librepcb/librepcb-0.1.3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit qmake-utils +inherit qmake-utils xdg-utils DESCRIPTION="Free EDA software to develop printed circuit boards" HOMEPAGE="https://librepcb.org/" @@ -39,3 +39,15 @@ src_configure() { src_install() { emake INSTALL_ROOT="${D}" install } + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update + xdg_mimeinfo_database_update +}