Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skypetab-ng/, net-im/skypetab-ng/files/
Date: Fri, 04 Mar 2016 20:03:30
Message-Id: 1457121779.e651546dc4872e416734014463215f663cb9308b.slyfox@gentoo
1 commit: e651546dc4872e416734014463215f663cb9308b
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 4 20:01:01 2016 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 4 20:02:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e651546d
7
8 net-im/skypetab-ng: pushed new snapshot, 0.5.2_p20150201
9
10 Reported-by: Gleb
11 Bug: https://bugs.gentoo.org/576310
12
13 Package-Manager: portage-2.2.27
14
15 net-im/skypetab-ng/Manifest | 1 +
16 .../files/skypetab-ng-0.5.2_p20150201-isdigit.patch | 14 ++++++++++++++
17 ...b-ng-9999.ebuild => skypetab-ng-0.5.2_p20150201.ebuild} | 10 +++++++---
18 net-im/skypetab-ng/skypetab-ng-9999.ebuild | 6 +++++-
19 4 files changed, 27 insertions(+), 4 deletions(-)
20
21 diff --git a/net-im/skypetab-ng/Manifest b/net-im/skypetab-ng/Manifest
22 index 3be0c28..599e679 100644
23 --- a/net-im/skypetab-ng/Manifest
24 +++ b/net-im/skypetab-ng/Manifest
25 @@ -1 +1,2 @@
26 DIST skypetab-ng-0.5.2.tar.gz 54244 SHA256 cb47961ddb9d5754141c10c862d991704ae065abf2cba1e4763a78a5dcbf0805 SHA512 28a19ea983a81c069bb6ad24c337561293f7ec53ca9a315fb872c9341dccecf4eb30e1652b1f012f7be34060fb955a8c085327ae03017264ccc4510976d3f6ea WHIRLPOOL 48b1a86a588dd60c3ee7b9185625027bbaef69b0a6dce237c1e38d3c7dc5b762675d7d21efb88bef7e3840ac1464cdfa3ca4a531756ab3f3f155c2a681aec0e7
27 +DIST skypetab-ng-0.5.2_p20150201.tar.bz2 53527 SHA256 c2ec5b1b206b9dd6c285daea58fc68966237a1a29fdc67c3feec2030a78d8487 SHA512 cb423d83a1ea6979bf8732b2f546860778f0a5b4dddf3e7704c5fc71d15c25b191dcf510ede2315350aa26cf8c0580cd7fae5cd79ff035e5053857849bd0427c WHIRLPOOL c5bcaf70547305eb6c5f3fb74d516b3d7083eb3ccc569c8d7c08ee33b41c5196e2688d4ec9a5cab7bc8dad3491b3b17ac7d5cd7dbda37757619ae98b532eeb32
28
29 diff --git a/net-im/skypetab-ng/files/skypetab-ng-0.5.2_p20150201-isdigit.patch b/net-im/skypetab-ng/files/skypetab-ng-0.5.2_p20150201-isdigit.patch
30 new file mode 100644
31 index 0000000..9b199e5
32 --- /dev/null
33 +++ b/net-im/skypetab-ng/files/skypetab-ng-0.5.2_p20150201-isdigit.patch
34 @@ -0,0 +1,14 @@
35 +Missing header noticed by gcc:
36 + * skype-poll-fix.c:38:9: warning: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
37 +diff --git a/skype-poll-fix.c b/skype-poll-fix.c
38 +index ccc88a1..fd21ba8 100644
39 +--- a/skype-poll-fix.c
40 ++++ b/skype-poll-fix.c
41 +@@ -2,2 +2,3 @@
42 + #define _GNU_SOURCE
43 ++#include <ctype.h>
44 + #include <stdio.h>
45 +@@ -13,3 +14,2 @@
46 + #include <sys/time.h>
47 +-#include <ctype.h>
48 + #endif
49
50 diff --git a/net-im/skypetab-ng/skypetab-ng-9999.ebuild b/net-im/skypetab-ng/skypetab-ng-0.5.2_p20150201.ebuild
51 similarity index 79%
52 copy from net-im/skypetab-ng/skypetab-ng-9999.ebuild
53 copy to net-im/skypetab-ng/skypetab-ng-0.5.2_p20150201.ebuild
54 index 5e2a1f9..86b11c4 100644
55 --- a/net-im/skypetab-ng/skypetab-ng-9999.ebuild
56 +++ b/net-im/skypetab-ng/skypetab-ng-0.5.2_p20150201.ebuild
57 @@ -2,7 +2,7 @@
58 # Distributed under the terms of the GNU General Public License v2
59 # $Id$
60
61 -EAPI=4
62 +EAPI=5
63
64 if [[ ${PV} = *9999* ]]; then
65 EGIT_REPO_URI="git://github.com/kekekeks/skypetab-ng.git"
66 @@ -12,11 +12,11 @@ else
67 UNPACKER_ECLASS="vcs-snapshot"
68 fi
69
70 -inherit qt4-r2 multilib ${UNPACKER_ECLASS}
71 +inherit eutils qt4-r2 multilib ${UNPACKER_ECLASS}
72
73 if [[ -z ${LIVE_EBUILD} ]]; then
74 KEYWORDS="-* ~x86 ~amd64"
75 - SRC_URI="https://github.com/kekekeks/${PN}/tarball/v${PV} -> ${P}.tar.gz"
76 + SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.bz2"
77 fi
78
79 DESCRIPTION="An LD_PRELOAD wrapper that adds tabs to Skype for Linux"
80 @@ -36,3 +36,7 @@ RDEPEND="${DEPEND}
81 pkg_setup() {
82 use amd64 && multilib_toolchain_setup x86
83 }
84 +
85 +src_prepare() {
86 + epatch "${FILESDIR}"/${P}-isdigit.patch
87 +}
88
89 diff --git a/net-im/skypetab-ng/skypetab-ng-9999.ebuild b/net-im/skypetab-ng/skypetab-ng-9999.ebuild
90 index 5e2a1f9..20b0be8 100644
91 --- a/net-im/skypetab-ng/skypetab-ng-9999.ebuild
92 +++ b/net-im/skypetab-ng/skypetab-ng-9999.ebuild
93 @@ -12,7 +12,7 @@ else
94 UNPACKER_ECLASS="vcs-snapshot"
95 fi
96
97 -inherit qt4-r2 multilib ${UNPACKER_ECLASS}
98 +inherit eutils qt4-r2 multilib ${UNPACKER_ECLASS}
99
100 if [[ -z ${LIVE_EBUILD} ]]; then
101 KEYWORDS="-* ~x86 ~amd64"
102 @@ -36,3 +36,7 @@ RDEPEND="${DEPEND}
103 pkg_setup() {
104 use amd64 && multilib_toolchain_setup x86
105 }
106 +
107 +src_prepare() {
108 + epatch "${FILESDIR}"/${P}-isdigit.patch
109 +}