overlay-mbl

overlay-mbl.git
git clone git://git.lenczewski.org/overlay-mbl.git
Log | Files | Refs

msitools-0.101.ebuild (1038B)


      1 # Copyright 1999-2021 Gentoo Foundation
      2 # Distributed under the terms of the GNU General Public License v2
      3 
      4 EAPI=7
      5 
      6 inherit meson vala
      7 
      8 DESCRIPTION="Set of programs to inspect and build Windows Installer (.MSI) files"
      9 HOMEPAGE="https://wiki.gnome.org/msitools"
     10 SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
     11 S="${WORKDIR}/${PN}-v${PV}"
     12 
     13 LICENSE="LGPL-2+"
     14 SLOT="0"
     15 KEYWORDS="~x86 ~amd64"
     16 IUSE="+introspection"
     17 REQUIRED_USE="
     18 	introspection
     19 "
     20 
     21 BDEPEND="
     22     dev-lang/perl
     23 	sys-devel/bison
     24 	dev-util/bats
     25 "
     26 
     27 RDEPEND="
     28 	introspection? ( >=dev-libs/gobject-introspection-0.10.8 )
     29 "
     30 DEPEND="${RDEPEND}
     31 	dev-libs/glib
     32 	dev-libs/gobject-introspection-common
     33 	dev-libs/vala-common
     34 	gnome-extra/libgsf
     35 	app-arch/gcab[vala]
     36 	>=dev-build/gtk-doc-am-1.13
     37 	>=virtual/pkgconfig-0-r1
     38 "
     39 
     40 PATCHES=(
     41 	"${FILESDIR}"/${P}-bats-dependency.patch
     42 )
     43 
     44 src_prepare() {
     45 	vala_src_prepare
     46 	default
     47 }
     48 
     49 src_configure() {
     50         local emesonargs=(
     51                 $(meson_use introspection)
     52         )
     53         meson_src_configure
     54 }