summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-06-26 11:03:17 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-06-26 11:03:17 +0300
commit768497794e0dd1a1d7ae2456e95d6bd744907f61 (patch)
treef8a9b8667e6a792cefdf118b6391c9b2e9e4bf23 /net-p2p/transmission-gtk/transmission-gtk-2.84.ebuild
parent8f45c5954f01fcc14edc375e1597c9fcdccad0ab (diff)
[net-p2p/*] remanifested ebuilds
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
+}