summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-07-06 08:28:00 -0400
committerMatt Turner <mattst88@gentoo.org>2023-07-06 09:25:22 -0400
commit788f8c370c9d6384c97ccb485091d5c49ddbccbb (patch)
tree269526c84c88837b5b5f866f3eedb3d1bac23490 /gui-libs
parentgui-libs/gtk: Version bump to 4.11.4 (diff)
downloadgentoo-788f8c370c9d6384c97ccb485091d5c49ddbccbb.tar.gz
gentoo-788f8c370c9d6384c97ccb485091d5c49ddbccbb.tar.bz2
gentoo-788f8c370c9d6384c97ccb485091d5c49ddbccbb.zip
gui-libs/libadwaita: Version bump to 1.4_alpha
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/libadwaita/Manifest1
-rw-r--r--gui-libs/libadwaita/libadwaita-1.4_alpha.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/gui-libs/libadwaita/Manifest b/gui-libs/libadwaita/Manifest
index 91f3c47392c4..4566aaa4cc0b 100644
--- a/gui-libs/libadwaita/Manifest
+++ b/gui-libs/libadwaita/Manifest
@@ -1,2 +1,3 @@
DIST libadwaita-1.3.2.tar.xz 3132728 BLAKE2B ca9839af1016fae291d8d40dfc29c82ec92c2a22dc5b164290f755b40d01dfe0112afcf0c95101e37874ccf97b5ee2b5d5543315ef1144dc0ebaa73fa820afdb SHA512 86591af2a699931518e211a41844a23d5aaaccb6196d39b28f4768129852c33267e9a66a91dc274711a31df38b84f39feb7c7d22ae54b946a16cea4865ac83e8
DIST libadwaita-1.3.3.tar.xz 3145696 BLAKE2B 1aa9de9cb5852cb2c57f6442c0f71d1bc3a5b62fa930a0a3aebdbc56b2050525be314362e1b886ae7fb9009491913eb8cd0f0921a42ccac0f49ef19478a836b7 SHA512 1ff0ad1cb04c920404eb177743f5caeedb20173e99e8654f1a157928ee00b0d8cb03dc411ad9617d44591709ecc805043a60c63adde1a2d17252a94c6a28a2be
+DIST libadwaita-1.4.alpha.tar.xz 3893240 BLAKE2B 7e02d373dfc23294f2c2689bd624c8c667ad5c7830316e905a2af705af0f8e0580181c2e501a7a044115a2f836f00dccce9a64853acfab6f2986c2eb524933a9 SHA512 a7c61fa76b804aa8c35c190e55a0b25b141daf1c49254741fc2fb396daf8d91779754b4234254a94957b83962611058579235272d6d2e3fe2fb3a3cef62e4be3
diff --git a/gui-libs/libadwaita/libadwaita-1.4_alpha.ebuild b/gui-libs/libadwaita/libadwaita-1.4_alpha.ebuild
new file mode 100644
index 000000000000..22c9b579d847
--- /dev/null
+++ b/gui-libs/libadwaita/libadwaita-1.4_alpha.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2022-2023 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 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="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=dev-libs/glib-2.72: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
+}