diff options
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/Manifest.gz | bin | 16737 -> 16732 bytes | |||
-rw-r--r-- | app-arch/gcab/Manifest | 3 | ||||
-rw-r--r-- | app-arch/gcab/files/1.5-meson-git-version-is-optional.patch | 35 | ||||
-rw-r--r-- | app-arch/gcab/gcab-1.5.ebuild | 56 |
4 files changed, 94 insertions, 0 deletions
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz Binary files differindex 3e9eb1a9acf9..7fbc78143240 100644 --- a/app-arch/Manifest.gz +++ b/app-arch/Manifest.gz diff --git a/app-arch/gcab/Manifest b/app-arch/gcab/Manifest index b2a0ab93e226..26f382822704 100644 --- a/app-arch/gcab/Manifest +++ b/app-arch/gcab/Manifest @@ -1,3 +1,6 @@ +AUX 1.5-meson-git-version-is-optional.patch 1143 BLAKE2B 55152a557ec7ee282ae22c9df3bab54bae2b26fbfbf59304c48e03536d69799e02f8d5005ef567de4ee9d0cac76b0372483b9bbb05e7c0d0d04d730bbcdd5edf SHA512 85ade30168a287a3cb22b0faf12a4176e1e244b8470411e6a821fe8631f45a33b343739f9fe282b8f8fedbf2770a6b518480943a0c6bb01045c7a97d2b71cd50 DIST gcab-1.4.tar.xz 78240 BLAKE2B 8b857c116fab636db93463cee7d6b809c3c7b2bdf3896b7b5b5b66ebf270b284b356710933ec17584143bcef5c1f5c555811dd05ea98399f327047476a33fc16 SHA512 66a2e0d0a5888c555153356ce808f602053e71b76af19794db7e3bbf9516fe791805068838b4e208698cd645ada7a08610ac95f846fa81e00a9b955016306299 +DIST gcab-1.5.tar.xz 81728 BLAKE2B ba1793a8374e2dac412ca2807343781013f5be8d79e444ef0a136fbf903dd9a47809b3dec4703ebd19d196a7046a0c8405ae8463c2f7338fdc5eaf979436e8e1 SHA512 2a9b7d2720abbb5527d478ac760898ae254d08b7aa929fbb21753296e5a07c51d62e134a3f8b1b21d9b557d4093505194e09823ddbaf58465d37b372f37534b7 EBUILD gcab-1.4.ebuild 1123 BLAKE2B b8169f5333b10bb26ec27ce57bb3f471c96fa9678bd7ed58db34a18a938054373e07ad8d8e2e9f2b585c2acd054f337219cce083eda6d4516267dbf136767023 SHA512 70ad8b8ec248aebb03e3806e50db1b370a7040ebec8e16e481fd343591fe20f84a160b1a476acc185c9acd70f8c3de7e993d307a3f14cd793691651c49249ebd +EBUILD gcab-1.5.ebuild 1196 BLAKE2B 7b2ca20a19d24efc9b7b23fc0a9037544d2f196f1440f0c098595ab679311f0f0a3b85682aabcb0582af954dabe26bc95405c1b35f01c38a936c76ebb1fd193e SHA512 a0d30b1e0b54560662f5cc10fb76237307cc89a5e7388466eec92d451e9e3fa6ced333fc1c1ab9e6c5c36b649ab56c8528185fcd76bfb73bf74cb988d7b59d27 MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8 diff --git a/app-arch/gcab/files/1.5-meson-git-version-is-optional.patch b/app-arch/gcab/files/1.5-meson-git-version-is-optional.patch new file mode 100644 index 000000000000..6bfbaecf78a6 --- /dev/null +++ b/app-arch/gcab/files/1.5-meson-git-version-is-optional.patch @@ -0,0 +1,35 @@ +From ad0baea50359c1978a9224ee60bf98d97bfb991f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com> +Date: Fri, 5 Aug 2022 11:13:41 +0400 +Subject: [PATCH] meson: git version is optional +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +My bad, git may be present, but running "git abbrev" from the tarball +extracted project can fail. + +Fix commit a755e2ae77035aad9644adadaec5ecf15e9656ba ("meson: fix new +warning about run_command()") + +Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 15fd5cd..5eba715 100644 +--- a/meson.build ++++ b/meson.build +@@ -8,7 +8,7 @@ project('gcab', 'c', + git_version = [] + git = find_program('git', required: false) + if git.found() +- git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: true).stdout().strip().split('-') ++ git_version = run_command(git, 'describe', '--abbrev=4', '--dirty', check: false).stdout().strip().split('-') + endif + + # libtool versioning +-- +2.35.1 + diff --git a/app-arch/gcab/gcab-1.5.ebuild b/app-arch/gcab/gcab-1.5.ebuild new file mode 100644 index 000000000000..acf17df81e42 --- /dev/null +++ b/app-arch/gcab/gcab-1.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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 ~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) ) +" + +PATCHES=( + "${FILESDIR}"/${PV}-meson-git-version-is-optional.patch +) + +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 +} |