blob: 34b572bfb66529ff39cc4b16d1c3969405973b07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Borland-style programming environment and editor for console and X11"
HOMEPAGE="https://codeberg.org/mendezr/xwpe"
# Upstream "make dist" tarball attached to the Codeberg release; it ships a
# pre-generated configure, so no eautoreconf is needed.
SRC_URI="https://codeberg.org/mendezr/xwpe/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gpm gui"
RDEPEND="
dev-libs/json-c:=
dev-libs/libvterm
sys-libs/ncurses:=
virtual/zlib
gui? (
x11-libs/cairo
x11-libs/libX11
x11-libs/libXft
x11-libs/pango
)
gpm? ( sys-libs/gpm )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
sys-apps/texinfo
"
src_configure() {
# --without-wayland: the native Wayland backend (new in 1.6.8) is auto-detected
# by upstream, which would make the build depend on whether wayland-client,
# xkbcommon and wayland-scanner happen to be installed. Pin it off for a
# deterministic build; XWayland still runs the X11 build under Wayland. A
# proper "wayland" USE flag (it also needs Cairo+Pango, i.e. gui) is a follow-up.
econf \
$(use_with gui x) \
$(use_with gpm) \
--without-wayland
}
src_test() {
emake check
}
|