alpha-quadrant/app-arch/msitools/msitools-0.101.ebuild

45 lines
856 B
Bash
Raw Normal View History

2022-06-23 16:21:14 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_USE_DEPEND="vapigen"
inherit gnome.org meson vala xdg
DESCRIPTION="Set of programs to inspect and build Windows Installer (.MSI) files"
HOMEPAGE="https://wiki.gnome.org/msitools"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+introspection validate-wxi"
RDEPEND="
>=app-arch/gcab-0.4[vala]
gnome-extra/libgsf
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/meson-0.50.0
dev-util/glib-utils
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
validate-wxi? ( app-arch/rpm )
$(vala_depend)
"
src_prepare() {
xdg_src_prepare
vala_src_prepare
}
src_configure() {
local emesonargs=(
$(meson_use introspection)
$(meson_use validate-wxi)
)
meson_src_configure
}