public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Heather Cynede" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: net-irc/smuxi/
Date: Wed, 15 Jun 2016 11:17:46 +0000 (UTC)	[thread overview]
Message-ID: <1465988611.4eac22b0309ce82dd887324bcef6c20f75cc2591.cynede@gentoo> (raw)

commit:     4eac22b0309ce82dd887324bcef6c20f75cc2591
Author:     layman <layman <AT> localhost>
AuthorDate: Wed Jun 15 11:03:31 2016 +0000
Commit:     Heather Cynede <cynede <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2016-06-15 11:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15 11:17 Heather Cynede [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-10-18 12:39 [gentoo-commits] proj/dotnet:master commit in: net-irc/smuxi/ Mikhail Pukhlikov
2018-10-18 12:39 Mikhail Pukhlikov
2018-10-18 12:39 Mikhail Pukhlikov
2017-08-03  7:57 Mikhail Pukhlikov
2017-08-03  7:57 Mikhail Pukhlikov
2016-06-16  6:07 Heather Cynede
2016-06-15 11:17 Heather Cynede
2016-06-15 11:17 Heather Cynede
2015-08-10 11:54 Heather Cynede
2015-08-08 13:35 Heather Cynede
2015-03-06  4:23 Heather Cynede
2013-12-30 14:11 Heather Cynede
2013-11-16 16:54 Heather Cynede
2013-10-26 17:01 Heather Cynede
2013-10-13 12:12 Heather Cynede
2013-10-12 15:28 Heather Cynede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465988611.4eac22b0309ce82dd887324bcef6c20f75cc2591.cynede@gentoo \
    --to=cynede@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox