diff options
author | Mart Raudsepp <leio@gentoo.org> | 2024-03-03 22:43:18 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2024-03-03 22:54:30 +0200 |
commit | 2d43e251f2a41d1fe8be0195808247717340a451 (patch) | |
tree | 24ede54534cf5de368b5063f3fa28d59df224de9 /gui-libs/libadwaita | |
parent | app-crypt/gcr: add 4.2.1, enable py3.12, disable LTO (diff) | |
download | gentoo-2d43e251f2a41d1fe8be0195808247717340a451.tar.gz gentoo-2d43e251f2a41d1fe8be0195808247717340a451.tar.bz2 gentoo-2d43e251f2a41d1fe8be0195808247717340a451.zip |
gui-libs/libadwaita: add 1.4.4
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gui-libs/libadwaita')
-rw-r--r-- | gui-libs/libadwaita/Manifest | 1 | ||||
-rw-r--r-- | gui-libs/libadwaita/libadwaita-1.4.4.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/gui-libs/libadwaita/Manifest b/gui-libs/libadwaita/Manifest index 221082e83b98..6879775b8cd7 100644 --- a/gui-libs/libadwaita/Manifest +++ b/gui-libs/libadwaita/Manifest @@ -1,2 +1,3 @@ DIST libadwaita-1.4.2.tar.xz 4063684 BLAKE2B 5c4bfc939698ef7413dd60d2818c7e1041b6fe5af4b619063c24379a730e62903ed22c10d7741f31fb39ae846e18ff1af983566017a23a6b524d25353dca4e32 SHA512 4639e727ed0a9e9d468d814f74f5f40a1f69ee90a355708ffc7a17f3a9eab5f0004fea0a1888080d0d3fff845b4993db2440bce6a66712a8b7c64fa8b1d09a78 DIST libadwaita-1.4.3.tar.xz 3955960 BLAKE2B fd68dcab96e968d8833cb9e1783eb5843ac35335ae259dd8ba06e730db3383f9ed0501bda2f442fd81e274283e308644eae1c954fdcb9cb86163fa855bb9ced2 SHA512 3402f2fcf307c07137364f92ec734f0e082080cbd80cde71da6c8859cdf504d343f6bd8816cbaa5523f9f5077cd45b6aa7619f32c2b81bc1c89eeb2eb8b1f8be +DIST libadwaita-1.4.4.tar.xz 3957408 BLAKE2B ba165260677d3dabd47d31e6895271e793ccca5525253eca1147e6ac44326563f5dc8d30e01997b6c8ffe984d32d17ab5652b7f98fcbdab1e031b9025d7c019f SHA512 3b5110753efca53133ab2d5e4dc50b50727e43427744e517c8afb15ec6ff9da2cd6b280d3c590034b3f4e0960084cc1354942831d528732d5649218743a56c71 diff --git a/gui-libs/libadwaita/libadwaita-1.4.4.ebuild b/gui-libs/libadwaita/libadwaita-1.4.4.ebuild new file mode 100644 index 000000000000..c3c582c28c39 --- /dev/null +++ b/gui-libs/libadwaita/libadwaita-1.4.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit gnome.org meson python-any-r1 vala virtualx + +DESCRIPTION="Building blocks for modern 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 ~loong ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-libs/glib-2.76:2 + >=gui-libs/gtk-4.11.3:4[introspection?] + dev-libs/appstream:= + dev-libs/fribidi + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND} + x11-base/xorg-proto" +BDEPEND=" + ${PYTHON_DEPS} + vala? ( $(vala_depend) ) + dev-util/glib-utils + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + default + use vala && vala_setup +} + +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 +} |