commit:     a875d63b47cb68ceea0915be3e3807b8b515ed66
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  3 22:28:42 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Aug  3 22:28:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a875d63b

x11-plugins/pidgin-telegram: add png use flag

Closes: https://bugs.gentoo.org/735116
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 x11-plugins/pidgin-telegram/pidgin-telegram-1.4.2.ebuild | 6 ++++--
 x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild | 4 +++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.2.ebuild 
b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.2.ebuild
index 21c27ac8d19..5d6f31afd45 100644
--- a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.2.ebuild
+++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegr
 LICENSE="GPL-2+"
 KEYWORDS="amd64 x86"
 SLOT="0"
-IUSE="gcrypt libressl +nls +webp"
+IUSE="gcrypt libressl +nls +png +webp"
 
 RDEPEND="net-im/pidgin
        sys-libs/zlib:=
@@ -19,6 +19,7 @@ RDEPEND="net-im/pidgin
                libressl? ( dev-libs/libressl:0= )
                !libressl? ( dev-libs/openssl:0= )
        )
+       png? ( media-libs/libpng:0= )
        webp? ( media-libs/libwebp:= )"
 
 DEPEND="${RDEPEND}"
@@ -43,6 +44,7 @@ src_configure() {
        local myeconfargs=(
                $(use_enable gcrypt)
                $(use_enable nls translation)
+               $(use_enable png libpng)
                $(use_enable webp libwebp)
        )
 

diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild 
b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
index dbf8c2bf6f0..a7a509ac64c 100644
--- a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
+++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegr
 LICENSE="GPL-2+"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
-IUSE="gcrypt libressl +nls +webp"
+IUSE="gcrypt libressl +nls +png +webp"
 
 RDEPEND="
        net-im/pidgin
@@ -20,6 +20,7 @@ RDEPEND="
                libressl? ( dev-libs/libressl:0= )
                !libressl? ( dev-libs/openssl:0= )
        )
+       png? ( media-libs/libpng:0= )
        webp? ( media-libs/libwebp:= )
 "
 
@@ -47,6 +48,7 @@ src_configure() {
        local myeconfargs=(
                $(use_enable gcrypt)
                $(use_enable nls translation)
+               $(use_enable png libpng)
                $(use_enable webp libwebp)
        )
 

Reply via email to