summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-05-03 21:23:00 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-05-03 21:23:00 +0200
commit4550530aae0b821499f72fb8d7cf3430b52c734d (patch)
treeef0d4178bbb5b556f47f5b14cd3986431940d4d0 /x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
parentsys-fs/multipath-tools: fix building against GCC 10 (diff)
downloadgentoo-4550530aae0b821499f72fb8d7cf3430b52c734d.tar.gz
gentoo-4550530aae0b821499f72fb8d7cf3430b52c734d.tar.bz2
gentoo-4550530aae0b821499f72fb8d7cf3430b52c734d.zip
x11-plugins/pidgin-telegram: bump to version 1.4.3
Closes: https://bugs.gentoo.org/720816 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild')
-rw-r--r--x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
new file mode 100644
index 00000000000..dbf8c2bf6f0
--- /dev/null
+++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A libpurple protocol plugin that adds support for the Telegram messenger"
+HOMEPAGE="https://github.com/majn/telegram-purple"
+SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegram-purple_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="gcrypt libressl +nls +webp"
+
+RDEPEND="
+ net-im/pidgin
+ sys-libs/zlib:=
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ !gcrypt? (
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+ )
+ webp? ( media-libs/libwebp:= )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ nls? ( sys-devel/gettext )
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/telegram-purple"
+
+DOCS=( "AUTHORS" "CHANGELOG.md" "HACKING.md" "HACKING.BUILD.md" "README.md" )
+
+PATCHES="${FILESDIR}/${P}-change-metadata-location.patch"
+
+src_prepare() {
+ default
+
+ # Remove '-Werror' to make it compile
+ find -name 'Makefile*' -exec sed -i -e 's/-Werror //' {} + || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable gcrypt)
+ $(use_enable nls translation)
+ $(use_enable webp libwebp)
+ )
+
+ econf "${myeconfargs[@]}"
+}