commit:     c159f2820ae8e6a1f6ebfa72e2609f3066f75630
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 03:49:50 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 03:51:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c159f282

x11-misc/dunst: Version 1.4.1

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Fixes: https://bugs.gentoo.org/696876
Reported-by: Hund
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-misc/dunst/Manifest           |  1 +
 x11-misc/dunst/dunst-1.4.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest
index 29ccea4b22e..4c8d801be91 100644
--- a/x11-misc/dunst/Manifest
+++ b/x11-misc/dunst/Manifest
@@ -1 +1,2 @@
 DIST dunst-1.3.2.tar.gz 121575 BLAKE2B 
97f0011ce960a7852dca5a2917e328de2cc1a052ad0b7c2f07e878e3b6eb5281e49a070a574885b9a66eb6dc30ac07fdfd6322b44cbb7dbc1edf8d193a68b538
 SHA512 
eb7bff16a19d8f60e2f0eec419a0ffb2f8822b5ec2ffbe535303a71cc7d4ef528e5dbf2fe5f8f2f6f5bfd1ad2d39eab79b68054af924e118c646e059b6929465
+DIST dunst-1.4.1.tar.gz 160124 BLAKE2B 
d618b3bffc8f4518f58d28e108a8aadf1ff71164f581632bc198b3d0a81f6efa0fff73513fa5d46ec4a7058bb1beb8d8a51cb01e4621c76f8d3f8653cc6e2270
 SHA512 
43667898e123ef0dea59e2ca55a76686785906e44b453b2a86bdf361045b3f6b751a2e81fa9f562127f80bf47f8c9248960c37f8365dbbe409d72ddc3deb34fb

diff --git a/x11-misc/dunst/dunst-1.4.1.ebuild 
b/x11-misc/dunst/dunst-1.4.1.ebuild
new file mode 100644
index 00000000000..b4cd7451bb5
--- /dev/null
+++ b/x11-misc/dunst/dunst-1.4.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Customizable and lightweight notification-daemon"
+HOMEPAGE="http://www.knopwob.org/dunst/ https://github.com/dunst-project/dunst";
+SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="dunstify"
+
+CDEPEND="
+       dev-libs/glib:2
+       sys-apps/dbus
+       x11-libs/cairo[X,glib]
+       x11-libs/gdk-pixbuf
+       x11-libs/libX11
+       x11-libs/libXScrnSaver
+       x11-libs/libXinerama
+       x11-libs/libXrandr
+       x11-libs/pango[X]
+       dunstify? ( x11-libs/libnotify )
+"
+DEPEND="
+       ${CDEPEND}
+       dev-lang/perl
+       virtual/pkgconfig
+"
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+       sed -i -e "/^CFLAGS/ { s:-g::;s:-O.:: }" config.mk || die
+
+       default
+}
+
+src_compile() {
+       tc-export CC
+       emake
+       use dunstify && emake dunstify
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX="/usr" install
+
+       use dunstify && dobin dunstify
+
+       dodoc AUTHORS CHANGELOG.md README.md RELEASE_NOTES
+}

Reply via email to