diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-18 11:06:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-18 11:06:49 +0000 |
commit | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (patch) | |
tree | e8f3bfa2c6c3d20ec3b9c352c839e23949068b6b /x11-misc/rofi/rofi-1.6.1.ebuild | |
parent | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (diff) |
gentoo resync : 18.12.2020
Diffstat (limited to 'x11-misc/rofi/rofi-1.6.1.ebuild')
-rw-r--r-- | x11-misc/rofi/rofi-1.6.1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/rofi/rofi-1.6.1.ebuild b/x11-misc/rofi/rofi-1.6.1.ebuild new file mode 100644 index 000000000000..44eda2ab0a9a --- /dev/null +++ b/x11-misc/rofi/rofi-1.6.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+drun test +windowmode" +RESTRICT="!test? ( test )" + +BDEPEND="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 +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto + test? ( >=dev-libs/check-0.11 ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.15.12-Werror.patch + "${FILESDIR}"/${PN}-1.5.0-gtk-settings-test.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + tc-export CC + + econf \ + $(use_enable drun) \ + $(use_enable test check) \ + $(use_enable windowmode) +} |