From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-929819-garchives=archives.gentoo.org@lists.gentoo.org>
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 D614B139082
	for <garchives@archives.gentoo.org>; Mon,  6 Feb 2017 20:59:42 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F3D61E0D3E;
	Mon,  6 Feb 2017 20:59:41 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CD9E9E0D3E
	for <gentoo-commits@lists.gentoo.org>; Mon,  6 Feb 2017 20:59:41 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 547BF341678
	for <gentoo-commits@lists.gentoo.org>; Mon,  6 Feb 2017 20:59:40 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BC5A37EE
	for <gentoo-commits@lists.gentoo.org>; Mon,  6 Feb 2017 20:59:38 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1486414770.9ac7564f1d45119ce95ceee33a04d946ff45a08d.ulm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/openmittsu/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-im/openmittsu/openmittsu-0.9.2_p75-r1.ebuild net-im/openmittsu/openmittsu-0.9.2_p75.ebuild
X-VCS-Directories: net-im/openmittsu/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 9ac7564f1d45119ce95ceee33a04d946ff45a08d
X-VCS-Branch: master
Date: Mon,  6 Feb 2017 20:59:38 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: cafd713c-1b31-4534-a980-2332d3223772
X-Archives-Hash: d91cc493b0f4d249d3dbdfb5a9c9cc7f

commit:     9ac7564f1d45119ce95ceee33a04d946ff45a08d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 20:58:59 2017 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 20:59:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac7564f

net-im/openmittsu: Install icon and desktop file.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 ...2_p75.ebuild => openmittsu-0.9.2_p75-r1.ebuild} | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild b/net-im/openmittsu/openmittsu-0.9.2_p75-r1.ebuild
similarity index 74%
rename from net-im/openmittsu/openmittsu-0.9.2_p75.ebuild
rename to net-im/openmittsu/openmittsu-0.9.2_p75-r1.ebuild
index f7ee98d..da92298 100644
--- a/net-im/openmittsu/openmittsu-0.9.2_p75.ebuild
+++ b/net-im/openmittsu/openmittsu-0.9.2_p75-r1.ebuild
@@ -4,13 +4,13 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit cmake-utils eutils
 
-MY_P="openMittsu-${PV}"
+MY_PN="openMittsu"
 DESCRIPTION="An open source chat client for Threema-style end-to-end encrypted chat networks"
 HOMEPAGE="https://github.com/blizzard4591/openMittsu"
-# git-archive-all.sh snapshot of https://github.com/blizzard4591/openMittsu.git
-SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_P}.tar.xz"
+# git-archive-all.sh snapshot of https://github.com/blizzard4591/${MY_PN}.git
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_PN}-${PV}.tar.xz"
 
 LICENSE="GPL-2+ BitstreamVera OFL-1.1 Apache-2.0 CC0-1.0 MIT"
 SLOT="0"
@@ -25,12 +25,12 @@ DEPEND=">=dev-libs/libsodium-1.0.11:=
 	>=media-gfx/qrencode-3.4.4-r1"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${MY_P}"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 DOCS=(
-	"README.md"
-	"Example-client-configuration-file.ini"
-	"Example-contacts-file.txt"
+	README.md
+	Example-client-configuration-file.ini
+	Example-contacts-file.txt
 )
 
 src_prepare() {
@@ -47,3 +47,9 @@ src_configure() {
 	local mycmakeargs=("-DOPENMITTSU_DISABLE_VERSION_UPDATE_CHECK=ON")
 	cmake-utils_src_configure
 }
+
+src_install() {
+	cmake-utils_src_install
+	newicon resources/icon.png ${MY_PN}.png
+	make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN}
+}