2017-01-06 19:44:29 -06:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
2024-07-26 21:17:41 -05:00
|
|
|
EAPI=8
|
2017-01-06 19:44:29 -06:00
|
|
|
|
|
|
|
inherit git-r3
|
|
|
|
|
2017-07-01 06:00:58 -05:00
|
|
|
DESCRIPTION="Adds support for Telegram to Pidgin and Finch."
|
2017-01-06 19:44:29 -06:00
|
|
|
HOMEPAGE="https://github.com/majn/telegram-purple"
|
|
|
|
|
|
|
|
EGIT_REPO_URI="https://github.com/majn/telegram-purple"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
case ${PV} in
|
|
|
|
"1.3.0")
|
|
|
|
EGIT_COMMIT="0340e4f14b2480782db4e5b9242103810227c522"
|
|
|
|
;;
|
2017-07-01 06:00:58 -05:00
|
|
|
"1.3.1")
|
|
|
|
EGIT_COMMIT="065e0b7ac946f65f080bf05e8f91a1a4214e2d24"
|
|
|
|
;;
|
2017-01-06 19:44:29 -06:00
|
|
|
*)
|
|
|
|
EGIT_BRANCH="master"
|
|
|
|
KEYWORDS="~*"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2017-07-01 06:00:58 -05:00
|
|
|
IUSE="+webp"
|
2017-01-06 19:44:29 -06:00
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
sys-devel/gettext
|
|
|
|
dev-libs/libgcrypt:0/20
|
2017-07-01 06:00:58 -05:00
|
|
|
webp? ( media-libs/libwebp )
|
2017-01-06 19:44:29 -06:00
|
|
|
net-im/pidgin
|
|
|
|
sys-libs/zlib
|
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_configure() {
|
2017-07-01 06:03:41 -05:00
|
|
|
econf $(use_enable webp libwebp)
|
2017-07-01 06:00:58 -05:00
|
|
|
sed -i -e 's:-Werror::' tgl/Makefile.in || die
|
2017-01-06 19:44:29 -06:00
|
|
|
}
|