1 |
|
# Copyright 1999-2021 Gentoo Authors
|
|
1 |
# Copyright 1999-2022 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=7
|
5 |
5 |
|
6 |
6 |
inherit autotools prefix toolchain-funcs
|
7 |
7 |
|
8 |
|
MY_P="${P/_p/+git}"
|
9 |
|
MY_PV="${PV/_p/+git}"
|
10 |
|
|
|
8 |
COMMIT="53d323453d78a6d449f9957586c33dddfffa5616"
|
11 |
9 |
DESCRIPTION="Text based WWW browser, supports tables and frames"
|
12 |
10 |
HOMEPAGE="https://github.com/tats/w3m"
|
13 |
|
SRC_URI="https://github.com/tats/w3m/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
|
14 |
|
S="${WORKDIR}/${P/_p/-git}"
|
|
11 |
SRC_URI="https://github.com/tats/w3m/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
12 |
S="${WORKDIR}/${PN}-${COMMIT}"
|
15 |
13 |
|
16 |
14 |
LICENSE="w3m"
|
17 |
15 |
SLOT="0"
|
18 |
|
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
19 |
|
IUSE="fbcon gdk-pixbuf gpm imlib l10n_de l10n_ja lynxkeymap nls nntp ssl unicode X xface"
|
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
|
17 |
IUSE="fbcon gdk-pixbuf gpm imlib l10n_ja lynxkeymap nls nntp ssl unicode X xface"
|
20 |
18 |
|
21 |
19 |
REQUIRED_USE="
|
22 |
20 |
fbcon? ( ?? ( gdk-pixbuf imlib ) )
|
... | ... | |
37 |
35 |
gpm? ( sys-libs/gpm )
|
38 |
36 |
ssl? ( dev-libs/openssl:0= )
|
39 |
37 |
X? (
|
|
38 |
x11-base/xorg-proto
|
40 |
39 |
x11-libs/libXdmcp
|
41 |
40 |
x11-libs/libXext
|
42 |
41 |
)
|
... | ... | |
118 |
117 |
newdoc Bonus/README.eng README.Bonus
|
119 |
118 |
docinto html/en
|
120 |
119 |
dodoc doc/*.html
|
121 |
|
if use l10n_de ; then
|
122 |
|
docinto de
|
123 |
|
dodoc doc-de/README*
|
124 |
|
docinto html/de
|
125 |
|
dodoc doc-de/*.html
|
126 |
|
else
|
127 |
|
rm -rf "${ED}"/usr/share/man/de || die
|
128 |
|
fi
|
129 |
|
if use l10n_ja ; then
|
130 |
|
docinto ja
|
131 |
|
dodoc doc-jp/{HISTORY,README,keymap,menu}*
|
132 |
|
newdoc Bonus/README README.Bonus
|
133 |
|
docinto html/ja
|
134 |
|
dodoc doc-jp/*.html
|
135 |
|
else
|
136 |
|
rm -rf "${ED}"/usr/share/man/ja || die
|
137 |
|
fi
|
|
120 |
|
|
121 |
docinto de
|
|
122 |
dodoc doc-de/README*
|
|
123 |
docinto html/de
|
|
124 |
dodoc doc-de/*.html
|
|
125 |
|
|
126 |
docinto ja
|
|
127 |
dodoc doc-jp/{HISTORY,README,keymap,menu}*
|
|
128 |
newdoc Bonus/README README.Bonus
|
|
129 |
docinto html/ja
|
|
130 |
dodoc doc-jp/*.html
|
138 |
131 |
}
|