summaryrefslogtreecommitdiff
path: root/app-containers/waydroid-x11/waydroid-x11-1.0.2.ebuild
blob: cf1da86e97a06b53de401782a9608470ef472d79 (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

DESCRIPTION="Launch waydroid in an X11 session, using weston as a nested compositor"
HOMEPAGE="https://github.com/mid-kid/waydroid-x11"

SRC_URI="https://github.com/mid-kid/$PN/releases/download/$PV/$P.tar.gz"

LICENSE="WTFPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+X drm"

RDEPEND="
	app-containers/waydroid
	dev-libs/weston[X?,drm?]
"

src_configure() {
	local myeconfargs=(
		$(use_enable X x11)
		$(use_enable drm)
	)
	econf "${myeconfargs[@]}"
}