diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-04-17 13:53:22 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-04-17 16:11:28 +0200 |
commit | d0bcdebaaff4e7893ff4e211aea6d0475b2ff30e (patch) | |
tree | 6810ca161ecfadab9f2faadbbfd15696b1edf3df /x11-misc/dunst | |
parent | sys-auth/AusweisApp: add 2.1.1 (diff) | |
download | gentoo-d0bcdebaaff4e7893ff4e211aea6d0475b2ff30e.tar.gz gentoo-d0bcdebaaff4e7893ff4e211aea6d0475b2ff30e.tar.bz2 gentoo-d0bcdebaaff4e7893ff4e211aea6d0475b2ff30e.zip |
x11-misc/dunst: add 1.11.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'x11-misc/dunst')
-rw-r--r-- | x11-misc/dunst/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/dunst/dunst-1.11.0.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/x11-misc/dunst/Manifest b/x11-misc/dunst/Manifest index 065151b5b4bc..119ef44c3b9d 100644 --- a/x11-misc/dunst/Manifest +++ b/x11-misc/dunst/Manifest @@ -1 +1,2 @@ DIST dunst-1.10.0.tar.gz 4639084 BLAKE2B 29056b55aa53e20d4d9f0be5ff560aaad3829a933f30fd6a6f17f5e6adb9f4ca3b659dc977959f69224a2847a116043215e05097e9eaae4556ec02c1852c4a05 SHA512 e7e453c9470a063cdee4602315b22c1c8bcbf1405d3c295bccf01ae4e1b535e11b7323313b63cfc510e38ea8243117d550e6057df15924bbd4efb7e0b7f9a709 +DIST dunst-1.11.0.tar.gz 4645279 BLAKE2B 0daa8d098f032a0e3b16872bc2e33c8411e8eed543fc13533e649935d2d0796ad74b3fb27769f839972b335b7a2f7ae6b5efd9f324a8bb807ac2f82fa8611a5d SHA512 84c9edccddd183fb867233cb5377115d96735f4c1be84007194ac39dd48d913e5bb021d2952057aecdb978564c2471a8974c4ee4eeccfb188e5345527007a5c4 diff --git a/x11-misc/dunst/dunst-1.11.0.ebuild b/x11-misc/dunst/dunst-1.11.0.ebuild new file mode 100644 index 000000000000..a8f132ef8e64 --- /dev/null +++ b/x11-misc/dunst/dunst-1.11.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 +} |