summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-06-26 15:06:24 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-06-26 15:06:24 +0100
commit2b921eb19ef0520542ed7ae4a5beae9da9749d4c (patch)
tree63a7822210385c6042491a4bfa0d82301699c8f9 /net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
parentc2b0d275a42869258071fa3571652bb4c10f254e (diff)
parentfee9d49c73ebb43de8f12c73f7d502044850818e (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild')
-rw-r--r--net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild b/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
new file mode 100644
index 00000000..394b9853
--- /dev/null
+++ b/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils transmission-2.84
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Gtk+ UI"
+KEYWORDS="~amd64 ~x86"
+IUSE="ayatana"
+
+RDEPEND="
+ >=dev-libs/dbus-glib-0.100:=
+ >=dev-libs/glib-2.32:2=
+ >=x11-libs/gtk+-3.4:3=
+ ayatana? ( >=dev-libs/libappindicator-0.4.90:3= )
+ !net-p2p/transmission-gtk+
+"
+
+src_install() {
+ # avoid file conflicts with transmission-base
+ # this way gives the corrent layout of /usr/share/icon/... icon files
+ emake DESTDIR="${T}" install
+
+ cd "${T}"
+ dobin usr/bin/transmission-gtk
+ doman usr/share/man/man1/transmission-gtk.1
+ doicon usr/share/pixmaps/transmission.png
+
+ insinto /usr/share/applications
+ doins usr/share/applications/transmission-gtk.desktop
+
+ local mypath
+ # locale
+ for mypath in usr/share/locale/*/LC_MESSAGES/transmission-gtk.mo; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+
+ # and finally icons directory
+ for mypath in usr/share/icons/hicolor/*/apps/transmission.{png,svg}; do
+ if [ -f "$mypath" ]; then
+ insinto "${mypath%/*}"
+ doins "$mypath"
+ fi
+ done
+}