summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-07-05 00:04:20 -0300
committerMatt Turner <mattst88@gentoo.org>2023-07-06 09:59:20 -0400
commit3a90c1d8bb81ae9702e5128dcc097c91be6a39f7 (patch)
treea0e1dfe5f0fb12ead0b41528fc7d3cc0f21f582c /app-arch/gcab
parentnet-libs/webkit-gtk: Version bump to 2.40.3 (diff)
downloadgentoo-3a90c1d8bb81ae9702e5128dcc097c91be6a39f7.tar.gz
gentoo-3a90c1d8bb81ae9702e5128dcc097c91be6a39f7.tar.bz2
gentoo-3a90c1d8bb81ae9702e5128dcc097c91be6a39f7.zip
app-arch/gcab: Version bump to 1.6
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/31752 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-arch/gcab')
-rw-r--r--app-arch/gcab/Manifest1
-rw-r--r--app-arch/gcab/gcab-1.6.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/app-arch/gcab/Manifest b/app-arch/gcab/Manifest
index 25b4db0b8542..d8622718d817 100644
--- a/app-arch/gcab/Manifest
+++ b/app-arch/gcab/Manifest
@@ -1 +1,2 @@
DIST gcab-1.5.tar.xz 81728 BLAKE2B ba1793a8374e2dac412ca2807343781013f5be8d79e444ef0a136fbf903dd9a47809b3dec4703ebd19d196a7046a0c8405ae8463c2f7338fdc5eaf979436e8e1 SHA512 2a9b7d2720abbb5527d478ac760898ae254d08b7aa929fbb21753296e5a07c51d62e134a3f8b1b21d9b557d4093505194e09823ddbaf58465d37b372f37534b7
+DIST gcab-1.6.tar.xz 82088 BLAKE2B 04e78229649f1c5cee8d9a9a52e6489264a0356fd21830b71f09c7a22ac73a91ae721f5a99bedbe7556265c1bdd134b3500aad580407c31b0aac487ef1810bf8 SHA512 26b8dcf47ba98e7cc073a551d1c965c13a72d298c8a4e124823bdbb20fe314c8f687232df9ae824a54d81f96fe7d9ac1a40aed24e51f8706595079cec2c61fc9
diff --git a/app-arch/gcab/gcab-1.6.ebuild b/app-arch/gcab/gcab-1.6.ebuild
new file mode 100644
index 000000000000..1bd60c38adb9
--- /dev/null
+++ b/app-arch/gcab/gcab-1.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson vala xdg
+
+DESCRIPTION="Library and tool for working with Microsoft Cabinet (CAB) files"
+HOMEPAGE="https://wiki.gnome.org/msitools https://gitlab.gnome.org/GNOME/gcab"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+IUSE="gtk-doc +introspection test vala"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.62.0:2
+ sys-libs/zlib
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ 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) )
+"
+
+src_prepare() {
+ default
+ xdg_environment_reset
+ use vala && vala_setup
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use gtk-doc docs)
+ $(meson_use introspection)
+ -Dnls=true
+ $(meson_use vala vapi)
+ $(meson_use test tests)
+ -Dinstalled_tests=false
+ )
+ meson_src_configure
+}