2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

x11-misc/dunst: drop 1.12.1, 1.12.1-r2

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2025-04-04 22:13:58 +02:00
parent 44a88e56a5
commit d6f75ffd7d
3 changed files with 0 additions and 179 deletions

View File

@@ -1,2 +1 @@
DIST dunst-1.12.1.tar.gz 4654978 BLAKE2B 61dfb8c3e56367cb2afed925f4ee66891ae8edd68837d6391889972aff46683eb5fe8fbf5951e30d6be9074aa648be480847e46cc36c2db6bb4024b42c02064c SHA512 0b4ef72bde6bd4b535f11b58d8bf463df3b9b06d5e2ff40e327eb25f13771eb52c7f7aa91590c6d1228ecb3bc2105510409b6984dd45b5e747c1141f3b79b46c
DIST dunst-1.12.2.tar.gz 4657260 BLAKE2B 1d102ea2dc1d50009c45dc8923a12572b14d4bf142916febd3d5f853ba5cd9e1a5b7ddbcf5cb55f02b0bbea919ce040b1f627eefceccccfa62b333667052daf6 SHA512 f4fabcc5e260cf2dbd16eecd29129df24125ff1444d724202b835415242ed92b9857d42b23ad1e03c6cadd98de7b7ebd5ce20a0e41162baf55b15a71cb90b768

View File

@@ -1,90 +0,0 @@
# Copyright 1999-2025 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|##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=(
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
}

View File

@@ -1,88 +0,0 @@
# Copyright 1999-2025 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|##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=(
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
systemd_newuserunit dunst.systemd.service.in dunst.service
}