Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/gtk-gnutella/
Date: Sun, 27 Mar 2022 07:13:27
Message-Id: 1648365192.75691c2bdf441c9981d09122f7bff01abcc3d269.graaff@gentoo
1 commit: 75691c2bdf441c9981d09122f7bff01abcc3d269
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 06:36:26 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 07:13:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75691c2b
7
8 net-p2p/gtk-gnutella: drop 1.2.1
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 net-p2p/gtk-gnutella/gtk-gnutella-1.2.1.ebuild | 89 --------------------------
13 1 file changed, 89 deletions(-)
14
15 diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.1.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.2.1.ebuild
16 deleted file mode 100644
17 index c81ce2d3af4e..000000000000
18 --- a/net-p2p/gtk-gnutella/gtk-gnutella-1.2.1.ebuild
19 +++ /dev/null
20 @@ -1,89 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit flag-o-matic strip-linguas toolchain-funcs
27 -
28 -IUSE="nls dbus ssl +gtk"
29 -
30 -DESCRIPTION="A GTK+ Gnutella client"
31 -SRC_URI="https://github.com/gtk-gnutella/gtk-gnutella/archive/v${PV}.tar.gz -> ${P}.tar.gz"
32 -HOMEPAGE="http://gtk-gnutella.sourceforge.net/"
33 -
34 -SLOT="0"
35 -LICENSE="CC-BY-SA-4.0 GPL-2"
36 -KEYWORDS="amd64 ppc ppc64 x86"
37 -
38 -RDEPEND="
39 - sys-libs/binutils-libs:=
40 - dev-libs/glib:2
41 - sys-libs/zlib
42 - gtk? ( >=x11-libs/gtk+-2.2.1:2 )
43 - dbus? ( >=sys-apps/dbus-0.35.2 )
44 - ssl? ( >=net-libs/gnutls-2.2.5 )
45 - nls? ( >=sys-devel/gettext-0.11.5 )"
46 -DEPEND="${RDEPEND}"
47 -BDEPEND="virtual/pkgconfig"
48 -
49 -src_prepare() {
50 - filter-flags -flto
51 - strip-linguas -i po
52 -
53 - echo "# Gentoo-selected LINGUAS" > po/LINGUAS
54 - for ling in ${LINGUAS}; do
55 - echo $ling >> po/LINGUAS
56 - done
57 -
58 - default
59 -}
60 -
61 -src_configure() {
62 - # There is no option to turn off optimization through the build.sh
63 - # script.
64 - sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die
65 -
66 - # The build script does not support the equivalent --enable
67 - # options so we must construct the configuration by hand.
68 -
69 - local myconf
70 -
71 - if ! use nls; then
72 - myconf="${myconf} --disable-nls"
73 - fi
74 -
75 - if ! use dbus; then
76 - myconf="${myconf} --disable-dbus"
77 - fi
78 -
79 - if ! use ssl; then
80 - myconf="${myconf} --disable-gnutls"
81 - fi
82 -
83 - if use gtk; then
84 - myconf="${myconf} --gtk2"
85 - else
86 - myconf="${myconf} --topless"
87 - fi
88 -
89 - ./build.sh \
90 - --configure-only \
91 - --prefix="/usr" \
92 - --cc="$(tc-getCC)" \
93 - ${myconf}
94 -}
95 -
96 -src_compile() {
97 - # Build system is not parallel-safe, bug 500760
98 - emake -j1
99 -}
100 -
101 -src_install() {
102 - dodir /usr/bin
103 - emake INSTALL_PREFIX="${D}" install
104 - dodoc AUTHORS ChangeLog README TODO
105 -
106 - # Touch the symbols file into the future to avoid warnings from
107 - # gtk-gnutella later on, since we will most likely strip the binary.
108 - touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die
109 -}