Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/trayer-srg/
Date: Fri, 08 Apr 2022 12:17:06
Message-Id: 1649420215.e692b3777bcebd5adf29681376d60cacc91969a1.juippis@gentoo
1 commit: e692b3777bcebd5adf29681376d60cacc91969a1
2 Author: Filip Kszczot <filip <AT> kszczot <DOT> pl>
3 AuthorDate: Thu Mar 31 13:57:53 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 12:16:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e692b377
7
8 x11-misc/trayer-srg: ebuild enhancements
9
10 - add BDEPEND,
11 - EAPI-8,
12 - modify src_compile to not build a development version.
13
14 Package-Manager: Portage-3.0.30, Repoman-3.0.3
15 Signed-off-by: Filip Kszczot <filip <AT> kszczot.pl>
16 Closes: https://github.com/gentoo/gentoo/pull/24830
17 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
18
19 x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild | 37 ++++++++++++++++++++++++++
20 1 file changed, 37 insertions(+)
21
22 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
23 new file mode 100644
24 index 000000000000..93680dad5544
25 --- /dev/null
26 +++ b/x11-misc/trayer-srg/trayer-srg-1.1.8-r1.ebuild
27 @@ -0,0 +1,37 @@
28 +# Copyright 2022 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=8
32 +
33 +inherit toolchain-funcs
34 +
35 +DESCRIPTION="trayer fork with multi monitor support and cleaned up codebase"
36 +HOMEPAGE="https://github.com/sargon/trayer-srg"
37 +SRC_URI="https://github.com/sargon/${PN}/archive/${P/-srg/}.tar.gz -> ${P}.tar.gz"
38 +
39 +LICENSE="MIT GPL-2+"
40 +SLOT="0"
41 +KEYWORDS="~amd64 ~x86"
42 +
43 +RDEPEND="
44 + x11-libs/gdk-pixbuf:2
45 + x11-libs/gtk+:2
46 + x11-libs/libX11
47 +"
48 +DEPEND="${RDEPEND}"
49 +BDEPEND="virtual/pkgconfig"
50 +
51 +S="${WORKDIR}"/${PN}-trayer-${PV}
52 +
53 +src_configure() {
54 + ./configure --prefix="${EPREFIX}" || die
55 +}
56 +
57 +src_compile() {
58 + emake TARGET=${PN} CC="$(tc-getCC)"
59 +}
60 +
61 +src_install() {
62 + dobin ${PN}
63 + einstalldocs
64 +}