Skip to content

Commit

Permalink
dev-libs/libnsfb: Rename IUSE=xcb to IUSE=X
Browse files Browse the repository at this point in the history
It happens to use libxcb for X support. Use IUSE=X since that's the
common way of asking for X support.

Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
mattst88 committed Jan 14, 2020
1 parent 1459b31 commit 98cebff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev-libs/libnsfb/libnsfb-0.2.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
IUSE="sdl test vnc wayland xcb"
IUSE="sdl test vnc wayland X"
RESTRICT="!test? ( test )"

RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 )
vnc? ( >=net-libs/libvncserver-0.9.9-r2 )
wayland? ( >=dev-libs/wayland-1.0.6 )
xcb? (
X? (
>=x11-libs/libxcb-1.9.1
>=x11-libs/xcb-util-0.3.9-r1
>=x11-libs/xcb-util-image-0.3.9-r1
Expand All @@ -37,7 +37,7 @@ _emake() {
emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \
WITH_VNC=$(usex vnc) \
WITH_SDL=$(usex sdl) \
WITH_XCB=$(usex xcb) \
WITH_XCB=$(usex X) \
WITH_WLD=$(usex wayland) \
$@
}
Expand Down
6 changes: 3 additions & 3 deletions dev-libs/libnsfb/libnsfb-0.2.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
IUSE="sdl test vnc wayland xcb"
IUSE="sdl test vnc wayland X"

RESTRICT="!test? ( test )"

RDEPEND="sdl? ( >=media-libs/libsdl-1.2.15-r4 )
vnc? ( >=net-libs/libvncserver-0.9.9-r2 )
wayland? ( >=dev-libs/wayland-1.0.6 )
xcb? (
X? (
>=x11-libs/libxcb-1.9.1
>=x11-libs/xcb-util-0.3.9-r1
>=x11-libs/xcb-util-image-0.3.9-r1
Expand All @@ -38,7 +38,7 @@ _emake() {
emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \
WITH_VNC=$(usex vnc) \
WITH_SDL=$(usex sdl) \
WITH_XCB=$(usex xcb) \
WITH_XCB=$(usex X) \
WITH_WLD=$(usex wayland) \
$@
}
Expand Down

0 comments on commit 98cebff

Please sign in to comment.