summaryrefslogtreecommitdiff
path: root/gui-libs/libadwaita
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-01-16 20:27:28 +0000
commit2fd57282f0262ca084e05b0f2c63fbada395d02b (patch)
tree4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /gui-libs/libadwaita
parentc3bc61051d7f12b4c682efa7a5460bbc8815649e (diff)
gentoo resync : 16.01.2021
Diffstat (limited to 'gui-libs/libadwaita')
-rw-r--r--gui-libs/libadwaita/Manifest3
-rw-r--r--gui-libs/libadwaita/libadwaita-1.0.1.ebuild65
-rw-r--r--gui-libs/libadwaita/metadata.xml8
3 files changed, 76 insertions, 0 deletions
diff --git a/gui-libs/libadwaita/Manifest b/gui-libs/libadwaita/Manifest
new file mode 100644
index 000000000000..649be3f933ce
--- /dev/null
+++ b/gui-libs/libadwaita/Manifest
@@ -0,0 +1,3 @@
+DIST libadwaita-1.0.1.tar.xz 1559064 BLAKE2B 126b77cf7e75775a302b460a0912695839cfd69fb418f22290c2d3d03b85c5e7fe5e5d02064e29ae6e395b5c85d20b84b7a12b0af2e3b32f0624e213ed9a849f SHA512 0f5bb34e26f13853eb646190aaac45c5c168d86e4edf39463b850c0969dd5ed02d8fbc4a20758a2ff5b7592c2284a7f1ffb2cea651f793f9a29764066da237bd
+EBUILD libadwaita-1.0.1.ebuild 1419 BLAKE2B 96d840ac5683cd3fea4c1c9f0300372138fe87477041f2d099cdb89d91dd66ad45e5b2b52f28e3aa873266c89adcefccf751fe2c1bf22d3b5fb29bcac2a65b96 SHA512 881d61b06b0a8d3f06a8ee37ba4eed72bbc76085487898bf6754bc1c189bdbb40e2ea97d0448fb1f79e88ec6e6420a4b86ae50adafe0ed545927e6f5bce95bc8
+MISC metadata.xml 250 BLAKE2B 8f7f0fe023d43e380e7861e897e6afcb5de4baefb42ea9c65a57dfc0d204c6f787a99295141832e732ebb08be218da56ba77e2dd9639e4e3aabf718ce4db1d0c SHA512 2684e772dd6d83e4b49f08f2ba22d8a0a753e7b46863489eff1b5d1f2f147ad80ffd93245ca405ac4c747249bc1b754454ec9865fe16da70f9b257051e105fd8
diff --git a/gui-libs/libadwaita/libadwaita-1.0.1.ebuild b/gui-libs/libadwaita/libadwaita-1.0.1.ebuild
new file mode 100644
index 000000000000..bc5e9cbbd407
--- /dev/null
+++ b/gui-libs/libadwaita/libadwaita-1.0.1.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 ~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
+}
diff --git a/gui-libs/libadwaita/metadata.xml b/gui-libs/libadwaita/metadata.xml
new file mode 100644
index 000000000000..7b343b06be8a
--- /dev/null
+++ b/gui-libs/libadwaita/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>