commit:     3c118b2dfb027d1d0c66ebf3e7be01eecdd17ebf
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Dec  9 06:20:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 03:54:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c118b2d

dev-libs/girara: add 0.4.2

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/girara/Manifest            |  1 +
 dev-libs/girara/girara-0.4.2.ebuild | 62 +++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest
index 1df2222c4687..ba5e410bd3f6 100644
--- a/dev-libs/girara/Manifest
+++ b/dev-libs/girara/Manifest
@@ -1,2 +1,3 @@
 DIST girara-0.3.9.tar.xz 60832 BLAKE2B 
e577c4273c2d8f4d51e0ee283184ecd2b5b48877996f95aa5cec83ad716efd4946508203d3108d451492ff5d118d965ca98d86f4e0d9b31fcc1cc0b2266b9511
 SHA512 
b5399b26389cff0c6aa6f70687b53a99243d38d66ec401f48de49391c88b31dc3287366819288c405051d14f4f778db952953d48be51ac47d90d9f3604c94708
 DIST girara-0.4.0.tar.xz 60804 BLAKE2B 
4653986945b89c87c597f20425c0009473679578b9a92fd3f4480aa2decc5dcbb2c1a2b0db07bef67c818c2e2940b6c363da0020fa24e7001be13cb68e2ba945
 SHA512 
a8753231cb9de7d60ddaf6e7b19537f23ce447be5885725c982e395068466089fca46980d413cc4ea8e4a8059ccd4615366297600bcf7ef5bddf02d649703dec
+DIST girara-0.4.2.tar.xz 61468 BLAKE2B 
7be287045c269c8a1f2b51b14f0b7f840d7d5929f81c27410a86653943f73b07a1ce16c5a5fe420e7df6f02d4f426b48a622d4cf483dc5065cd8551e273d8fcf
 SHA512 
70dddf8998e37acce25325ddeb5a9b5c5844669b51320733d9d7a572831f28c72207aa6d608b7a856969d7fd0785cbab076596b814eb2e9ef37bf49bb5d476ae

diff --git a/dev-libs/girara/girara-0.4.2.ebuild 
b/dev-libs/girara/girara-0.4.2.ebuild
new file mode 100644
index 000000000000..519ea787a08e
--- /dev/null
+++ b/dev-libs/girara/girara-0.4.2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson virtualx
+
+DESCRIPTION="UI library that focuses on simplicity and minimalism"
+HOMEPAGE="https://pwmt.org/projects/girara/";
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git";
+       EGIT_BRANCH="develop"
+else
+       SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm ~riscv ~x86"
+fi
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="doc libnotify test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       app-accessibility/at-spi2-core
+       dev-libs/glib:2
+       dev-libs/json-glib:=
+       media-libs/harfbuzz:=
+       x11-libs/cairo[glib]
+       x11-libs/gdk-pixbuf
+       >=x11-libs/gtk+-3.20:3
+       x11-libs/pango
+       libnotify? ( x11-libs/libnotify )
+"
+DEPEND="
+       ${RDEPEND}
+       x11-base/xorg-proto
+"
+# Tests are run under virtx
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+       test? (
+               dev-libs/check
+               x11-libs/gtk+:3[X]
+       )
+"
+
+src_configure() {
+       local -a emesonargs=(
+               -Djson=enabled
+               $(meson_feature doc docs)
+               $(meson_feature libnotify notify)
+       )
+       meson_src_configure
+}
+
+src_test() {
+       # TODO: run test on wayland
+       virtx meson_src_test
+}

Reply via email to