summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild')
-rw-r--r--net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild b/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild
new file mode 100644
index 00000000..17154818
--- /dev/null
+++ b/net-p2p/transmission-qt4/transmission-qt4-2.83.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+TRANSMISSION_PATCHES=(
+ # Fix for broken translations path
+ "${FILESDIR}"/${PN}-2.80-translations-path-fix.patch
+)
+inherit eutils transmission-2.83
+
+DESCRIPTION="A Fast, Easy and Free BitTorrent client - Qt4 UI"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ dev-qt/qtdbus:4=
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ pushd qt >/dev/null
+ dodoc README.txt
+
+ dobin transmission-qt
+ doman transmission-qt.1
+
+ domenu ${MY_PN}-qt.desktop || die
+
+ local res
+ for res in 16 22 24 32 48 64 72 96 128 192 256; do
+ doicon -s ${res} icons/hicolor/${res}x${res}/${MY_PN}-qt.png
+ done
+ doicon -s scalable icons/hicolor/scalable/${MY_PN}-qt.svg
+
+ insinto /usr/share/qt4/translations
+ doins translations/*.qm
+ popd >/dev/null
+}