diff options
author | Zetok Zalbavar <zetok@openmailbox.org> | 2016-03-26 10:09:12 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-26 19:02:51 +0000 |
commit | aa14c2775f80baf96dd8e4bcedecc1cedd8a6383 (patch) | |
tree | 9839e7d559a3d01436c291ff0e271fb36a4a508e /net-im/qtox | |
parent | net-fs/openafs: remove old and vulnerable versions (diff) | |
download | gentoo-aa14c2775f80baf96dd8e4bcedecc1cedd8a6383.tar.gz gentoo-aa14c2775f80baf96dd8e4bcedecc1cedd8a6383.tar.bz2 gentoo-aa14c2775f80baf96dd8e4bcedecc1cedd8a6383.zip |
net-im/qtox: installs .png icons wrt bug #578210
This PR also add a new pkgconfig dependency.
Reporter: Mikhail Kurinnoi <viewizard@viewizard.com>
Gentoo-Bug: https://bugs.gentoo.org/578210
Closes: https://github.com/gentoo/gentoo/pull/1141
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'net-im/qtox')
-rw-r--r-- | net-im/qtox/qtox-1.3.0.ebuild | 5 | ||||
-rw-r--r-- | net-im/qtox/qtox-9999.ebuild | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/net-im/qtox/qtox-1.3.0.ebuild b/net-im/qtox/qtox-1.3.0.ebuild index 42c9bb63a034..3dffe4b24b58 100644 --- a/net-im/qtox/qtox-1.3.0.ebuild +++ b/net-im/qtox/qtox-1.3.0.ebuild @@ -74,6 +74,11 @@ src_configure() { src_install() { dobin "${S}/qtox" + # install all png icons + local ICONS=(16 22 24 32 36 48 64 72 96 128 192 256 512) + for i in "${ICONS[@]}"; do + newicon -s "${i}" "${S}/img/icons/qtox-${i}x${i}.png" "qtox.png" + done doicon -s scalable "${S}/img/icons/qtox.svg" domenu "${S}/qTox.desktop" } diff --git a/net-im/qtox/qtox-9999.ebuild b/net-im/qtox/qtox-9999.ebuild index 5d30cb8be38a..cdbfc5bcbc4b 100644 --- a/net-im/qtox/qtox-9999.ebuild +++ b/net-im/qtox/qtox-9999.ebuild @@ -37,6 +37,7 @@ RDEPEND=" x11-libs/cairo[X] x11-libs/pango[X] ) net-libs/tox[av] + virtual/pkgconfig X? ( x11-libs/libX11 x11-libs/libXScrnSaver ) " @@ -72,6 +73,11 @@ src_configure() { src_install() { dobin "${S}/qtox" + # install all png icons + local ICONS=(16 22 24 32 36 48 64 72 96 128 192 256 512) + for i in "${ICONS[@]}"; do + newicon -s "${i}" "${S}/img/icons/qtox-${i}x${i}.png" "qtox.png" + done doicon -s scalable "${S}/img/icons/qtox.svg" domenu "${S}/qTox.desktop" } |