Postsync update gentoo

This commit is contained in:
2024-12-15 20:00:28 +01:00
parent 70cc2ab185
commit 03efcafcf0
6 changed files with 70 additions and 9 deletions
+1 -1
View File
@@ -1 +1 @@
DIST dunst-1.11.0.tar.gz 4645279 BLAKE2B 0daa8d098f032a0e3b16872bc2e33c8411e8eed543fc13533e649935d2d0796ad74b3fb27769f839972b335b7a2f7ae6b5efd9f324a8bb807ac2f82fa8611a5d SHA512 84c9edccddd183fb867233cb5377115d96735f4c1be84007194ac39dd48d913e5bb021d2952057aecdb978564c2471a8974c4ee4eeccfb188e5345527007a5c4
DIST dunst-1.12.0.tar.gz 4653739 BLAKE2B ee537ae10333e41d478f8707d88ff892fad8277038efa7c0180fcbea070ef256060aff8bf2d5c9ac9ebe13e69d3d31066007a8eaf2ca3e1c33f5c922abe22714 SHA512 c969d1bc669cd4b56ebb24ac5ad915aea2776746caf06a941630faff662ed08a05d4652946102428d66e5a89c9144e5d0bfcf7113f8fba3e7c28f0777b490052
@@ -12,17 +12,24 @@ SRC_URI="https://github.com/dunst-project/dunst/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86"
IUSE="wayland"
IUSE="+completions +dunstify wayland +X +xdg"
DEPEND="
dev-libs/glib:2
sys-apps/dbus
x11-libs/cairo[glib]
x11-libs/cairo[X?,glib]
x11-libs/gdk-pixbuf:2
x11-libs/libnotify
x11-libs/pango
x11-misc/xdg-utils
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}"
@@ -33,6 +40,8 @@ BDEPEND="
wayland? ( dev-libs/wayland-protocols )
"
REQUIRED_USE="|| ( wayland X )"
src_prepare() {
default
@@ -52,10 +61,11 @@ src_configure() {
src_compile() {
local myemakeargs=(
DUNSTIFY="$(usex dunstify 1 0)"
SYSCONFDIR="${EPREFIX}/etc/xdg"
SYSTEMD="0"
WAYLAND="$(usex wayland 1 0)"
X11=0
X11="$(usex X 1 0)"
)
emake "${myemakeargs[@]}"
@@ -63,14 +73,35 @@ src_compile() {
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=0
X11="$(usex X 1 0)"
)
emake "${myemakeargs[@]}" install
systemd_newuserunit dunst.systemd.service.in dunst.service
}
pkg_postinst() {
if [[ ${REPLACING_VERSIONS} ]]; then
for v in ${REPLACING_VERSIONS}; do
if ver_test "${v}" -ge 1.12.0; then
return
fi
done
fi
einfo "The behaviour of the setting 'height' has been changed in a breaking way."
einfo "The way of specifying a maximum height before was:"
einfo " height = 300"
einfo "The equivalent way now is:"
einfo " height = (0, 300)"
einfo "For more information read the official RELEASE_NOTES [1]."
einfo ""
einfo "[1] https://dunst-project.org/release/#v1.12.0"
}