From 94393d04ccce851b0084c650c99a2eca52f9d3bb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 5 Dec 2022 03:04:53 +0000 Subject: gentoo auto-resync : 05:12:2022 - 03:04:53 --- x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild (limited to 'x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild') diff --git a/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild new file mode 100644 index 000000000000..66b135e9ea5f --- /dev/null +++ b/x11-misc/trayer-srg/trayer-srg-1.1.8-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-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" +S="${WORKDIR}"/${PN}-trayer-${PV} + +LICENSE="MIT GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + x11-libs/gdk-pixbuf:2 + dev-libs/glib:2 + x11-libs/gtk+:2 + x11-libs/libX11 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${P}-avoid-prestripping-of-files.patch" ) + +src_configure() { + ./configure --prefix="${EPREFIX}" || die +} + +src_compile() { + emake TARGET=${PN} CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + einstalldocs +} -- cgit v1.2.3