1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit autotools desktop
7 DESCRIPTION="rxvt clone with xft and unicode support"
8 HOMEPAGE="http://software.schmorp.de/pkg/rxvt-unicode.html"
9 SRC_URI="http://dist.schmorp.de/rxvt-unicode/Attic/${P}.tar.bz2"
13 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
15 256-color blink fading-colors +font-styles gdk-pixbuf iso14755 +mousewheel
16 +perl startup-notification unicode3 +utmp +wtmp xft
21 >=sys-libs/ncurses-5.7-r6:=
25 gdk-pixbuf? ( x11-libs/gdk-pixbuf )
26 kernel_Darwin? ( dev-perl/Mac-Pasteboard )
27 perl? ( dev-lang/perl:= )
28 startup-notification? ( x11-libs/startup-notification )
29 xft? ( x11-libs/libXft )
37 "${FILESDIR}"/${PN}-9.06-case-insensitive-fs.patch
38 "${FILESDIR}"/${PN}-9.21-xsubpp.patch
45 doc/etc/${PN}.term{cap,info}
52 # kill the rxvt-unicode terminfo file - #192083
53 sed -i -e "/rxvt-unicode.terminfo/d" doc/Makefile.in || die "sed failed"
59 # --enable-everything goes first: the order of the arguments matters
60 econf --enable-everything \
61 $(use_enable 256-color) \
62 $(use_enable blink text-blink) \
63 $(use_enable fading-colors fading) \
64 $(use_enable font-styles) \
65 $(use_enable gdk-pixbuf pixbuf) \
66 $(use_enable iso14755) \
67 $(use_enable mousewheel) \
69 $(use_enable startup-notification) \
70 $(use_enable unicode3) \
80 -e 's/RXVT_BASENAME = "rxvt"/RXVT_BASENAME = "urxvt"/' \
81 "${S}"/doc/rxvt-tabbed || die
87 make_desktop_entry urxvt rxvt-unicode utilities-terminal \
88 "System;TerminalEmulator"