diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-02-11 12:40:41 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-02-11 12:56:02 -0800 |
commit | 33ac4f7f81ef9ab3237c6a37bd644055f151588e (patch) | |
tree | f61ad190e35efb3429d5d489039098e9dc3a2dcc /gui-libs | |
parent | mail-client/evolution: Version bump to 3.42.4 (diff) | |
download | gentoo-33ac4f7f81ef9ab3237c6a37bd644055f151588e.tar.gz gentoo-33ac4f7f81ef9ab3237c6a37bd644055f151588e.tar.bz2 gentoo-33ac4f7f81ef9ab3237c6a37bd644055f151588e.zip |
gui-libs/libadwaita: Version bump to 1.0.2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r-- | gui-libs/libadwaita/Manifest | 1 | ||||
-rw-r--r-- | gui-libs/libadwaita/libadwaita-1.0.2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/gui-libs/libadwaita/Manifest b/gui-libs/libadwaita/Manifest index d56f1c7e8604..f9d8e75de28f 100644 --- a/gui-libs/libadwaita/Manifest +++ b/gui-libs/libadwaita/Manifest @@ -1 +1,2 @@ DIST libadwaita-1.0.1.tar.xz 1559064 BLAKE2B 126b77cf7e75775a302b460a0912695839cfd69fb418f22290c2d3d03b85c5e7fe5e5d02064e29ae6e395b5c85d20b84b7a12b0af2e3b32f0624e213ed9a849f SHA512 0f5bb34e26f13853eb646190aaac45c5c168d86e4edf39463b850c0969dd5ed02d8fbc4a20758a2ff5b7592c2284a7f1ffb2cea651f793f9a29764066da237bd +DIST libadwaita-1.0.2.tar.xz 1557688 BLAKE2B 7b357c06e221c02e5a98a3f776c650b4dfe6039206b135897b75058f4c79c1a8f6be46562025b42af481399e82839eb330b38fd909a72695c1641c29fc223cdc SHA512 c11d8f4d25044896bc2c5ac3cc6c3e6597ad894aa9025b4588e4aa26cdb87f58939508e211290baf10839428a56616aacae6ea6b35c9bc9d95f05bdcfb9e1023 diff --git a/gui-libs/libadwaita/libadwaita-1.0.2.ebuild b/gui-libs/libadwaita/libadwaita-1.0.2.ebuild new file mode 100644 index 000000000000..aa0cbf9102f8 --- /dev/null +++ b/gui-libs/libadwaita/libadwaita-1.0.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) +VALA_MIN_API_VERSION="0.52" +inherit gnome.org meson python-any-r1 vala virtualx + +DESCRIPTION="Building blocks for modern adaptive GNOME applications" +HOMEPAGE="https://gnome.pages.gitlab.gnome.org/libadwaita/ https://gitlab.gnome.org/GNOME/libadwaita" + +LICENSE="LGPL-2.1+" +SLOT="1" +IUSE="+introspection test +vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv" + +DEPEND=" + >=dev-libs/glib-2.66:2 + >=gui-libs/gtk-4.5.0:4 + dev-libs/fribidi + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + vala? ( $(vala_depend) ) + >=dev-util/meson-0.59.0 + dev-util/glib-utils + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + use vala && vala_src_prepare + default +} + +src_configure() { + local emesonargs=( + # Never use gi-docgen subproject + --wrap-mode nofallback + + -Dprofiling=false + $(meson_feature introspection) + $(meson_use vala vapi) + -Dgtk_doc=false # we ship pregenerated docs + $(meson_use test tests) + -Dexamples=false + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test --timeout-multiplier 2 +} + +src_install() { + meson_src_install + + insinto /usr/share/gtk-doc/html + # This will install libadwaita API docs unconditionally, but this is intentional + doins -r "${S}"/doc/libadwaita-1 +} |