public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/dunst/
Date: Sun, 12 Mar 2023 19:00:10 +0000 (UTC)	[thread overview]
Message-ID: <1678647596.d5d6b0f83cb205cd072fe505f2b02ac3a1cfb30e.conikost@gentoo> (raw)

commit:     d5d6b0f83cb205cd072fe505f2b02ac3a1cfb30e
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 12 18:49:51 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 18:59:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d6b0f8

x11-misc/dunst: add 1.9.1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 x11-misc/dunst/Manifest           |  1 +
 x11-misc/dunst/dunst-1.9.1.ebuild | 83 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest
index bcdd1211825f..23e1dc6ead9d 100644
--- a/x11-misc/dunst/Manifest
+++ b/x11-misc/dunst/Manifest
@@ -1 +1,2 @@
 DIST dunst-1.9.0.tar.gz 4609222 BLAKE2B 4879122e342c1e518bca079bacd4ae769fd7da41db681230613c61531e62df94223757372c428c06710afd843200dcb78883d352f4e25098f0672b5c89ab0d87 SHA512 e43c960561d1f804c1d8f73f9376b33f61bf1ba5c5d0579c9875ef96da6522e214d5b74166ca3375dff1b4b0291b611b2d9ac1fb41fa8722db04c21e898824d1
+DIST dunst-1.9.1.tar.gz 4614410 BLAKE2B f2d3b5ca28ac74461e31c09f7c5f8369dd6d05e8133d184625344b5445fac8e673cf5c57d44ea8bf0f3d320167663529ea49e8de0ed873afae327cb7db55d5ff SHA512 6045529196c2d8bd89d2976db9712bf15ec75923fdab414870e1ae2af2eb87afc2b5886cb707a19ea113ec746f90fde1e52631eec9b7a96f1af03acbe6445f32

diff --git a/x11-misc/dunst/dunst-1.9.1.ebuild b/x11-misc/dunst/dunst-1.9.1.ebuild
new file mode 100644
index 000000000000..2414b563605b
--- /dev/null
+++ b/x11-misc/dunst/dunst-1.9.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+DESCRIPTION="Lightweight replacement for common notification daemons"
+HOMEPAGE="https://dunst-project.org/ https://github.com/dunst-project/dunst"
+SRC_URI="https://github.com/dunst-project/dunst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="wayland"
+
+DEPEND="
+	dev-libs/glib:2
+	sys-apps/dbus
+	x11-libs/cairo[X,glib]
+	x11-libs/gdk-pixbuf:2
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXScrnSaver
+	x11-libs/libXinerama
+	x11-libs/libXrandr
+	x11-libs/libnotify
+	x11-libs/pango[X]
+	x11-misc/xdg-utils
+	wayland? ( dev-libs/wayland )
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="
+	dev-lang/perl
+	virtual/pkgconfig
+	wayland? ( dev-libs/wayland-protocols )
+"
+
+src_prepare() {
+	default
+
+	# Respect users CFLAGS
+	sed -e 's/-Os//' -i config.mk || die
+
+	# Use correct path for dbus and system unit
+	sed -e "s|##PREFIX##|${EPREFIX}/usr|" -i dunst.systemd.service.in || die
+	sed -e "s|##PREFIX##|${EPREFIX}/usr|" -i org.knopwob.dunst.service.in || die
+}
+
+src_configure() {
+	tc-export CC PKG_CONFIG
+
+	default
+}
+
+src_compile() {
+	local myemakeargs=(
+		SYSCONFDIR="${EPREFIX}/etc/xdg"
+		SYSTEMD="0"
+		WAYLAND="$(usex wayland 1 0)"
+	)
+
+	emake "${myemakeargs[@]}"
+}
+
+src_install() {
+	local myemakeargs=(
+		PREFIX="${ED}/usr"
+		SYSCONFDIR="${ED}/etc/xdg"
+		SYSTEMD="0"
+		WAYLAND="$(usex wayland 1 0)"
+	)
+
+	emake "${myemakeargs[@]}" install
+
+	insinto /usr/share/zsh/site-functions
+	newins contrib/_dunst.zshcomp _dunst
+	newins contrib/_dunstctl.zshcomp _dunstctl
+
+	systemd_newuserunit dunst.systemd.service.in dunst.service
+}


             reply	other threads:[~2023-03-12 19:00 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12 19:00 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:45 [gentoo-commits] repo/gentoo:master commit in: x11-misc/dunst/ Conrad Kostecki
2024-04-17 14:13 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2023-05-22 21:35 Conrad Kostecki
2023-05-22 21:35 Conrad Kostecki
2023-04-22  0:11 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-03-12 19:00 Conrad Kostecki
2022-07-29 19:06 Conrad Kostecki
2022-07-29 19:06 Conrad Kostecki
2022-07-29 19:06 Conrad Kostecki
2022-06-28 20:21 Conrad Kostecki
2022-04-01 22:55 Conrad Kostecki
2022-04-01 22:55 Conrad Kostecki
2022-04-01 22:55 Conrad Kostecki
2022-03-02 20:29 Conrad Kostecki
2022-03-02 20:29 Conrad Kostecki
2022-02-28  0:03 Conrad Kostecki
2022-02-25 11:34 Conrad Kostecki
2022-01-20 22:58 Conrad Kostecki
2022-01-20 22:58 Conrad Kostecki
2021-12-11  0:08 Conrad Kostecki
2021-12-11  0:08 Conrad Kostecki
2021-12-05 21:45 Conrad Kostecki
2021-12-05 21:45 Conrad Kostecki
2021-11-24 22:31 Conrad Kostecki
2021-11-24  8:05 Arthur Zamarin
2021-11-22 18:50 Arthur Zamarin
2021-11-22 18:50 Arthur Zamarin
2021-11-22  5:57 Yixun Lan
2021-11-21 14:41 Conrad Kostecki
2021-11-21 14:41 Conrad Kostecki
2021-11-21 14:41 Conrad Kostecki
2021-11-21 14:41 Conrad Kostecki
2021-07-16  9:51 Joonas Niilola
2021-07-16  9:51 Joonas Niilola
2021-05-14  0:38 Sam James
2021-05-14  0:38 Sam James
2021-04-29 11:43 Joonas Niilola
2021-04-29 11:43 Joonas Niilola
2021-04-29 11:43 Joonas Niilola
2021-03-04 17:42 Joonas Niilola
2020-09-05 10:49 Jeroen Roovers
2020-09-04  8:12 Jeroen Roovers
2020-01-23 10:25 Jeroen Roovers
2020-01-23 10:25 Jeroen Roovers
2020-01-23 10:25 Jeroen Roovers
2019-10-28 10:41 Jeroen Roovers
2019-10-07  3:51 Jeroen Roovers
2018-07-09 16:21 Johannes Huber
2018-07-09 15:14 Mikle Kolyada
2018-06-26 12:30 Johannes Huber
2018-05-23 18:38 Johannes Huber
2018-05-23 18:38 Johannes Huber
2018-05-23 18:38 Johannes Huber
2018-05-23 18:38 Johannes Huber
2017-09-09 12:32 Jeroen Roovers
2017-09-09 12:30 Jeroen Roovers
2017-08-24 20:36 Jeroen Roovers
2017-07-26 20:01 Markus Meier
2017-07-25  4:46 Jeroen Roovers
2017-07-25  4:46 Jeroen Roovers
2016-09-24 10:30 Jeroen Roovers
2016-08-07  6:52 Pacho Ramos
2016-06-06 13:33 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1678647596.d5d6b0f83cb205cd072fe505f2b02ac3a1cfb30e.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox