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