Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/rofi/
Date: Tue, 01 Feb 2022 10:53:02
Message-Id: 1643712738.5ea62dcd197a12836eda130d2889993cf06dad30.flow@gentoo
1 commit: 5ea62dcd197a12836eda130d2889993cf06dad30
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 1 10:48:09 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 1 10:52:18 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea62dcd
7
8 x11-misc/rofi: add 1.7.3
9
10 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
11
12 x11-misc/rofi/Manifest | 1 +
13 x11-misc/rofi/rofi-1.7.3.ebuild | 71 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
17 index 412bc352a099..38dc56c35eb8 100644
18 --- a/x11-misc/rofi/Manifest
19 +++ b/x11-misc/rofi/Manifest
20 @@ -1,3 +1,4 @@
21 DIST rofi-1.6.1.tar.gz 569262 BLAKE2B 938b45f8326b5a28e349ac9f7028c476274faa4f932a773acc350d5e1dc8d5c05c7cfb7ec10f1ab5d8c83590074424c3379768671d37ee799d78e508b8c4a4cb SHA512 b54e75818a98fa9262a3016260051837de189d49beff4f4a158cb2e7f41438641377e11d75c164f423e6a86d8b8fca3b76e2630611678525465d06c21b393f60
22 DIST rofi-1.7.0.tar.gz 902294 BLAKE2B 281f48702650f65e4b037fdbbe6861e173dd3465cf6a80a1d2038271511a9f85ebdb19d8e7a1854f82d52172bbfea6eb1b1685228fc4ff874773033406c9267b SHA512 84a42ecf519c7eed8093c4af3b66731b890939a2bf2a63290e599103705f6bacaba59ade1b8a1bc854f6b767e8d44ee42c20e44f63886bcacbfdbe0468d350b4
23 DIST rofi-1.7.2.tar.gz 921356 BLAKE2B 88daaac60f4deab18b9ca00cdd490c57aef7ba103ca947a25a204c4e1da9d5b5a3eb2af4e88cd0f0c920315ee30a49982f521fdd9fde2f5de99b061d52ca410b SHA512 5a3d2b118c0d74e6f9499709000e7d6de270d7c51abcc1a376ecd3838b159ff311cc171e8a1968d6872fcbb6deed565e7d777b687f49756c5ba85351f2f089ea
24 +DIST rofi-1.7.3.tar.gz 935184 BLAKE2B 66585b5542fcf59f22c68ad753a04051a188524c8008435f75b28f923cc46ecb9a0d41a98414577dc59b5a899488de77a6301544fc5af35a7d14a4d8ec930dad SHA512 5d1b8fed868a7fcf372298800997d4aeeb9b428858448a9b9e4c523af8d878aa172dc63ad788cdc950af89a1f3ea850bc4c98a55c9e8ace29e67050ac0c02078
25
26 diff --git a/x11-misc/rofi/rofi-1.7.3.ebuild b/x11-misc/rofi/rofi-1.7.3.ebuild
27 new file mode 100644
28 index 000000000000..7f2f90372111
29 --- /dev/null
30 +++ b/x11-misc/rofi/rofi-1.7.3.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit autotools toolchain-funcs
38 +
39 +DESCRIPTION="A window switcher, run dialog and dmenu replacement"
40 +HOMEPAGE="https://github.com/davatorium/rofi"
41 +SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm64 ~x86"
46 +IUSE="+drun test +windowmode"
47 +RESTRICT="!test? ( test )"
48 +
49 +BDEPEND="
50 + sys-devel/bison
51 + sys-devel/flex
52 + virtual/pkgconfig
53 +"
54 +RDEPEND="
55 + dev-libs/glib:2
56 + gnome-base/librsvg:2
57 + media-libs/freetype
58 + virtual/jpeg
59 + x11-libs/cairo[X,xcb(+)]
60 + x11-libs/libXft
61 + x11-libs/libXinerama
62 + x11-libs/libxcb
63 + x11-libs/libxkbcommon[X]
64 + x11-libs/pango[X]
65 + x11-libs/startup-notification
66 + x11-libs/xcb-util
67 + x11-libs/xcb-util-wm
68 + x11-libs/xcb-util-xrm
69 + x11-misc/xkeyboard-config
70 +"
71 +DEPEND="
72 + ${RDEPEND}
73 + x11-base/xorg-proto
74 + test? ( >=dev-libs/check-0.11 )
75 +"
76 +
77 +src_prepare() {
78 + default
79 + eautoreconf
80 +}
81 +
82 +src_configure() {
83 + tc-export CC
84 +
85 + local myeconfargs=(
86 + $(use_enable drun)
87 + $(use_enable test check)
88 + $(use_enable windowmode)
89 + )
90 + econf "${myeconfargs[@]}"
91 +}
92 +
93 +pkg_postinst() {
94 + for v in ${REPLACING_VERSIONS}; do
95 + if ver_test "${v}" -lt 1.7.0; then
96 + elog "Rofi 1.7.0 removed the (deprecated) xresources based configuration setup."
97 + elog "If you are still using old configuration setup, please convert it to new format manually."
98 + elog "The new format configuration can be generated by 'rofi -dump-config > ~/.config/rofi/config.rasi'."
99 + elog "For more information, please see https://github.com/davatorium/rofi/releases/tag/1.7.0"
100 + fi
101 + done
102 +}