1 |
commit: 533a5600790c46f64b36aa1ccbddd54c1d907e9f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 18:56:55 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 19:16:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533a5600 |
7 |
|
8 |
net-p2p/gtk-gnutella: cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
net-p2p/gtk-gnutella/Manifest | 1 - |
14 |
net-p2p/gtk-gnutella/gtk-gnutella-1.1.15.ebuild | 89 ------------------------- |
15 |
2 files changed, 90 deletions(-) |
16 |
|
17 |
diff --git a/net-p2p/gtk-gnutella/Manifest b/net-p2p/gtk-gnutella/Manifest |
18 |
index 865ed280c8d..4edc74b84af 100644 |
19 |
--- a/net-p2p/gtk-gnutella/Manifest |
20 |
+++ b/net-p2p/gtk-gnutella/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST gtk-gnutella-1.1.15.tar.xz 19606508 BLAKE2B 3c699f2c5e8b6962265c9fc9bc6720d740c447afb33bef8968e8c8f1f7ec8b88ec3381419cdcee8e2ec8f4e10be2c6e5707d5f89365f347a33990fffd0f18395 SHA512 6b2bee08fba463b66890c8c5d7f7815a8cc4106824e598bed8cffe4601b1e591fc14903ce8d587815257f795c854d459b3a4fa7cc90de2fbc109daef025e5968 |
23 |
DIST gtk-gnutella-1.2.0.tar.xz 20467452 BLAKE2B 8884c74e5c7ba52ce870289579cb26608fd8eb0fff14986fba40e200181e28908aa42c7a345f1c69dd5b1099135b4a0458d266abdf94361cc0a37b8949867322 SHA512 8d4da23acce22af42b39ca4af2ee4d250cadea9f8c549d712ffdfb797b53311ce8db9fcb38bc1f5547b7df32e95ebc53676bff1127805e867b23d0598b1fa4cd |
24 |
|
25 |
diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-1.1.15.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-1.1.15.ebuild |
26 |
deleted file mode 100644 |
27 |
index 9e60d5b50ee..00000000000 |
28 |
--- a/net-p2p/gtk-gnutella/gtk-gnutella-1.1.15.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,89 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-# eutils: strip-linguas |
37 |
-inherit eutils toolchain-funcs |
38 |
- |
39 |
-IUSE="nls dbus ssl +gtk" |
40 |
- |
41 |
-DESCRIPTION="A GTK+ Gnutella client" |
42 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" |
43 |
-HOMEPAGE="http://gtk-gnutella.sourceforge.net/" |
44 |
- |
45 |
-SLOT="0" |
46 |
-LICENSE="GPL-2" |
47 |
-KEYWORDS="amd64 ppc ppc64 x86" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- <sys-libs/binutils-libs-2.34:= |
51 |
- dev-libs/glib:2 |
52 |
- sys-libs/zlib |
53 |
- gtk? ( >=x11-libs/gtk+-2.2.1:2 ) |
54 |
- dbus? ( >=sys-apps/dbus-0.35.2 ) |
55 |
- ssl? ( >=net-libs/gnutls-2.2.5 ) |
56 |
- nls? ( >=sys-devel/gettext-0.11.5 )" |
57 |
-DEPEND="${RDEPEND}" |
58 |
-BDEPEND="virtual/pkgconfig" |
59 |
- |
60 |
-src_prepare() { |
61 |
- strip-linguas -i po |
62 |
- |
63 |
- echo "# Gentoo-selected LINGUAS" > po/LINGUAS |
64 |
- for ling in ${LINGUAS}; do |
65 |
- echo $ling >> po/LINGUAS |
66 |
- done |
67 |
- |
68 |
- default |
69 |
-} |
70 |
- |
71 |
-src_configure() { |
72 |
- # There is no option to turn off optimization through the build.sh |
73 |
- # script. |
74 |
- sed -i -e "s/Configure -Oder/Configure -Oder -Doptimize=none/" build.sh || die |
75 |
- |
76 |
- # The build script does not support the equivalent --enable |
77 |
- # options so we must construct the configuration by hand. |
78 |
- |
79 |
- local myconf |
80 |
- |
81 |
- if ! use nls; then |
82 |
- myconf="${myconf} --disable-nls" |
83 |
- fi |
84 |
- |
85 |
- if ! use dbus; then |
86 |
- myconf="${myconf} --disable-dbus" |
87 |
- fi |
88 |
- |
89 |
- if ! use ssl; then |
90 |
- myconf="${myconf} --disable-gnutls" |
91 |
- fi |
92 |
- |
93 |
- if use gtk; then |
94 |
- myconf="${myconf} --gtk2" |
95 |
- else |
96 |
- myconf="${myconf} --topless" |
97 |
- fi |
98 |
- |
99 |
- ./build.sh \ |
100 |
- --configure-only \ |
101 |
- --prefix="/usr" \ |
102 |
- --cc=$(tc-getCC) \ |
103 |
- ${myconf} |
104 |
-} |
105 |
- |
106 |
-src_compile() { |
107 |
- # Build system is not parallel-safe, bug 500760 |
108 |
- emake -j1 |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- dodir /usr/bin |
113 |
- emake INSTALL_PREFIX="${D}" install |
114 |
- dodoc AUTHORS ChangeLog README TODO |
115 |
- |
116 |
- # Touch the symbols file into the future to avoid warnings from |
117 |
- # gtk-gnutella later on, since we will most likely strip the binary. |
118 |
- touch --date="next minute" "${D}/usr/lib/gtk-gnutella/gtk-gnutella.nm" || die |
119 |
-} |