Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dunst/
Date: Thu, 23 Jan 2020 10:25:11
Message-Id: 1579775106.c62ff4e60d02a91e341099f82c75977dba84aae2.jer@gentoo
1 commit: c62ff4e60d02a91e341099f82c75977dba84aae2
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 23 10:24:49 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 23 10:25:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c62ff4e6
7
8 x11-misc/dunst: Add live ebuild
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/dunst/dunst-9999.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 53 insertions(+)
15
16 diff --git a/x11-misc/dunst/dunst-9999.ebuild b/x11-misc/dunst/dunst-9999.ebuild
17 new file mode 100644
18 index 00000000000..e756b3ec1f8
19 --- /dev/null
20 +++ b/x11-misc/dunst/dunst-9999.ebuild
21 @@ -0,0 +1,53 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit git-r3 toolchain-funcs
27 +
28 +DESCRIPTION="Customizable and lightweight notification-daemon"
29 +HOMEPAGE="https://dunst-project.org/ https://github.com/dunst-project/dunst"
30 +EGIT_REPO_URI="https://github.com/${PN}-project/${PN}"
31 +
32 +LICENSE="BSD"
33 +SLOT="0"
34 +KEYWORDS=""
35 +IUSE="dunstify"
36 +
37 +CDEPEND="
38 + dev-libs/glib:2
39 + sys-apps/dbus
40 + x11-libs/cairo[X,glib]
41 + x11-libs/gdk-pixbuf
42 + x11-libs/libX11
43 + x11-libs/libXScrnSaver
44 + x11-libs/libXinerama
45 + x11-libs/libXrandr
46 + x11-libs/pango[X]
47 + dunstify? ( x11-libs/libnotify )
48 +"
49 +DEPEND="
50 + ${CDEPEND}
51 + dev-lang/perl
52 + virtual/pkgconfig
53 +"
54 +RDEPEND="${CDEPEND}"
55 +
56 +src_prepare() {
57 + sed -i -e "/^CFLAGS/ { s:-g::;s:-O.:: }" config.mk || die
58 +
59 + default
60 +}
61 +
62 +src_compile() {
63 + tc-export CC
64 + emake
65 + use dunstify && emake dunstify
66 +}
67 +
68 +src_install() {
69 + emake DESTDIR="${D}" PREFIX="/usr" install
70 +
71 + use dunstify && dobin dunstify
72 +
73 + dodoc AUTHORS CHANGELOG.md README.md RELEASE_NOTES
74 +}