diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-04 16:51:25 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-04 17:26:17 +0100 |
commit | d59337eb53ca8b77898f6b12667b8f099eaa13ec (patch) | |
tree | f07cfd8d6da6b0cd11e4d08f5a3d539acf428cd1 /xfce-extra | |
parent | net-wireless/rtl_433: Fix etc installation (diff) | |
download | gentoo-d59337eb53ca8b77898f6b12667b8f099eaa13ec.tar.gz gentoo-d59337eb53ca8b77898f6b12667b8f099eaa13ec.tar.bz2 gentoo-d59337eb53ca8b77898f6b12667b8f099eaa13ec.zip |
xfce-extra/xfce4-screensaver: Bump to 4.18.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce4-screensaver/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.3.ebuild | 92 |
2 files changed, 93 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest index 589c9af263b3..43b884c484c7 100644 --- a/xfce-extra/xfce4-screensaver/Manifest +++ b/xfce-extra/xfce4-screensaver/Manifest @@ -1 +1,2 @@ DIST xfce4-screensaver-4.18.2.tar.bz2 714671 BLAKE2B b83e9c0a77672f7ed24d396c2802b77a57eab39d9b93d8df6364821fda426a2ff3b4ee8715d66920a319c9b838defc098e8dafa4cf85d66c92c0162b5ee40cbe SHA512 5ffeeabd1c8c425a6de8e70cddb6afb54a2e64d6df821655f564e118a9924da4fd21e2300515583fe97caa1c76aba3745801cccc377eb056eeecb98303b08df1 +DIST xfce4-screensaver-4.18.3.tar.bz2 722788 BLAKE2B ee3aafc2250209a20a69fefcd0581bc80fe8f4c5a71d394850efee90c0127ba20bce95e6aa1a411e2b619e2dff70d4d36bda35395c24bb985823141a1f9629dd SHA512 1be2227bf108ccbe48647feb64d532251c3e636fcc0163801f62759828c2549490b0fd13047f68fff3c10ee09033a526311db63629b889453aaf64797097e871 diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.3.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.3.ebuild new file mode 100644 index 000000000000..b00901bad5c3 --- /dev/null +++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.3.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils + +DESCRIPTION="Screen saver and locker (port of MATE screensaver)" +HOMEPAGE=" + https://docs.xfce.org/apps/screensaver/start + https://gitlab.xfce.org/apps/xfce4-screensaver/ +" +SRC_URI=" + https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2 +" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="elogind +locking opengl pam systemd" + +# Xrandr: optional but automagic +DEPEND=" + >=dev-libs/dbus-glib-0.30 + >=dev-libs/glib-2.50.0:2 + >=x11-libs/gtk+-3.24.0:3 + >=x11-libs/libwnck-3.20:3 + x11-libs/libICE:= + x11-libs/libX11:= + x11-libs/libXScrnSaver:= + x11-libs/libXext:= + x11-libs/libXxf86vm:= + >=x11-libs/libXrandr-1.3:= + >=x11-libs/libxklavier-5.2:= + >=xfce-base/garcon-0.5.0:= + >=xfce-base/libxfce4ui-4.18.4:= + >=xfce-base/libxfce4util-4.12.1:= + >=xfce-base/xfconf-4.12.1:= + elogind? ( sys-auth/elogind ) + locking? ( + pam? ( sys-libs/pam ) + ) + opengl? ( virtual/opengl ) + systemd? ( sys-apps/systemd:= ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-util/glib-utils + dev-util/intltool + sys-apps/dbus + virtual/pkgconfig +" + +src_configure() { + local myconf=( + # disable docbook for now + ac_cv_path_XMLTO=no + + # xscreensaver dirs autodetection doesn't seem to work + --with-xscreensaverdir=/usr/share/xscreensaver/config + --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver + --without-console-kit + + $(use_with opengl libgl) + $(use_enable locking) + $(use_enable pam) + $(use_with elogind) + $(use_with systemd) + ) + + if use pam; then + myconf+=( --with-pam-auth-type=system ) + fi + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} |