1 |
commit: f925c24abc27078c1727de0c0a20d93cd2159000 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Fri Mar 8 19:34:51 2019 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 9 22:21:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f925c24a |
7 |
|
8 |
x11-plugins/pidgin-telegram: bump to version 1.4.1. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/11312 |
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
|
15 |
x11-plugins/pidgin-telegram/Manifest | 1 + |
16 |
.../pidgin-telegram/pidgin-telegram-1.4.1.ebuild | 50 ++++++++++++++++++++++ |
17 |
2 files changed, 51 insertions(+) |
18 |
|
19 |
diff --git a/x11-plugins/pidgin-telegram/Manifest b/x11-plugins/pidgin-telegram/Manifest |
20 |
index eb67b1be45e..ea3c35b307a 100644 |
21 |
--- a/x11-plugins/pidgin-telegram/Manifest |
22 |
+++ b/x11-plugins/pidgin-telegram/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST telegram-purple_1.3.1.orig.tar.gz 509083 BLAKE2B 5842fac81fa1cd9d2681fe5ac790f0be227dadc49d2031a1682da74f62ae163c7ee9d7bb8f421a974bb0d3ea135b1d44983c976b1afbb81758a3953e89f9c68a SHA512 3d088ea8b77aeba1d7f26dcd3223420bcd50372d610368b8786eca0cbdb0a11bcc2d93f7948348c5e0305479703f74e5b5ad8e06e782e2df119cfd73a4e4a63e |
25 |
+DIST telegram-purple_1.4.1.orig.tar.gz 482389 BLAKE2B 84c753c5dcdb8e66d1ec56d5307d3489780e932032f382e2d026ad4b6529d4c161e677483a794e56e6388cd76164d9b93955828f5cfc7b199ff8fa8314ad8951 SHA512 335da688021d2401122065f9089b86b6ccba6e812b06d8d8bc96e0defbbe693b35c1f981f5bf772ebc2577ab60ac7e97ce08d72361bcd17b27fc11740084ff1a |
26 |
|
27 |
diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.1.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..dd5f1391d74 |
30 |
--- /dev/null |
31 |
+++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.1.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+DESCRIPTION="A libpurple protocol plugin that adds support for the Telegram messenger" |
39 |
+HOMEPAGE="https://github.com/majn/telegram-purple" |
40 |
+SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegram-purple_${PV}.orig.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+SLOT="0" |
45 |
+IUSE="gcrypt libressl +nls +webp" |
46 |
+ |
47 |
+RDEPEND="net-im/pidgin |
48 |
+ sys-libs/zlib:= |
49 |
+ gcrypt? ( dev-libs/libgcrypt:0= ) |
50 |
+ !gcrypt? ( |
51 |
+ libressl? ( dev-libs/libressl:0= ) |
52 |
+ !libressl? ( dev-libs/openssl:0= ) |
53 |
+ ) |
54 |
+ webp? ( media-libs/libwebp:= )" |
55 |
+ |
56 |
+DEPEND="${RDEPEND}" |
57 |
+ |
58 |
+BDEPEND=" |
59 |
+ nls? ( sys-devel/gettext ) |
60 |
+ virtual/pkgconfig |
61 |
+" |
62 |
+ |
63 |
+S="${WORKDIR}/telegram-purple" |
64 |
+ |
65 |
+DOCS=( "AUTHORS" "CHANGELOG.md" "HACKING.md" "HACKING.BUILD.md" "README.md" ) |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ # Remove '-Werror' to make it compile |
71 |
+ find -name 'Makefile*' -exec sed -i -e 's/-Werror //' {} + || die |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local myeconfargs=( |
76 |
+ $(use_enable gcrypt) |
77 |
+ $(use_enable nls translation) |
78 |
+ $(use_enable webp libwebp) |
79 |
+ ) |
80 |
+ |
81 |
+ econf "${myeconfargs[@]}" |
82 |
+} |