x11-misc/dunst: Version 1.4.1
authorJeroen Roovers <jer@gentoo.org>
Mon, 7 Oct 2019 03:49:50 +0000 (05:49 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 7 Oct 2019 03:51:17 +0000 (05:51 +0200)
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@gentoo.org>
x11-misc/dunst/Manifest
x11-misc/dunst/dunst-1.4.1.ebuild [new file with mode: 0644]

index 29ccea4b22ea64eacfedc815ff300653ec1a9a22..4c8d801be91b34e84f3041521c56c1dbcf707e65 100644 (file)
@@ -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 (file)
index 0000000..b4cd745
--- /dev/null
@@ -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
+}