commit: 7e03e53948c661ec3da10098d7017dc439b379e7 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Sun Sep 29 14:46:44 2024 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sun Sep 29 15:01:54 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e03e539
sys-libs/snapd-glib: add 1.66 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sys-libs/snapd-glib/Manifest | 1 + sys-libs/snapd-glib/snapd-glib-1.66.ebuild | 64 ++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/sys-libs/snapd-glib/Manifest b/sys-libs/snapd-glib/Manifest index 4e65f9e830c4..3818001af496 100644 --- a/sys-libs/snapd-glib/Manifest +++ b/sys-libs/snapd-glib/Manifest @@ -1,2 +1,3 @@ DIST snapd-glib-1.63.tar.xz 187676 BLAKE2B a212f826ee35ef5458b716ce64d8f4b32474f991938bc314fcdb0feb5c803f93880a517fe5e1550bc82bc4992bee7467dc0d8cf5cb260712e83b8a1fe6b75743 SHA512 94a2f46e4e066270ea5492cb00fd44da247686a354cbe6766fe3e8974e6bb51f4cf1ca95027533417ec8c8117fc9d3866cb173a113b89d789b6ba518489a314f DIST snapd-glib-1.65.tar.xz 205948 BLAKE2B e5253cd6f8ac908236a89bf8fa3ec2252d2e4bb0875c6860b63808663d80d59d0a5397a5170ac959492e720e1c8fe77d9674a6469cc58556073cf93888da9a8b SHA512 6bae381c6b5a83312004026228ee76e7b8722a5a561c991ceda35aaf104eaf84451f5a7ba299cad6b1f82e3dbcb16cc4780ac393cadb2ca58478b59a809fc613 +DIST snapd-glib-1.66.tar.xz 211400 BLAKE2B 34b0e77b453f2c809bfae871bc6e965e085abc726ed7cd12642c6c4423c4ec17c7398ebb6e0ca375427f31c0dd9a114df24a643ce59df252b4259d607358f7a7 SHA512 62e8f526dcd6adf3c424be02602853288c05a20dcf538960375928532ced3a0754e8c3f4877407a3a2f48eee6a9ec8e58f03f1fb0e12baaf88af5946e7a2627f diff --git a/sys-libs/snapd-glib/snapd-glib-1.66.ebuild b/sys-libs/snapd-glib/snapd-glib-1.66.ebuild new file mode 100644 index 000000000000..5b9d007e6ad6 --- /dev/null +++ b/sys-libs/snapd-glib/snapd-glib-1.66.ebuild @@ -0,0 +1,64 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson vala + +DESCRIPTION="glib library for communicating with snapd" +HOMEPAGE="https://snapcraft.io/" +SRC_URI="https://github.com/snapcore/snapd-glib/releases/download/${PV}/${P}.tar.xz" + +LICENSE="LGPL-3" +SLOT="0/1" +KEYWORDS="~amd64" + +IUSE="doc introspection qml qt6 vala" +REQUIRED_USE=" + qml? ( qt6 ) + vala? ( introspection ) +" + +BDEPEND=" + virtual/pkgconfig + sys-devel/gettext + qt6? ( dev-qt/qttools:6[linguist] ) +" + +DEPEND=" + dev-libs/json-glib + dev-libs/glib:2 + dev-util/glib-utils + net-libs/libsoup:3.0 + doc? ( dev-util/gtk-doc ) + introspection? ( dev-libs/gobject-introspection ) + qml? ( + qt6? ( dev-qt/qtdeclarative:6 ) + ) + qt6? ( + dev-qt/qtbase:6[network,widgets] + ) + vala? ( $(vala_depend) ) +" + +RDEPEND="${DEPEND} + app-containers/snapd +" + +pkg_setup() { + vala_setup +} + +src_configure() { + local emesonargs=( + "$(meson_use doc docs)" + "$(meson_use introspection)" + "$(meson_use qml qml-bindings)" + "$(meson_use qt6)" + "$(meson_use vala vala-bindings)" + -Dsoup2=false + -Dqt5=false + ) + + meson_src_configure +}
