Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/ncdc/
Date: Tue, 31 May 2022 04:07:15
Message-Id: 1653970018.c45c35fd29bc2fbffd05ccb2a5f93f312ebe64ce.sam@gentoo
1 commit: c45c35fd29bc2fbffd05ccb2a5f93f312ebe64ce
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 03:57:38 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 04:06:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45c35fd
7
8 net-p2p/ncdc: add 1.23
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-p2p/ncdc/Manifest | 1 +
13 net-p2p/ncdc/{ncdc-9999.ebuild => ncdc-1.23.ebuild} | 17 ++++++++++-------
14 net-p2p/ncdc/ncdc-9999.ebuild | 15 +++++++++------
15 3 files changed, 20 insertions(+), 13 deletions(-)
16
17 diff --git a/net-p2p/ncdc/Manifest b/net-p2p/ncdc/Manifest
18 index e3553ce01161..7fd4e557d289 100644
19 --- a/net-p2p/ncdc/Manifest
20 +++ b/net-p2p/ncdc/Manifest
21 @@ -1 +1,2 @@
22 DIST ncdc-1.22.1.tar.gz 371572 BLAKE2B 22125062a42f77e8a7a8afc699523b27a2b7ec566891676ca13b415e93cdae8e2d8d38f303070c7f098408f537266404a875b9ed7f9931a39933916a0ba576ab SHA512 b084ee28a799705009600c450016719ebb992cb0bf7e026513f4cd7e93b2566e7bf8e352eec92f3d69612ce06c930587759d7f7d20d14ee9fe1d5c4b8c4393af
23 +DIST ncdc-1.23.tar.gz 378384 BLAKE2B 0558b8b51f9cda81ec553171f76a0f6c29a1a67e6f69c5cc2c181428f3bb1db2ecd5a9c2f0c609dac53323ad62e478171121572f0a9d707d9d6d9e9727441873 SHA512 c1b2098df517631a64b24efaeb328a796ed716dca08b61248bb39bba866055ce1e017f33cc594197824476ec65ada53b13bfb56878b5b8aa330288017ad15df2
24
25 diff --git a/net-p2p/ncdc/ncdc-9999.ebuild b/net-p2p/ncdc/ncdc-1.23.ebuild
26 similarity index 80%
27 copy from net-p2p/ncdc/ncdc-9999.ebuild
28 copy to net-p2p/ncdc/ncdc-1.23.ebuild
29 index f6cebc9b3c0a..dea5357e9c22 100644
30 --- a/net-p2p/ncdc/ncdc-9999.ebuild
31 +++ b/net-p2p/ncdc/ncdc-1.23.ebuild
32 @@ -1,13 +1,13 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 +# Copyright 1999-2022 Gentoo Authors
35 # Distributed under the terms of the GNU General Public License v2
36
37 -EAPI=7
38 +EAPI=8
39
40 inherit toolchain-funcs
41
42 DESCRIPTION="ncurses directconnect client"
43 HOMEPAGE="https://dev.yorhel.nl/ncdc"
44 -if [[ "${PV}" == *9999 ]] ; then
45 +if [[ ${PV} == *9999 ]] ; then
46 inherit autotools git-r3
47 EGIT_REPO_URI="git://g.blicky.net/ncdc.git"
48 else
49 @@ -22,8 +22,8 @@ IUSE="geoip"
50 RDEPEND="
51 app-arch/bzip2
52 dev-db/sqlite:3
53 - dev-libs/glib:2
54 - net-libs/gnutls:=
55 + >=dev-libs/glib-2.32:2
56 + >=net-libs/gnutls-3:=
57 sys-libs/ncurses:=[unicode(+)]
58 sys-libs/zlib:=
59 geoip? (
60 @@ -38,16 +38,19 @@ BDEPEND="
61
62 src_prepare() {
63 default
64 - [[ "${PV}" == *9999 ]] && eautoreconf
65 +
66 + [[ ${PV} == *9999 ]] && eautoreconf
67 }
68
69 src_configure() {
70 local myeconfargs=(
71 $(use_with geoip)
72 )
73 - if [[ "${PV}" == *9999 ]] ; then
74 +
75 + if [[ ${PV} == *9999 ]] ; then
76 myeconfargs+=( --enable-git-version )
77 fi
78 +
79 econf "${myeconfargs[@]}"
80 }
81
82
83 diff --git a/net-p2p/ncdc/ncdc-9999.ebuild b/net-p2p/ncdc/ncdc-9999.ebuild
84 index f6cebc9b3c0a..e001c6590371 100644
85 --- a/net-p2p/ncdc/ncdc-9999.ebuild
86 +++ b/net-p2p/ncdc/ncdc-9999.ebuild
87 @@ -1,13 +1,13 @@
88 -# Copyright 1999-2021 Gentoo Authors
89 +# Copyright 1999-2022 Gentoo Authors
90 # Distributed under the terms of the GNU General Public License v2
91
92 -EAPI=7
93 +EAPI=8
94
95 inherit toolchain-funcs
96
97 DESCRIPTION="ncurses directconnect client"
98 HOMEPAGE="https://dev.yorhel.nl/ncdc"
99 -if [[ "${PV}" == *9999 ]] ; then
100 +if [[ ${PV} == *9999 ]] ; then
101 inherit autotools git-r3
102 EGIT_REPO_URI="git://g.blicky.net/ncdc.git"
103 else
104 @@ -22,7 +22,7 @@ IUSE="geoip"
105 RDEPEND="
106 app-arch/bzip2
107 dev-db/sqlite:3
108 - dev-libs/glib:2
109 + >=dev-libs/glib-2.32:2
110 net-libs/gnutls:=
111 sys-libs/ncurses:=[unicode(+)]
112 sys-libs/zlib:=
113 @@ -38,16 +38,19 @@ BDEPEND="
114
115 src_prepare() {
116 default
117 - [[ "${PV}" == *9999 ]] && eautoreconf
118 +
119 + [[ ${PV} == *9999 ]] && eautoreconf
120 }
121
122 src_configure() {
123 local myeconfargs=(
124 $(use_with geoip)
125 )
126 - if [[ "${PV}" == *9999 ]] ; then
127 +
128 + if [[ ${PV} == *9999 ]] ; then
129 myeconfargs+=( --enable-git-version )
130 fi
131 +
132 econf "${myeconfargs[@]}"
133 }