summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-02-09 23:27:57 +0200
committerMart Raudsepp <leio@gentoo.org>2024-02-10 00:25:31 +0200
commit611fe36b5128059d93b431e8599c808b84986ba3 (patch)
treefe3c7109610bedfded1ad8744094e302608a5878 /gui-libs
parentmedia-libs/libv4l: Patch to fix building against libc++ (diff)
downloadgentoo-611fe36b5128059d93b431e8599c808b84986ba3.tar.gz
gentoo-611fe36b5128059d93b431e8599c808b84986ba3.tar.bz2
gentoo-611fe36b5128059d93b431e8599c808b84986ba3.zip
gui-libs/libadwaita: add 1.4.3
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/libadwaita/Manifest1
-rw-r--r--gui-libs/libadwaita/libadwaita-1.4.3.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/gui-libs/libadwaita/Manifest b/gui-libs/libadwaita/Manifest
index 87070fb331af..d674ff509684 100644
--- a/gui-libs/libadwaita/Manifest
+++ b/gui-libs/libadwaita/Manifest
@@ -1,2 +1,3 @@
DIST libadwaita-1.3.4.tar.xz 3149996 BLAKE2B 000cb953df4441bda2097c2d543117a22b101d7bc67458153d7cb39d2c49b7c648969b963120fbcd2ccb66ef9b3ce1259641b7120e363f7e9424e5876ff78ec0 SHA512 960105079c3959e633d6b5ed117a2877883f27cc63fcb525ed12c1ce029b0ae8d5d29f5732ac6704dd2aa67d5b2ac6603be33b265509358436fd93d181e2e54e
DIST libadwaita-1.4.2.tar.xz 4063684 BLAKE2B 5c4bfc939698ef7413dd60d2818c7e1041b6fe5af4b619063c24379a730e62903ed22c10d7741f31fb39ae846e18ff1af983566017a23a6b524d25353dca4e32 SHA512 4639e727ed0a9e9d468d814f74f5f40a1f69ee90a355708ffc7a17f3a9eab5f0004fea0a1888080d0d3fff845b4993db2440bce6a66712a8b7c64fa8b1d09a78
+DIST libadwaita-1.4.3.tar.xz 3955960 BLAKE2B fd68dcab96e968d8833cb9e1783eb5843ac35335ae259dd8ba06e730db3383f9ed0501bda2f442fd81e274283e308644eae1c954fdcb9cb86163fa855bb9ced2 SHA512 3402f2fcf307c07137364f92ec734f0e082080cbd80cde71da6c8859cdf504d343f6bd8816cbaa5523f9f5077cd45b6aa7619f32c2b81bc1c89eeb2eb8b1f8be
diff --git a/gui-libs/libadwaita/libadwaita-1.4.3.ebuild b/gui-libs/libadwaita/libadwaita-1.4.3.ebuild
new file mode 100644
index 000000000000..c3c582c28c39
--- /dev/null
+++ b/gui-libs/libadwaita/libadwaita-1.4.3.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
+}