commit: 9240f4cca285e8846615a2f8dcda4ed350088574 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Wed Jan 28 20:43:52 2026 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Wed Jan 28 20:43:52 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9240f4cc
x11-misc/dunst: add 1.13.1 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> x11-misc/dunst/Manifest | 1 + x11-misc/dunst/dunst-1.13.1.ebuild | 90 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest index 4e1fa29cf292..0dfbdfb70e3f 100644 --- a/x11-misc/dunst/Manifest +++ b/x11-misc/dunst/Manifest @@ -1 +1,2 @@ DIST dunst-1.13.0.tar.gz 4664717 BLAKE2B e8e593af830d1f3e168e8c3bdea7fd66a0cb612885d591de53b2281e6089636963eca8e8354ee620797d3992da47cff4a359ceeb6e39c336b7a4cc483b10900f SHA512 c869b1314bdfd4125bbf31102a271af12774242ff56eb2d2c0a2900fdb6b495ec0ff9adad111a32d4c52c342f510592cbaaa413b166bd3fe6cf820ae4ff16d01 +DIST dunst-1.13.1.tar.gz 4666210 BLAKE2B 229ef6e98225cad3df61400ea3d17ac17f1102a522b0d122319a30f9d849e6cc28958b468422e95aa517c296eaf985d8e1cf53c0beccc11cac85c30b7912d9f8 SHA512 3475fdf5cbe5ba73562e02746d2fbafc8b260ca3b8dae7b70774c17ba722fe53c844e3bc55e25d51905f1cb73ed22b4d35e2b41f511d428136b1a9ba6f9f2522 diff --git a/x11-misc/dunst/dunst-1.13.1.ebuild b/x11-misc/dunst/dunst-1.13.1.ebuild new file mode 100644 index 000000000000..64045eec0436 --- /dev/null +++ b/x11-misc/dunst/dunst-1.13.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2026 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="+completions +dunstify wayland +X +xdg" + +DEPEND=" + dev-libs/glib:2 + sys-apps/dbus + x11-libs/cairo[X?,glib] + x11-libs/gdk-pixbuf:2 + x11-libs/pango[X?] + dunstify? ( x11-libs/libnotify ) + wayland? ( dev-libs/wayland ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXScrnSaver + x11-libs/libXinerama + x11-libs/libXrandr + ) + xdg? ( x11-misc/xdg-utils ) +" + +RDEPEND="${DEPEND}" + +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + wayland? ( dev-libs/wayland-protocols ) +" + +REQUIRED_USE="|| ( wayland X )" + +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|@bindir@|${EPREFIX}/usr/bin|" -i dunst.systemd.service.in || die + sed -e "s|@bindir@|${EPREFIX}/usr/bin|" -i org.knopwob.dunst.service.in || die +} + +src_configure() { + tc-export CC PKG_CONFIG + + default +} + +src_compile() { + local myemakeargs=( + DUNSTIFY="$(usex dunstify 1 0)" + SYSCONFDIR="${EPREFIX}/etc/xdg" + SYSTEMD="0" + WAYLAND="$(usex wayland 1 0)" + X11="$(usex X 1 0)" + ) + + emake "${myemakeargs[@]}" +} + +src_install() { + local myemakeargs=( + COMPLETIONS="$(usex completions 1 0)" + DUNSTIFY="$(usex dunstify 1 0)" + PREFIX="${ED}/usr" + SYSCONFDIR="${ED}/etc/xdg" + SYSTEMD="0" + WAYLAND="$(usex wayland 1 0)" + X11="$(usex X 1 0)" + ) + + emake "${myemakeargs[@]}" install + + exeinto /etc/user/init.d + newexe "${FILESDIR}/dunst.initd" dunst + systemd_newuserunit dunst.systemd.service.in dunst.service +}
