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, 23 Aug 2022 18:29:35
Message-Id: 1661279349.c243a94dcb19fb88941c99dac51cf57babb9a45d.flow@gentoo
1 commit: c243a94dcb19fb88941c99dac51cf57babb9a45d
2 Author: Petrus.Z <silencly07 <AT> gmail <DOT> com>
3 AuthorDate: Sun Aug 21 07:38:03 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 23 18:29:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c243a94d
7
8 x11-misc/rofi: version bump to 1.7.5
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Petrus Zhao <petrus.zy.07 <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/26940
13 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
14
15 x11-misc/rofi/Manifest | 1 +
16 x11-misc/rofi/rofi-1.7.5.ebuild | 73 +++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 74 insertions(+)
18
19 diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest
20 index 6ec043f0bb0e..ea1919f315cc 100644
21 --- a/x11-misc/rofi/Manifest
22 +++ b/x11-misc/rofi/Manifest
23 @@ -1,3 +1,4 @@
24 DIST rofi-1.6.1.tar.xz 404372 BLAKE2B b338382104b84f068024eff3a04bed1bbc895d6977204a9abdc55e3b382e6e6a9e5646f6155011b17d43943d9a7a9fb92aa7dca24789b260e73b5e3b134001de SHA512 c9794a7e4921e58ecc5fc7096218203f548efe2a49ffa6971accc12e9172248bda856ad06f8c11ada9abb62b9a43c7fffce1c1be9a3fe1365c94561b170a8b73
25 DIST rofi-1.7.2.tar.xz 747768 BLAKE2B c6bc6decebe40fdc020d9fc0f4b998cae2c309d5c582af17092a9a54fcd49d6bcc0a05d4c6e24c7fce42ea85c28b219dd5cd88b13aa22c843724cdd38d223e57 SHA512 78605beb4261ce5f930f6b7f80e9350f37ab1b6249675c7b63625a4ea8d22803bcc7c9aaa07aa569b1c0b72692a8499d35e6e24554fc4a7ff23cd107a8355b1a
26 DIST rofi-1.7.3.tar.xz 755776 BLAKE2B af746e72ce5d09f3815960eb533bf58160c56141a116d1d950db498445e07696d0af2abe36a661ce67178f2040bfba7a39ac6c8eacdfc4db9f75e5f74daf47f5 SHA512 bba9ee25c7ff2168370ad1fd21a2286706f9db1efccdab84c55abd3bfa822ed10d23128388c69c964e81b2c51e1a95b3a3c7ca503a4564d0bdb3a993d8a9553d
27 +DIST rofi-1.7.5.tar.xz 772952 BLAKE2B 54511f4f793f3ba0b58294daa1d2974228904a637d13d729b0b7d974c0ebf8d0d98514705212bd42500fe90b0685a3515dc67793baa95baefe6dfc0ecdee83c7 SHA512 84cbb8ccef14fdb5d68062b17245fbcb0e9bab46534eb6c7ce532750b86fb33ce6e43ed24cf3c65e553d15b23a201c9168d97d257da4dddeddb0a7c44dd59cc0
28
29 diff --git a/x11-misc/rofi/rofi-1.7.5.ebuild b/x11-misc/rofi/rofi-1.7.5.ebuild
30 new file mode 100644
31 index 000000000000..4fe9af652772
32 --- /dev/null
33 +++ b/x11-misc/rofi/rofi-1.7.5.ebuild
34 @@ -0,0 +1,73 @@
35 +# Copyright 1999-2022 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit autotools toolchain-funcs xdg-utils
41 +
42 +DESCRIPTION="A window switcher, run dialog and dmenu replacement"
43 +HOMEPAGE="https://github.com/davatorium/rofi"
44 +SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.xz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86"
49 +IUSE="+drun test +windowmode"
50 +RESTRICT="!test? ( test )"
51 +
52 +BDEPEND="
53 + sys-devel/bison
54 + sys-devel/flex
55 + virtual/pkgconfig
56 +"
57 +RDEPEND="
58 + dev-libs/glib:2
59 + x11-libs/cairo[X,xcb(+)]
60 + x11-libs/gdk-pixbuf:2
61 + x11-libs/libxcb:=
62 + x11-libs/libxkbcommon[X]
63 + x11-libs/pango[X]
64 + x11-libs/startup-notification
65 + x11-libs/xcb-util
66 + x11-libs/xcb-util-cursor
67 + x11-libs/xcb-util-wm
68 + x11-misc/xkeyboard-config
69 +"
70 +DEPEND="
71 + ${RDEPEND}
72 + x11-base/xorg-proto
73 + test? ( >=dev-libs/check-0.11 )
74 +"
75 +
76 +src_prepare() {
77 + default
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + tc-export CC
83 +
84 + local myeconfargs=(
85 + $(use_enable drun)
86 + $(use_enable test check)
87 + $(use_enable windowmode)
88 + )
89 + econf "${myeconfargs[@]}"
90 +}
91 +
92 +pkg_postinst() {
93 + for v in ${REPLACING_VERSIONS}; do
94 + if ver_test "${v}" -lt 1.7.0; then
95 + elog "Rofi 1.7.0 removed the (deprecated) xresources based configuration setup."
96 + elog "If you are still using old configuration setup, please convert it to new format manually."
97 + elog "The new format configuration can be generated by 'rofi -dump-config > ~/.config/rofi/config.rasi'."
98 + elog "For more information, please see https://github.com/davatorium/rofi/releases/tag/1.7.0"
99 + fi
100 + done
101 +
102 + xdg_icon_cache_update
103 +}
104 +
105 +pkg_postrm() {
106 + xdg_icon_cache_update
107 +}