commit: b93083a4f1d74926c985256cef1965336e407f6a Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Fri May 30 12:37:36 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Fri May 30 12:48:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b93083a4
x11-misc/rofi: add 1.7.9.1 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> x11-misc/rofi/Manifest | 1 + x11-misc/rofi/rofi-1.7.9.1.ebuild | 80 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/x11-misc/rofi/Manifest b/x11-misc/rofi/Manifest index 5049c4406197..955114e85161 100644 --- a/x11-misc/rofi/Manifest +++ b/x11-misc/rofi/Manifest @@ -2,3 +2,4 @@ DIST rofi-1.7.5.tar.xz 772952 BLAKE2B 54511f4f793f3ba0b58294daa1d2974228904a637d DIST rofi-1.7.6.tar.xz 812496 BLAKE2B 18728bde962a1082927c87c19e00356206632430975f8718f2d961966047026a2cb1266ed868f4510fbe127e7f3e3cae1308a9da69fe46609f78dbc0e8394d2f SHA512 9e2d39abd3dbd7703646e6c0f16383da8f1ec26b911817f574f388cd019c9440fca26100d2de14883c30e74f6c1c451722777dbeee1d2551fc64d78d60fa3023 DIST rofi-1.7.7.tar.xz 812568 BLAKE2B b5b341d13f2d8609994e9b138722ce6af3896394b60a6734e90ac50cd7921704dcacd3fcbdbc3c1ce4632df1995f7abc1c6399371a483721424181bb9a7b9a69 SHA512 8286bc5f33ab4eb93677b24815730f159347a1e545ff109784fe161eeb4500c4fd4307c7894adb2060d6bef5137c9d6506a71c565e2676be230e5ad740bed9d0 DIST rofi-1.7.8.tar.xz 812732 BLAKE2B 8f6ecf0ff9db4ccadcf8814ae014e0a1041a2494d934214bd9f22487ff9c73f35ec1a6c7ead8f764a0ac64d248260b550effec1102acb0e8e757e8c6a270241f SHA512 8a33f5eb933cbba645056eeba3b82e236135e5a72251bd5bb3e6019e66e5626b126572f6874f5e39e381bb5108f261d4c80bb945ed0900c2179854d475d6518b +DIST rofi-1.7.9.1.tar.xz 813356 BLAKE2B 6de09c5a099e69e9624d68ef5df612966fc53bfda3bc479215394bc39d687c7751ec4b3e5d6009015c6424f299f8a3cfce04b718f80a55d7776115923be7ce1b SHA512 0ded093b5a50ec2e547f5a35c4972690250ad260025ce1ef7c4736554b05dde9c559508b4e68ef186f5270bcd9d4ed8804e7c790690f37cf1a499491011933c9 diff --git a/x11-misc/rofi/rofi-1.7.9.1.ebuild b/x11-misc/rofi/rofi-1.7.9.1.ebuild new file mode 100644 index 000000000000..e32e7f68e60d --- /dev/null +++ b/x11-misc/rofi/rofi-1.7.9.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs xdg-utils + +DESCRIPTION="A window switcher, run dialog and dmenu replacement" +HOMEPAGE="https://github.com/davatorium/rofi" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/davatorium/rofi" + inherit git-r3 +else + SRC_URI="https://github.com/davatorium/rofi/releases/download/$(ver_cut 1-3)/${P}.tar.xz" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="+drun test +windowmode" +RESTRICT="!test? ( test )" + +BDEPEND=" + sys-devel/bison + >=sys-devel/flex-2.5.39 + virtual/pkgconfig +" +RDEPEND=" + >=dev-libs/glib-2.72:2 + x11-libs/cairo[X,xcb(+)] + x11-libs/gdk-pixbuf:2 + x11-libs/libxcb:= + x11-libs/libxkbcommon[X] + x11-libs/pango[X] + x11-libs/startup-notification + x11-libs/xcb-util + x11-libs/xcb-util-cursor + x11-libs/xcb-util-wm + x11-misc/xkeyboard-config +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + x11-libs/xcb-util-keysyms + test? ( >=dev-libs/check-0.11 ) +" + +DOCS=( + AUTHORS + Changelog + Examples/ + README.md +) + +src_configure() { + # Doesn't work with reflex, bug #887049 + export LEX=flex + + # Requires bison, see https://bugs.gentoo.org/894634. + unset YACC + + tc-export CC + + local emesonargs=( + $(meson_use drun) + $(meson_use windowmode window) + $(meson_feature test check) + -Dimdkit=false + ) + meson_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}
