summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-02-12 12:00:19 +0200
committerMart Raudsepp <leio@gentoo.org>2019-02-12 13:09:28 +0200
commitad94d90fa3849239b889e939d395cc0d7a75cd2c (patch)
tree71193b1de7671632e0093541d017a4c81e38a72a /app-arch/gcab/gcab-1.2.ebuild
parentx11-misc/xdg-utils: refer to dev-util/gtk-update-icon-cache (diff)
downloadgentoo-ad94d90fa3849239b889e939d395cc0d7a75cd2c.tar.gz
gentoo-ad94d90fa3849239b889e939d395cc0d7a75cd2c.tar.bz2
gentoo-ad94d90fa3849239b889e939d395cc0d7a75cd2c.zip
app-arch/gcab: bump to 1.2
Closes: https://bugs.gentoo.org/677454 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-arch/gcab/gcab-1.2.ebuild')
-rw-r--r--app-arch/gcab/gcab-1.2.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/app-arch/gcab/gcab-1.2.ebuild b/app-arch/gcab/gcab-1.2.ebuild
new file mode 100644
index 000000000000..ec4cb4e72bec
--- /dev/null
+++ b/app-arch/gcab/gcab-1.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome.org meson vala
+
+DESCRIPTION="Library and tool for working with Microsoft Cabinet (CAB) files"
+HOMEPAGE="https://wiki.gnome.org/msitools"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+IUSE="gtk-doc +introspection test vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.44:2
+ sys-libs/zlib
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ gtk-doc? ( >=dev-util/gtk-doc-1.14
+ app-text/docbook-xml-dtd:4.3 )
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+RESTRICT="!test? ( test )"
+
+PATCHES=( "${FILESDIR}"/${PV}-optional-vapi.patch ) # https://gitlab.gnome.org/GNOME/gcab/merge_requests/1
+
+src_prepare() {
+ use vala && vala_src_prepare
+ default
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use gtk-doc docs)
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ $(meson_use test tests)
+ )
+ meson_src_configure
+}