aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlayman <layman@localhost>2016-06-15 14:03:31 +0300
committerlayman <layman@localhost>2016-06-15 14:03:31 +0300
commit4eac22b0309ce82dd887324bcef6c20f75cc2591 (patch)
tree6416cbb39fa1d908d7f0a2a4b23f2ca11dc2125a /net-irc/smuxi
parentprev code (diff)
downloaddotnet-4eac22b0309ce82dd887324bcef6c20f75cc2591.tar.gz
dotnet-4eac22b0309ce82dd887324bcef6c20f75cc2591.tar.bz2
dotnet-4eac22b0309ce82dd887324bcef6c20f75cc2591.zip
icon installation added
Diffstat (limited to 'net-irc/smuxi')
-rw-r--r--net-irc/smuxi/Manifest2
-rw-r--r--net-irc/smuxi/smuxi-1.0.5.ebuild35
2 files changed, 33 insertions, 4 deletions
diff --git a/net-irc/smuxi/Manifest b/net-irc/smuxi/Manifest
index 7c85c1d..4f41784 100644
--- a/net-irc/smuxi/Manifest
+++ b/net-irc/smuxi/Manifest
@@ -1 +1,3 @@
+DIST smuxi-1.0.5.tar.gz 6122859 SHA256 0c33e7edef7e1ebc848447540f0e63ae1dfccae7763dd163bf02774e84039a1c SHA512 f6430c99147f9bf7b8a3ec27c89c3cd59e45485542f7aed5c22a535094adb0d91a7f2ee5adb2af280b14a269971a9b8ee9809b22b4bfe297c9d91ca1c8c75675 WHIRLPOOL 47b75beba26828e08939f5026d5f397e82ff54e252f6f8629fc0d12f477aaa24f89a5c1e9f138c949c5e69e1b5b63c34acbe4bf60c4b656380c5e6c0c7f3da73
DIST smuxi-1.0.tar.gz 3138559 SHA256 bd6af3f76b33d923c68d9659a5c828408c8bd70144de931564e0270471e930a4 SHA512 f780fc3f627313983c360a50135bac31fcf88a79998f36f72e89f0500367042595cd73a96f4ae9363da963ae80b18e127e0094b612300a25804aa309c45f3621 WHIRLPOOL 918317bb9bf707c8b2c3dd89f59b1b12ebad22ef12696dc689cbeca5792debd9042e6672a776365ee4e2a11688ae39ad6d48498db7e23655de1942ce9369b766
+DIST smuxi.svg 333587 SHA256 0332c9533e7cc9d6b7e50f914dbc5ef6fd98253cae7d7b8e6bf9b199ddb17a6b SHA512 9c569e729792b12c45b809939861df2d58f88c219d1e306350fb896a26c4f9b82c04ecadf0397f8195dbf4381eebdbedb0040c2ccbb2a86d54939dffa7d32cec WHIRLPOOL b917418ed17321ce7c239ccccb2ef3962fd557f631e75371b2e2a6fcf1910db87a6d9b8be261767366f2e1d29455371652dc0804eb2ded690665f7bfb1df1f47
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
+}