mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
gui-apps/foot: conditionally build tests
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -13,7 +13,8 @@ S="${WORKDIR}/${PN}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+grapheme-clustering"
|
||||
IUSE="+grapheme-clustering test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/wayland
|
||||
@@ -52,13 +53,14 @@ src_prepare() {
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature grapheme-clustering)
|
||||
$(meson_use test tests)
|
||||
-Dthemes=true
|
||||
-Dime=true
|
||||
-Dterminfo=disabled
|
||||
)
|
||||
meson_src_configure
|
||||
|
||||
sed 's|@bindir@|/usr/bin|g' "${S}/"/foot-server@.service.in > foot-server@.service
|
||||
sed 's|@bindir@|/usr/bin|g' "${S}/"/foot-server@.service.in > foot-server@.service || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user