Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/girara/
Date: Sun, 19 Mar 2023 22:57:42
Message-Id: 1679266655.ef1dd2b0a4045864cbd85a7167ebc974728caaa3.slashbeast@gentoo
1 commit: ef1dd2b0a4045864cbd85a7167ebc974728caaa3
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 22:02:05 2023 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 22:57:35 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1dd2b0
7
8 dev-libs/girara: 0.4.0 version bump.
9
10 Closes: https://bugs.gentoo.org/901787
11 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
12
13 dev-libs/girara/Manifest | 1 +
14 dev-libs/girara/girara-0.4.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest
18 index 194016256fc7..e9dec3a3f787 100644
19 --- a/dev-libs/girara/Manifest
20 +++ b/dev-libs/girara/Manifest
21 @@ -1,2 +1,3 @@
22 DIST girara-0.3.7.tar.xz 60352 BLAKE2B 59515baf53d3ef46d98d5720437c253c82637df8380abe04a1649d4a2636124d6d0dfb001c9363d8a33a1bc496511e90b8c5365db34a29d489802fc780575d2a SHA512 9b91ef7e5047b3250327eab9280372f38615e9948884c108c3d1c5d3e81794f786adc827692b112d2bfdc2660e22206a143fafd5a814408df8ffd4c858148717
23 DIST girara-0.3.9.tar.xz 60832 BLAKE2B e577c4273c2d8f4d51e0ee283184ecd2b5b48877996f95aa5cec83ad716efd4946508203d3108d451492ff5d118d965ca98d86f4e0d9b31fcc1cc0b2266b9511 SHA512 b5399b26389cff0c6aa6f70687b53a99243d38d66ec401f48de49391c88b31dc3287366819288c405051d14f4f778db952953d48be51ac47d90d9f3604c94708
24 +DIST girara-0.4.0.tar.xz 60804 BLAKE2B 4653986945b89c87c597f20425c0009473679578b9a92fd3f4480aa2decc5dcbb2c1a2b0db07bef67c818c2e2940b6c363da0020fa24e7001be13cb68e2ba945 SHA512 a8753231cb9de7d60ddaf6e7b19537f23ce447be5885725c982e395068466089fca46980d413cc4ea8e4a8059ccd4615366297600bcf7ef5bddf02d649703dec
25
26 diff --git a/dev-libs/girara/girara-0.4.0.ebuild b/dev-libs/girara/girara-0.4.0.ebuild
27 new file mode 100644
28 index 000000000000..40aa0809609b
29 --- /dev/null
30 +++ b/dev-libs/girara/girara-0.4.0.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit meson virtualx
38 +
39 +DESCRIPTION="UI library that focuses on simplicity and minimalism"
40 +HOMEPAGE="https://pwmt.org/projects/girara/"
41 +
42 +if [[ ${PV} == *999 ]]; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
45 + EGIT_BRANCH="develop"
46 +else
47 + SRC_URI="https://pwmt.org/projects/girara/download/${P}.tar.xz"
48 + KEYWORDS="~amd64 ~arm ~riscv ~x86"
49 +fi
50 +
51 +LICENSE="ZLIB"
52 +SLOT="0"
53 +IUSE="doc libnotify test"
54 +
55 +RESTRICT="!test? ( test )"
56 +
57 +DEPEND="dev-libs/glib:2
58 + dev-libs/json-glib:=
59 + >=x11-libs/gtk+-3.20:3
60 + libnotify? ( x11-libs/libnotify )"
61 +RDEPEND="${DEPEND}"
62 +BDEPEND="doc? ( app-doc/doxygen )
63 + test? ( dev-libs/check )
64 + virtual/pkgconfig"
65 +
66 +src_configure() {
67 + local emesonargs=(
68 + -Djson=enabled
69 + -Ddocs=$(usex doc enabled disabled)
70 + -Dnotify=$(usex libnotify enabled disabled)
71 + )
72 + meson_src_configure
73 +}
74 +
75 +src_test() {
76 + virtx meson_src_test
77 +}