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 8D149139082 for ; Thu, 30 Nov 2017 21:40:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAC9AE0D1F; Thu, 30 Nov 2017 21:40:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A87C8E0D1F for ; Thu, 30 Nov 2017 21:40:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 96C45341688 for ; Thu, 30 Nov 2017 21:40:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6674DAD26 for ; Thu, 30 Nov 2017 21:40:08 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1512078004.11c1a64c02b9f7aafea4744a84990ac63cb947d0.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/lmms/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/lmms/lmms-9999.ebuild X-VCS-Directories: media-sound/lmms/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 11c1a64c02b9f7aafea4744a84990ac63cb947d0 X-VCS-Branch: master Date: Thu, 30 Nov 2017 21:40:08 +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: 8ab08bb1-81c9-44fc-acbe-46a17923300d X-Archives-Hash: e39a8a1b984b9fc912894371ef9ce2d9 commit: 11c1a64c02b9f7aafea4744a84990ac63cb947d0 Author: Lars Wendler gentoo org> AuthorDate: Thu Nov 30 21:39:45 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Nov 30 21:40:04 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c1a64c media-sound/lmms: Synced live ebuild. Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-sound/lmms/lmms-9999.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/media-sound/lmms/lmms-9999.ebuild b/media-sound/lmms/lmms-9999.ebuild index ee2e0167921..1782844e67f 100644 --- a/media-sound/lmms/lmms-9999.ebuild +++ b/media-sound/lmms/lmms-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit cmake-utils +inherit cmake-utils xdg-utils DESCRIPTION="Cross-platform music production software" HOMEPAGE="https://lmms.io" @@ -11,8 +11,9 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://github.com/LMMS/lmms.git" inherit git-r3 else - SRC_URI="https://github.com/LMMS/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/LMMS/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${P/_/-}" fi LICENSE="GPL-2 LGPL-2" @@ -85,3 +86,13 @@ src_configure() { ) cmake-utils_src_configure } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}