From aacb7d0d1a4dae74fc5acbf77896b7d4704fd345 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 23 Jun 2022 16:21:14 +0200 Subject: [PATCH] introducing app-arch/msitools. --- app-arch/msitools/Manifest | 1 + app-arch/msitools/msitools-0.101.ebuild | 44 +++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 app-arch/msitools/Manifest create mode 100644 app-arch/msitools/msitools-0.101.ebuild diff --git a/app-arch/msitools/Manifest b/app-arch/msitools/Manifest new file mode 100644 index 0000000..7352d46 --- /dev/null +++ b/app-arch/msitools/Manifest @@ -0,0 +1 @@ +DIST msitools-0.101.tar.xz 594076 BLAKE2B 1fd484006f41f9b253949d3c6f82dd25f65ed0b16f7039f3b3e37e89afb19b4260d9d78ff229d14e2e20d1ffbb22e4c7bc7936852646567553a4f0eb2a1f217f SHA512 4a68884cc22dc917f3d0637791f9ada4cd38a96bdf54832ac2c4266c9a44076e391588422039b3b958d39acf4ebe6ef8ccd3e0f3966d9d93a77faef0354262b7 diff --git a/app-arch/msitools/msitools-0.101.ebuild b/app-arch/msitools/msitools-0.101.ebuild new file mode 100644 index 0000000..87ffa4a --- /dev/null +++ b/app-arch/msitools/msitools-0.101.ebuild @@ -0,0 +1,44 @@ +# 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 +}