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 A2FA21382BF for ; Wed, 15 Jun 2016 11:17:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3482BE090A; Wed, 15 Jun 2016 11:17:52 +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 7316FE0912 for ; Wed, 15 Jun 2016 11:17:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9E1533406DD for ; Wed, 15 Jun 2016 11:17:50 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9DC01BA1 for ; Wed, 15 Jun 2016 11:17:46 +0000 (UTC) From: "Heather Cynede" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Heather Cynede" Message-ID: <1465988611.4eac22b0309ce82dd887324bcef6c20f75cc2591.cynede@gentoo> Subject: [gentoo-commits] proj/dotnet:master commit in: net-irc/smuxi/ X-VCS-Repository: proj/dotnet X-VCS-Files: net-irc/smuxi/smuxi-1.0.5.ebuild X-VCS-Directories: net-irc/smuxi/ X-VCS-Committer: cynede X-VCS-Committer-Name: Heather Cynede X-VCS-Revision: 4eac22b0309ce82dd887324bcef6c20f75cc2591 X-VCS-Branch: master Date: Wed, 15 Jun 2016 11:17:46 +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: abe1a78b-aa0c-4b76-9508-25dec1452cc7 X-Archives-Hash: a4b398f34bf76a6510b435078b3ef8c6 commit: 4eac22b0309ce82dd887324bcef6c20f75cc2591 Author: layman localhost> AuthorDate: Wed Jun 15 11:03:31 2016 +0000 Commit: Heather Cynede gentoo org> CommitDate: Wed Jun 15 11:03:31 2016 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=4eac22b0 icon installation added net-irc/smuxi/smuxi-1.0.5.ebuild | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/net-irc/smuxi/smuxi-1.0.5.ebuild b/net-irc/smuxi/smuxi-1.0.5.ebuild index 5f010fc..1daacca 100644 --- a/net-irc/smuxi/smuxi-1.0.5.ebuild +++ b/net-irc/smuxi/smuxi-1.0.5.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -inherit eutils mono-env +EAPI=6 +inherit eutils gnome2-utils mono-env DESCRIPTION="A flexible, irssi-like and user-friendly IRC client for the Gnome Desktop" HOMEPAGE="http://www.smuxi.org/main/" -SRC_URI="http://www.smuxi.org/jaws/data/files/${P}.tar.gz" +SRC_URI="http://www.smuxi.org/jaws/data/files/${P}.tar.gz + https://github.com/meebey/smuxi/raw/master/images/icon_square.svg -> smuxi.svg" #SRC_URI="https://github.com/meebey/smuxi/archive/${PV}.tar.gz" SLOT="0" @@ -32,6 +33,14 @@ DEPEND="${RDEPEND} virtual/pkgconfig " +pkg_preinst() { + gnome2_icon_savelist +} + +src_prepare() { + default +} + src_configure() { # Our dev-dotnet/db4o is completely unmaintained # We don't have ubuntu stuff @@ -49,3 +58,21 @@ src_configure() { touch README } + +src_install() { + default + + elog "Installing desktop icon" + insinto /usr/share/icons/hicolor/scalable/apps + local ICON_NAME=smuxi.svg + newicon -s scalable "${DISTDIR}/${ICON_NAME}" "${ICON_NAME}" + make_desktop_entry "/usr/local/bin/smuxi-frontend-gnome" "Smuxi" "/usr/share/icons/hicolor/scalable/apps/${ICON_NAME}" +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}