Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dunst/
Date: Sun, 05 Dec 2021 21:45:57
Message-Id: 1638740706.89ebbae57a2fba815be98d30caabc598c6966e38.conikost@gentoo
1 commit: 89ebbae57a2fba815be98d30caabc598c6966e38
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 19:52:03 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 21:45:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89ebbae5
7
8 x11-misc/dunst: add 1.7.2
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 x11-misc/dunst/Manifest | 1 +
13 x11-misc/dunst/dunst-1.7.2.ebuild | 78 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 79 insertions(+)
15
16 diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest
17 index c17bfc8f0b6a..2c8f865f3938 100644
18 --- a/x11-misc/dunst/Manifest
19 +++ b/x11-misc/dunst/Manifest
20 @@ -1,2 +1,3 @@
21 DIST dunst-1.6.1.tar.gz 217267 BLAKE2B 267e5be6a079097fb5a677bd2451b0e5bcbcddadf4c4de9af87d4eab7dd90b61908f140db3f1238b6a79d370fc3bb89c062c6b4deeefae6c9c0069b55017e907 SHA512 079ffd0ff75f1865b68cb8db261849cbe4f68b5c632c39ef8f7a3d193ff3eba3734bca31cb7268f27c9a411aec56e4c484c383b419bc0b4755b7d80ede84cd96
22 DIST dunst-1.7.1.tar.gz 4585838 BLAKE2B 3bc11b4d5e6826ca03b70aa4a2cca38e2d54170cf53e8912d55129ce23eb3bacf618f8242a6be5ddcb35d7d26d6e327b9210492af2898041eae7cdec9acd9f16 SHA512 5e3e0af3cff79b371e38ddf836b53ae65e2ff32d709f7bf29c29445071e98c786d430105aa61b5a80f9c709daa07f02389f141edfd4a3dcfa53b2c667782c9a9
23 +DIST dunst-1.7.2.tar.gz 4595479 BLAKE2B b2e6c5a47ebc658160619c1fdfa2b4bf749a510d02f0552be842e24e8eff158e509dffc7df6b8e656545f4eaa7adb852b8e4d0d7d8a0a48435f734a1ee20cfc8 SHA512 1fc5837da2ff343d9badf2af2f91e32d79b91d3376b6cbe53ed9d73a248dc6dd7752a19523743b464121af329c81e69b02b03e3c5e0daa9e20afe6eb901f65dc
24
25 diff --git a/x11-misc/dunst/dunst-1.7.2.ebuild b/x11-misc/dunst/dunst-1.7.2.ebuild
26 new file mode 100644
27 index 000000000000..8eaab62529e9
28 --- /dev/null
29 +++ b/x11-misc/dunst/dunst-1.7.2.ebuild
30 @@ -0,0 +1,78 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit systemd toolchain-funcs
37 +
38 +DESCRIPTION="Lightweight replacement for common notification daemons"
39 +HOMEPAGE="https://dunst-project.org/ https://github.com/dunst-project/dunst"
40 +SRC_URI="https://github.com/dunst-project/dunst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
45 +IUSE="wayland"
46 +
47 +DEPEND="
48 + dev-libs/glib:2
49 + sys-apps/dbus
50 + x11-libs/cairo[X,glib]
51 + x11-libs/gdk-pixbuf:2
52 + x11-libs/libX11
53 + x11-libs/libXext
54 + x11-libs/libXScrnSaver
55 + x11-libs/libXinerama
56 + x11-libs/libXrandr
57 + x11-libs/libnotify
58 + x11-libs/pango[X]
59 + x11-misc/xdg-utils
60 + wayland? ( dev-libs/wayland )
61 +"
62 +
63 +RDEPEND="${DEPEND}"
64 +
65 +BDEPEND="
66 + dev-lang/perl
67 + virtual/pkgconfig
68 + wayland? ( dev-libs/wayland-protocols )
69 +"
70 +
71 +src_prepare() {
72 + default
73 +
74 + # Respect users CFLAGS
75 + sed -e 's/-Os//' -i config.mk || die
76 +
77 + # Use correct path for dbus and system unit
78 + sed -e "s|##PREFIX##|${EPREFIX}/usr|" -i dunst.systemd.service.in || die
79 + sed -e "s|##PREFIX##|${EPREFIX}/usr|" -i org.knopwob.dunst.service.in || die
80 +}
81 +
82 +src_configure() {
83 + tc-export CC PKG_CONFIG
84 +
85 + default
86 +}
87 +
88 +src_compile() {
89 + local myemakeargs=(
90 + SYSTEMD="0"
91 + WAYLAND="$(usex wayland 1 0)"
92 + )
93 +
94 + emake "${myemakeargs[@]}"
95 +}
96 +
97 +src_install() {
98 + local myemakeargs=(
99 + PREFIX="${ED}/usr"
100 + SYSCONFDIR="${ED}/etc"
101 + SYSTEMD="0"
102 + WAYLAND="$(usex wayland 1 0)"
103 + )
104 +
105 + emake "${myemakeargs[@]}" install
106 +
107 + systemd_newuserunit dunst.systemd.service.in dunst.service
108 +}