summaryrefslogtreecommitdiff
path: root/www-client/w3m
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-25 14:07:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-25 14:07:44 +0000
commit6a84e414622fd99c22318ce656a77bb2a0433fc7 (patch)
tree048f41d4a2a9c373e50bf0906c5508e6f5104fae /www-client/w3m
parenta1b20429e7e2ba1b44414459afd5a2b50788cd9c (diff)
gentoo auto-resync : 25:01:2023 - 14:07:44
Diffstat (limited to 'www-client/w3m')
-rw-r--r--www-client/w3m/Manifest2
-rw-r--r--www-client/w3m/w3m-0.5.3_p20230121.ebuild134
2 files changed, 136 insertions, 0 deletions
diff --git a/www-client/w3m/Manifest b/www-client/w3m/Manifest
index b03dbce533d7..a8c4ff09ed05 100644
--- a/www-client/w3m/Manifest
+++ b/www-client/w3m/Manifest
@@ -4,9 +4,11 @@ AUX w3m-0.5.3_p20220429-clang-15-configure.patch 843 BLAKE2B 6f2f3ef2350a02c2ad1
AUX w3m.mailcap 44 BLAKE2B ae8bde48a638a61bcac9c6b3a0e001666e0c17a3e6fff2d2b4da870fde8a5fc0eb8314d9b818399ae502209a2fa4fbdf4bfb07e56e29a275cb2133656da52dfc SHA512 a66ef535a62f593910c1c99865363e7fc8af1815d24f2ccda86a72c0b777ff388100677f0e14e6f57a6786fdbde62cfc3fea554e659d54663f44cfba3e5c67d2
DIST w3m-0.5.3+git20210102.tar.gz 2189272 BLAKE2B f82c13c26b1c83cda90655abdcf30422e257a5c2e48c32d5636a70f895078d11a95fc6ce623fa94624bb2a1125b71e7654d872dfb91fd86c4290278de3cf88f8 SHA512 357eeecf0f63bfd5174c9670533882323879657bdecefd0758d853ca645e368331bfdf91e99c0917f19829e184ce892ecdc99bd865851707d93baccfb4b97632
DIST w3m-0.5.3+git20220429.tar.gz 2312378 BLAKE2B 1cf73c447c2e43491d206ece63bea5f678bd12019be6722e2965bebf9902a56dba5d010b6191553f1acff990a613c2b6d5099cb98b6aa1a84e54e2947570c094 SHA512 0f29d6a1f311c3f417ca041fe3788c94946d238b618eca923cd62a6e5e598aefd898fb8a54999876179011bf37d492a989872e38375ea96ac59914b244f1517e
+DIST w3m-0.5.3+git20230121.tar.gz 2322709 BLAKE2B d4ebed126e7b4205c1282ec0dd7c7db34fb69768084142a0df9c4d051ac74642d5c62b4cff2be368a1db391c93ff6394842a52cfe68d1cdfcd9fb9c1a5c386e5 SHA512 f220aabf69cf11ca7560c1519a971bdb1cc0baa443b1b46cd8fca2a4defb614653dd9ba637afbf9315f3b63a349f972436348c2f93d06665573057e4232eab1c
DIST w3m-0.5.3_p20220216.tar.gz 2306347 BLAKE2B d312aee587d76d077ddae27c97a20957083785a269080ec2a4896f2bd9b4c90cc356a3b6d6c9a435458cf4c16b749d0b1e1c403f7bc5028a0b463c352f75ad2a SHA512 2b661eca0f1e2ff0d7646ce062cc736a30950b41e3e056061d0d65feb869fbea8f6668255c403b460d6b2786a4fd24be6e98d9eb99b8948b3113f7d4ec866a12
EBUILD w3m-0.5.3_p20210102.ebuild 3273 BLAKE2B 3a1224bc9807f749d8cc8136a73bd7cca2d654b48116786a1017269ccbede2c347ddeeac7f1d40a4ff93a501458454d83c8367d0efaee7f5a70b0196d88ae297 SHA512 1bd9d4ebf1f3f473010ca715abffa6b8dbb946366ca7e75cbb4c88c2da33b8488b11e26419c8d5810285e153ddf5a710077bc0015a66ad688549c91301670fa1
EBUILD w3m-0.5.3_p20220216.ebuild 3153 BLAKE2B 0f7ff94d897ea0acffb228ba21f42970e10969a7f2b355fad52ca2c0c55efcc3911783ec1489da236767a43793308f4e9a65b9cf3fde613f582076097014af4b SHA512 57d30e4b312b43911e3fc2b13fdedd006aa6502bb5103ea3fd4a97fb5daa8e4cbab03dc2c08671557a25be7a698395124d6b6e0e4479b8f22a990f1abe502cb4
EBUILD w3m-0.5.3_p20220429-r1.ebuild 3227 BLAKE2B 2a5ef5cdd2be605d0ee3c1d8024e8004f2e822bd0fa61609b04906eced9830d2fd73e66946d7783afa81cc2010126b185792d04405f9ae9f773d5eede8e80034 SHA512 ce075653e0014fbc393fbbac9fee24410c13e222f3eae4710250feb25e74b03abcb286f1acce0a95b5133959bc8fc655eb910a615fa9a438f49445569ec9ef57
EBUILD w3m-0.5.3_p20220429.ebuild 3158 BLAKE2B 4ae026ccace0d66d197ee5cef59bb0f9c136a4eba3031dcab86f3ef8d6dccf4d82692c48a3ed6740f69a50ae926cb82a4420151fe1a1c8bfb87789a0a49c7d54 SHA512 f5ef7b1ac14ca2ad2d646bda9c5f129e20c28cdeacbf11bdc8a53461b6c3d3baadd1091f619b6d447b8720f1863d6790e8ffaaecb3ccb01fd12ac92b476508e8
+EBUILD w3m-0.5.3_p20230121.ebuild 3165 BLAKE2B 5766a94794b1d70c96820e07e3736a033e99d8bf2f8a4fca6c9b172f7770def18ce054a49329857226f479139487d99731fd7935b6ac3d76c9a89ee21c0c845b SHA512 0cab8f52f6863cecb25b067e39677e3d6c338dfbc0f9feee3770e6c537a0cf7a76eb0017b8fa9e072b990bfa12cc0f86fe73dfceb109826c1fac19f67b9d96b0
MISC metadata.xml 693 BLAKE2B 21f2767694ab6072b1bfdf27f2d6217c83f525548c39a0c4ee8bde8f615a795c160af6b6e15e2f2dd14c2f2e79563d833c19d45b8b673ce4d11d9be7799111a1 SHA512 1b8518f445ff05ef367817d7bba97cc4e330d504d5a4d2f9be50fe3fed181fc103abd4770a0fd0a0975a0a99436500c72ac5a903aabb7ca8aa0ceef6467feb04
diff --git a/www-client/w3m/w3m-0.5.3_p20230121.ebuild b/www-client/w3m/w3m-0.5.3_p20230121.ebuild
new file mode 100644
index 000000000000..288fa525f644
--- /dev/null
+++ b/www-client/w3m/w3m-0.5.3_p20230121.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools prefix toolchain-funcs
+
+MY_P="${P/_p/+git}"
+MY_PV="${PV/_p/+git}"
+
+DESCRIPTION="Text based WWW browser, supports tables and frames"
+HOMEPAGE="https://github.com/tats/w3m"
+SRC_URI="https://github.com/tats/w3m/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${P/_p/-git}"
+
+LICENSE="w3m"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="fbcon gdk-pixbuf gpm imlib l10n_ja lynxkeymap nls nntp ssl unicode X xface"
+
+REQUIRED_USE="
+ fbcon? ( ?? ( gdk-pixbuf imlib ) )
+ X? ( ?? ( gdk-pixbuf imlib ) )
+"
+
+RDEPEND="
+ dev-libs/boehm-gc:=
+ sys-libs/ncurses:0=
+ sys-libs/zlib
+ gdk-pixbuf? (
+ x11-libs/gdk-pixbuf
+ X? ( x11-libs/gdk-pixbuf-xlib )
+ )
+ !gdk-pixbuf? (
+ imlib? ( media-libs/imlib2[X?] )
+ )
+ gpm? ( sys-libs/gpm )
+ ssl? ( dev-libs/openssl:0= )
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ )
+ xface? ( media-libs/compface )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-restore-gettext-macro.patch
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-fix-configure-gettext.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i "/^AR=/s:ar:$(tc-getAR):" {.,${PN}img,libwc}/Makefile.in || die
+ hprefixify acinclude.m4
+
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="m4" eautoreconf
+}
+
+src_configure() {
+ local myconf=()
+ local image imagelib
+
+ if use gdk-pixbuf ; then
+ imagelib="gtk3"
+ elif use imlib ; then
+ imagelib="imlib2"
+ fi
+ if [[ -n "${imagelib}" ]] ; then
+ use X && image="${image}${image:+,}x11"
+ use fbcon && image="${image}${image:+,}fb"
+ fi
+ # emacs-w3m doesn't like "--enable-m17n --disable-unicode,"
+ # so we better enable or disable both. Default to enable
+ # m17n and unicode, see bug #47046.
+ if use l10n_ja ; then
+ myconf+=( --enable-japanese=$(usex unicode U E) )
+ else
+ myconf+=( --with-charset=$(usex unicode UTF-8 US-ASCII) )
+ fi
+ # lynxkeymap IUSE flag. bug #49397
+ myconf+=( --enable-keymap=$(usex lynxkeymap lynx ${PN}) )
+
+ econf \
+ $(use_enable gpm mouse) \
+ $(use_enable nls) \
+ $(use_enable nntp) \
+ $(use_enable ssl digest-auth) \
+ $(use_enable xface) \
+ $(use_with ssl) \
+ --enable-image=${image:-no} \
+ --enable-m17n \
+ --enable-unicode \
+ --with-browser="${EPREFIX}/usr/bin/xdg-open" \
+ --with-editor="${EPREFIX}/usr/bin/vi" \
+ --with-imagelib="${imagelib:-no}" \
+ --with-mailer="${EPREFIX}/bin/mail" \
+ --without-migemo \
+ --with-termlib=yes \
+ "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ insinto /etc/${PN}
+ newins "${FILESDIR}"/${PN}.mailcap mailcap
+
+ insinto /usr/share/${PN}/Bonus
+ doins Bonus/{*.{cgi,rb},html*,makeref}
+
+ docinto en
+ dodoc doc/{HISTORY,README,keymap,menu}*
+ newdoc Bonus/README.eng README.Bonus
+ docinto html/en
+ dodoc doc/*.html
+
+ docinto de
+ dodoc doc-de/README*
+ docinto html/de
+ dodoc doc-de/*.html
+
+ docinto ja
+ dodoc doc-jp/{HISTORY,README,keymap,menu}*
+ newdoc Bonus/README README.Bonus
+ docinto html/ja
+ dodoc doc-jp/*.html
+}