Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/links/
Date: Thu, 24 Nov 2022 23:40:45
Message-Id: 1669333210.0fb2c226b8688b3e2c70318b62d08d312abff3a2.bkohler@gentoo
1 commit: 0fb2c226b8688b3e2c70318b62d08d312abff3a2
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 24 23:40:10 2022 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 24 23:40:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb2c226
7
8 www-client/links: fix quoting & a few small files IUSE changes
9
10 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
11
12 www-client/links/links-2.28-r1.ebuild | 16 +++++++---------
13 1 file changed, 7 insertions(+), 9 deletions(-)
14
15 diff --git a/www-client/links/links-2.28-r1.ebuild b/www-client/links/links-2.28-r1.ebuild
16 index 1b144f3b9c72..af2b7f4763a4 100644
17 --- a/www-client/links/links-2.28-r1.ebuild
18 +++ b/www-client/links/links-2.28-r1.ebuild
19 @@ -13,7 +13,7 @@ SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2
20 LICENSE="GPL-2"
21 SLOT="2"
22 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
23 -IUSE="brotli bzip2 fbcon freetype gpm ipv6 jpeg libevent livecd lzip lzma ssl suid svga tiff unicode webp X zlib zstd"
24 +IUSE="brotli bzip2 fbcon freetype gpm jpeg libevent livecd lzip lzma ssl suid svga tiff webp X zlib zstd"
25
26 GRAPHICS_DEPEND="media-libs/libpng:0="
27
28 @@ -92,12 +92,10 @@ DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
29 src_prepare() {
30 use X && xdg_environment_reset
31
32 - if use unicode; then
33 - pushd intl > /dev/null || die
34 - ./gen-intl || die
35 - ./synclang || die
36 - popd > /dev/null || die
37 - fi
38 + pushd intl > /dev/null || die
39 + ./gen-intl || die
40 + ./synclang || die
41 + popd > /dev/null || die
42
43 # error: conditional "am__fastdepCXX" was never defined (for eautoreconf)
44 sed -i \
45 @@ -132,11 +130,11 @@ src_configure() {
46 econf \
47 --without-directfb \
48 --without-librsvg \
49 + --with-ipv6 \
50 $(use_with brotli) \
51 $(use_with bzip2) \
52 $(use_with fbcon fb) \
53 $(use_with freetype) \
54 - $(use_with ipv6) \
55 $(use_with jpeg libjpeg) \
56 $(use_with libevent) \
57 $(use_with lzip) \
58 @@ -156,7 +154,7 @@ src_install() {
59 default
60
61 if use X; then
62 - newicon ${DISTDIR}/links-graphics-xlinks-logo-pic.png links.png
63 + newicon "${DISTDIR}"/links-graphics-xlinks-logo-pic.png links.png
64 make_desktop_entry 'links -g %u' Links links 'Network;WebBrowser'
65 local d="${ED}"/usr/share/applications
66 echo 'MimeType=x-scheme-handler/http;' >> "${d}"/*.desktop || die