summaryrefslogtreecommitdiff
path: root/x11-misc/dunst
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/dunst')
-rw-r--r--x11-misc/dunst/Manifest4
-rw-r--r--x11-misc/dunst/dunst-1.10.0.ebuild87
-rw-r--r--x11-misc/dunst/dunst-9999.ebuild15
3 files changed, 99 insertions, 7 deletions
diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest
index 7640a82ebe83..ca06c9de592f 100644
--- a/x11-misc/dunst/Manifest
+++ b/x11-misc/dunst/Manifest
@@ -1,6 +1,8 @@
+DIST dunst-1.10.0.tar.gz 4639084 BLAKE2B 29056b55aa53e20d4d9f0be5ff560aaad3829a933f30fd6a6f17f5e6adb9f4ca3b659dc977959f69224a2847a116043215e05097e9eaae4556ec02c1852c4a05 SHA512 e7e453c9470a063cdee4602315b22c1c8bcbf1405d3c295bccf01ae4e1b535e11b7323313b63cfc510e38ea8243117d550e6057df15924bbd4efb7e0b7f9a709
DIST dunst-1.9.1.tar.gz 4614410 BLAKE2B f2d3b5ca28ac74461e31c09f7c5f8369dd6d05e8133d184625344b5445fac8e673cf5c57d44ea8bf0f3d320167663529ea49e8de0ed873afae327cb7db55d5ff SHA512 6045529196c2d8bd89d2976db9712bf15ec75923fdab414870e1ae2af2eb87afc2b5886cb707a19ea113ec746f90fde1e52631eec9b7a96f1af03acbe6445f32
DIST dunst-1.9.2.tar.gz 4614703 BLAKE2B bcdb3f36dd9af546288c35ffc90f08b219b1b4d1d11233b09acfbe9e6287dcfd856200310d88115a6009485af5e9b0d4e2933bff9cade38969cea31b167c9b5b SHA512 fab14212dc41e8deed97320c18b88e0be576f0404406691dcedb9620a1382dfdfc501e4ff2005b1ce8b4a61b52f1a9cf161f20a1eae15aa2382f3fedc99a2dbc
+EBUILD dunst-1.10.0.ebuild 1931 BLAKE2B 17090fe07748d628ed3b58dc247aaab8daeae5ed66bda098fcd53312a7c093775ca6450cba834a37ca128c29c9690b90e6c8f2262ec3d38e193b77c3d81ebfd3 SHA512 46aa0fb19ab3d8f698fdf2c4941586f255e5256f799de6b8ce765d67c6505e5b15d0c38d4eab21b662649f0ff87e4e3279688eaa040e0f64d8ac6609a91c2ca9
EBUILD dunst-1.9.1.ebuild 1715 BLAKE2B 3b9208e105c31b2f70ce48198fbfe707291ccd29d89c049a91e9331fb0351186a4a59755f77dbe0d2b8b70063032fca7f2434855743a6f421875715d28fe5f46 SHA512 bf0fba1d98d126ea3fc287d6fbe702bbf9e20db1122fd7d40d86ecb0a0f04a558621d678995e90f199ea7b2864afdce4341ca2f937c5e856fe1574f74f953051
EBUILD dunst-1.9.2.ebuild 1715 BLAKE2B 3b9208e105c31b2f70ce48198fbfe707291ccd29d89c049a91e9331fb0351186a4a59755f77dbe0d2b8b70063032fca7f2434855743a6f421875715d28fe5f46 SHA512 bf0fba1d98d126ea3fc287d6fbe702bbf9e20db1122fd7d40d86ecb0a0f04a558621d678995e90f199ea7b2864afdce4341ca2f937c5e856fe1574f74f953051
-EBUILD dunst-9999.ebuild 1565 BLAKE2B 600eb84737690daa8ed7557251e6214331d031a1cf99ebbfa821c135d9064f47cfd2a47afb04feeb8dbb5512f7c062ab19358a76539cd22be35649a0c035b6ef SHA512 a89b6f5f134fd5564b936fdd514033e8a187a5ff2b833802b353f0c14f7596216408b3eb454a90d525ae1313e6ee3295394480ad781ea833d05d04c1aa7f8804
+EBUILD dunst-9999.ebuild 1795 BLAKE2B 8fdb494697a62b6765d7b99f4d627cff8516345e889876598a2f0e60d58b4bcaa71574e20ae3b9b42253a0c13c7c684685fd0233c1e87e847bb24b7b8787ad83 SHA512 bf310cc1673e81fe7b21e9a22d1ca1c8b3ac23c4db4e262e448d56a1daad1aed43045b5296b4b00bd5f049d940fed074ba5c0d90f59463fc023e98ff3f5db447
MISC metadata.xml 335 BLAKE2B a51f44edaf12235d9edf8f84d2df6d1a94ddd894075d708f0dfd4b3d289b0225797083cfe7c02a92688d23bb47daadcdd9751c6b740ca1cf0d69b9c1ab957b8e SHA512 7010391e438ab56478c3f2c0bd92afcbe9dcedb55ec89ee3af75c89365811af2b7f198bc64adae95de5fadd6603792d1d3fd60b46840d564a920c571d3c67e20
diff --git a/x11-misc/dunst/dunst-1.10.0.ebuild b/x11-misc/dunst/dunst-1.10.0.ebuild
new file mode 100644
index 000000000000..a8f132ef8e64
--- /dev/null
+++ b/x11-misc/dunst/dunst-1.10.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion 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
+
+ newbashcomp contrib/dunst.bashcomp dunst
+ newbashcomp contrib/dunstctl.bashcomp dunstctl
+ newfishcomp contrib/dunst.fishcomp dunst
+ newfishcomp contrib/dunstctl.fishcomp dunstctl
+ newfishcomp contrib/dunstify.fishcomp dunstify
+ newzshcomp contrib/_dunst.zshcomp _dunst
+ newzshcomp contrib/_dunstctl.zshcomp _dunstctl
+
+ systemd_newuserunit dunst.systemd.service.in dunst.service
+}
diff --git a/x11-misc/dunst/dunst-9999.ebuild b/x11-misc/dunst/dunst-9999.ebuild
index 20a5d5412e6f..f69ffaa99763 100644
--- a/x11-misc/dunst/dunst-9999.ebuild
+++ b/x11-misc/dunst/dunst-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit git-r3 systemd toolchain-funcs
+inherit git-r3 shell-completion systemd toolchain-funcs
EGIT_REPO_URI="https://github.com/dunst-project/dunst"
@@ -12,7 +12,6 @@ HOMEPAGE="https://dunst-project.org/ https://github.com/dunst-project/dunst"
LICENSE="BSD"
SLOT="0"
-KEYWORDS=""
IUSE="wayland"
DEPEND="
@@ -75,9 +74,13 @@ src_install() {
emake "${myemakeargs[@]}" install
- insinto /usr/share/zsh/site-functions
- newins contrib/_dunst.zshcomp _dunst
- newins contrib/_dunstctl.zshcomp _dunstctl
+ newbashcomp completions/dunst.bashcomp dunst
+ newbashcomp completions/dunstctl.bashcomp dunstctl
+ newfishcomp completions/dunst.fishcomp dunst
+ newfishcomp completions/dunstctl.fishcomp dunstctl
+ newfishcomp completions/dunstify.fishcomp dunstify
+ newzshcomp completions/_dunst.zshcomp _dunst
+ newzshcomp completions/_dunstctl.zshcomp _dunstctl
systemd_newuserunit dunst.systemd.service.in dunst.service
}