commit: e692b3777bcebd5adf29681376d60cacc91969a1 Author: Filip Kszczot <filip <AT> kszczot <DOT> pl> AuthorDate: Thu Mar 31 13:57:53 2022 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Fri Apr 8 12:16:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e692b377
x11-misc/trayer-srg: ebuild enhancements - add BDEPEND, - EAPI-8, - modify src_compile to not build a development version. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Filip Kszczot <filip <AT> kszczot.pl> Closes: https://github.com/gentoo/gentoo/pull/24830 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild new file mode 100644 index 000000000000..93680dad5544 --- /dev/null +++ b/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase" +HOMEPAGE="https://github.com/sargon/trayer-srg" +SRC_URI="https://github.com/sargon/${PN}/archive/${P/-srg/}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}"/${PN}-trayer-${PV} + +src_configure() { + ./configure --prefix="${EPREFIX}" || die +} + +src_compile() { + emake TARGET=${PN} CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + einstalldocs +}
