1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-02-02 06:15:46 +01:00

Added rofi 1.7.2.

This particular version is pretty stable for me, which I cannot say for
newer versions due to the nasty bug[1]. Let's keep an eye on this tandem
(rofi + radeon), which might become stable again.

[1] https://github.com/davatorium/rofi/issues/1611
This commit is contained in:
2022-08-26 15:07:25 +02:00
parent 0f774a777b
commit 07e0f3e572
2 changed files with 73 additions and 0 deletions

2
x11-misc/rofi/Manifest Normal file
View File

@@ -0,0 +1,2 @@
DIST rofi-1.7.2.tar.xz 747768 BLAKE2B c6bc6decebe40fdc020d9fc0f4b998cae2c309d5c582af17092a9a54fcd49d6bcc0a05d4c6e24c7fce42ea85c28b219dd5cd88b13aa22c843724cdd38d223e57 SHA512 78605beb4261ce5f930f6b7f80e9350f37ab1b6249675c7b63625a4ea8d22803bcc7c9aaa07aa569b1c0b72692a8499d35e6e24554fc4a7ff23cd107a8355b1a
EBUILD rofi-1.7.2.ebuild 1623 BLAKE2B bc5edbf92044799d5599df88321954c630143ea4801739697140b1e1fb82efc61e52b4e120882bd6e49223527b28506a042151471344734a56f2e1f4737dfd66 SHA512 cbc3e88983047e6ae4e715a21e4f9d2efd5e018ec31926c361d18ff8b4079fae13f4391eea4fe59eb454212d4a15afcb166a16eaf0ea51947d471a8cf0f77dcf

View File

@@ -0,0 +1,71 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools toolchain-funcs
DESCRIPTION="A window switcher, run dialog and dmenu replacement"
HOMEPAGE="https://github.com/davatorium/rofi"
SRC_URI="https://github.com/davatorium/rofi/releases/download/${PV}/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE="+drun test +windowmode"
RESTRICT="!test? ( test )"
BDEPEND="
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
"
RDEPEND="
dev-libs/glib:2
gnome-base/librsvg:2
media-libs/freetype
virtual/jpeg
x11-libs/cairo[X,xcb(+)]
x11-libs/libXft
x11-libs/libXinerama
x11-libs/libxcb
x11-libs/libxkbcommon[X]
x11-libs/pango[X]
x11-libs/startup-notification
x11-libs/xcb-util
x11-libs/xcb-util-wm
x11-libs/xcb-util-xrm
x11-misc/xkeyboard-config
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
test? ( >=dev-libs/check-0.11 )
"
src_prepare() {
default
eautoreconf
}
src_configure() {
tc-export CC
local myeconfargs=(
$(use_enable drun)
$(use_enable test check)
$(use_enable windowmode)
)
econf "${myeconfargs[@]}"
}
pkg_postinst() {
for v in ${REPLACING_VERSIONS}; do
if ver_test "${v}" -lt 1.7.0; then
elog "Rofi 1.7.0 removed the (deprecated) xresources based configuration setup."
elog "If you are still using old configuration setup, please convert it to new format manually."
elog "The new format configuration can be generated by 'rofi -dump-config > ~/.config/rofi/config.rasi'."
elog "For more information, please see https://github.com/davatorium/rofi/releases/tag/1.7.0"
fi
done
}