Diff rofi-1.7.5 with a rofi-1.7.6-r2
| /usr/portage/x11-misc/rofi/rofi-1.7.6-r2.ebuild 2025-02-03 17:39:35.962678108 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit autotools flag-o-matic toolchain-funcs xdg-utils |
|
| 6 |
inherit meson toolchain-funcs xdg-utils |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="A window switcher, run dialog and dmenu replacement" |
| 9 | 9 |
HOMEPAGE="https://github.com/davatorium/rofi" |
| ... | ... | |
| 13 | 13 |
inherit git-r3 |
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.xz"
|
| 16 |
KEYWORDS="amd64 arm64 ~riscv x86" |
|
| 16 |
KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
|
| 17 | 17 |
fi |
| 18 | 18 | |
| 19 | 19 |
LICENSE="MIT" |
| ... | ... | |
| 27 | 27 |
virtual/pkgconfig |
| 28 | 28 |
" |
| 29 | 29 |
RDEPEND=" |
| 30 |
dev-libs/glib:2 |
|
| 30 |
>=dev-libs/glib-2.72:2 |
|
| 31 | 31 |
x11-libs/cairo[X,xcb(+)] |
| 32 | 32 |
x11-libs/gdk-pixbuf:2 |
| 33 | 33 |
x11-libs/libxcb:= |
| ... | ... | |
| 42 | 42 |
DEPEND=" |
| 43 | 43 |
${RDEPEND}
|
| 44 | 44 |
x11-base/xorg-proto |
| 45 |
x11-libs/xcb-util-keysyms |
|
| 45 | 46 |
test? ( >=dev-libs/check-0.11 ) |
| 46 | 47 |
" |
| 47 | 48 | |
| 48 |
src_prepare() {
|
|
| 49 |
default |
|
| 50 |
eautoreconf |
|
| 51 |
} |
|
| 49 |
DOCS=( |
|
| 50 |
AUTHORS |
|
| 51 |
Changelog |
|
| 52 |
Examples/ |
|
| 53 |
README.md |
|
| 54 |
) |
|
| 52 | 55 | |
| 53 | 56 |
src_configure() {
|
| 54 |
# -Werror=lto-type-mismatch |
|
| 55 |
# https://bugs.gentoo.org/881281 |
|
| 56 |
# fixed upstream in git next, remove on next version bump |
|
| 57 |
filter-lto |
|
| 58 | ||
| 59 | 57 |
# Doesn't work with reflex, bug #887049 |
| 60 | 58 |
export LEX=flex |
| 61 | 59 | |
| ... | ... | |
| 64 | 62 | |
| 65 | 63 |
tc-export CC |
| 66 | 64 | |
| 67 |
local myeconfargs=( |
|
| 68 |
$(use_enable drun) |
|
| 69 |
$(use_enable test check) |
|
| 70 |
$(use_enable windowmode) |
|
| 65 |
local emesonargs=( |
|
| 66 |
$(meson_use drun) |
|
| 67 |
$(meson_use windowmode window) |
|
| 68 |
$(meson_feature test check) |
|
| 69 |
-Dimdkit=false |
|
| 71 | 70 |
) |
| 72 |
econf "${myeconfargs[@]}"
|
|
| 71 |
meson_src_configure |
|
| 73 | 72 |
} |
| 74 | 73 | |
| 75 | 74 |
pkg_postinst() {
|