diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-20 18:00:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-20 18:00:30 +0100 |
commit | 1e2d947ea35b8fd5d14d55f60265f9763fa70a72 (patch) | |
tree | 8ad6bc146973ea889b9e1add3cda534c60bd0ed1 /sys-libs/snapd-glib | |
parent | b92d3efc1e8f2a9c4b5a674b333eea5e6ad2c181 (diff) |
gentoo auto-resync : 20:04:2023 - 18:00:30
Diffstat (limited to 'sys-libs/snapd-glib')
-rw-r--r-- | sys-libs/snapd-glib/Manifest | 3 | ||||
-rw-r--r-- | sys-libs/snapd-glib/metadata.xml | 14 | ||||
-rw-r--r-- | sys-libs/snapd-glib/snapd-glib-1.63.ebuild | 63 |
3 files changed, 80 insertions, 0 deletions
diff --git a/sys-libs/snapd-glib/Manifest b/sys-libs/snapd-glib/Manifest new file mode 100644 index 000000000000..91d560c155f9 --- /dev/null +++ b/sys-libs/snapd-glib/Manifest @@ -0,0 +1,3 @@ +DIST snapd-glib-1.63.tar.xz 187676 BLAKE2B a212f826ee35ef5458b716ce64d8f4b32474f991938bc314fcdb0feb5c803f93880a517fe5e1550bc82bc4992bee7467dc0d8cf5cb260712e83b8a1fe6b75743 SHA512 94a2f46e4e066270ea5492cb00fd44da247686a354cbe6766fe3e8974e6bb51f4cf1ca95027533417ec8c8117fc9d3866cb173a113b89d789b6ba518489a314f +EBUILD snapd-glib-1.63.ebuild 1150 BLAKE2B d766bca4abdb1fc8913e483159e6831e060a148bdc51ae60144072671b83b27ea6be416f0fec150bf148742f570a0d70d817b0fbfc3bb9d440e4ce20a6437031 SHA512 b883fd6d734203d4ed35f1c9a98331236f7d74ffacb77d20985f114a63eb73f9f91ca9aba8da4784782bb62b9393668e5dcf56cd34cb861ef64e6fffd53cbb57 +MISC metadata.xml 406 BLAKE2B ee1d1cdc33311cea7a3bcc4288fb8ec0148327eaa6fc59fd7c18ff3b34d9624a9e42a85f47254205a3d078651012d52ddc5f2dbf693f0250afc4194e389ba4be SHA512 1331657e9efe50b9901b2acc60694edf2c9f518a37f2a0d346969b78ceffe75d88a0503bb43fdac9a75eb81706440d99d8ce3eb6b9b112163438474b823338e1 diff --git a/sys-libs/snapd-glib/metadata.xml b/sys-libs/snapd-glib/metadata.xml new file mode 100644 index 000000000000..8e8a7baf2077 --- /dev/null +++ b/sys-libs/snapd-glib/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="github">snapcore/snapd-glib</remote-id> + </upstream> + <use> + <flag name="qml">Build the QML bindings</flag> + </use> +</pkgmetadata> diff --git a/sys-libs/snapd-glib/snapd-glib-1.63.ebuild b/sys-libs/snapd-glib/snapd-glib-1.63.ebuild new file mode 100644 index 000000000000..8728ba207b25 --- /dev/null +++ b/sys-libs/snapd-glib/snapd-glib-1.63.ebuild @@ -0,0 +1,63 @@ +# Copyright 2019-2023 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 qt5 vala" +REQUIRED_USE=" + qml? ( qt5 ) + vala? ( introspection ) +" + +BDEPEND=" + virtual/pkgconfig + sys-devel/gettext + qt5? ( dev-qt/linguist-tools:5 ) +" + +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? ( dev-qt/qtdeclarative:5 ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + 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 qt5 qt-bindings)" + "$(meson_use vala vala-bindings)" + -Dsoup2=false + ) + + meson_src_configure +} |