diff options
author | V3n3RiX <venerix@rogentos.ro> | 2015-06-26 15:06:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2015-06-26 15:06:24 +0100 |
commit | 2b921eb19ef0520542ed7ae4a5beae9da9749d4c (patch) | |
tree | 63a7822210385c6042491a4bfa0d82301699c8f9 /net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild | |
parent | c2b0d275a42869258071fa3571652bb4c10f254e (diff) | |
parent | fee9d49c73ebb43de8f12c73f7d502044850818e (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild')
-rw-r--r-- | net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild b/net-p2p/transmission-qt4/transmission-qt4-2.84.ebuild new file mode 100644 index 00000000..008ba988 --- /dev/null +++ b/net-p2p/transmission-qt4/transmission-qt4-2.84.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.84 + +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 +} |