summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-screensaver
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-extra/xfce4-screensaver')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest2
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.0.ebuild92
2 files changed, 94 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 2805c5eeb9a8..6513fff92723 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1,4 +1,6 @@
DIST xfce4-screensaver-4.16.0-mem.patch 3265 BLAKE2B 38436c7c2047453109702fd54aee874dfb489819024e61899b807ea98686bdd491e578b65be89dfbd53ee89976bb215790df4fce6559f7ee4f5ff92b449374fe SHA512 dc9e289aa91ea4a5b65d2381bfabdbb48a6b07c67782afc53b003ffd2a07c0d225f4bb2ea48bcd478f14ab4c29a2521a0436085b40589e5a059e5561f7bcb42d
DIST xfce4-screensaver-4.16.0.tar.bz2 687978 BLAKE2B 1656027af61a50ab97fd3d5744f0ab5f1a81353c64a2fd935a6113dbe2fce5c4b2a22c5f81f15d06d09c3b292f82afa95ce34a07facb5fffef7e6fef712cae63 SHA512 5fa0381395b48fdfb5bdd9b4cafe1ec625d0b7fb9600d59c22c42fe0248fb4b99dd18a94045df3ecdc77635f7271676329c658f25003a9d8d6f9a9a66739dbe9
+DIST xfce4-screensaver-4.18.0.tar.bz2 705730 BLAKE2B 190ef60167abe41021e2140ca9efcb8a2021c6e5f18f2ffb81aae1e8e9efee5a2b4da968f96d135ac74255281f8079c5705ac2fbf2d535f0bc14d56562b9a1cc SHA512 06d32c81411d41f96d5fd822e31fb8f256193114b7e60472a32ecb5f369c14780dfcd316c1698904c46c90713e25fd42b947357d3bf5edf65a25fc3a7cdaa45c
EBUILD xfce4-screensaver-4.16.0-r1.ebuild 2017 BLAKE2B f258aef5128dbd11337573db4eef446ed7948796a4a413720b4ae9c98110d0c7bfd43d61b5879ea6d217e7ec173bc81d3fbad6378542062e51ee21b264f48ece SHA512 f26cb108fe2cfbbe3e60d3312b366f0b5512235da6bb3812465f064d9c2e52256d14973596584e8a665feb2a93569581296d73571ac0271664d20303c72eac6b
+EBUILD xfce4-screensaver-4.18.0.ebuild 1855 BLAKE2B 6ba11628ab00dcdaf5d1dd8a4fb14967155b912e5ee65edd47596ded087f0c8faae8b67cc8506fc9f7caaa6bfd0ef7ab210a609948bbe748c28f4dab0589d351 SHA512 fc513f44796954bfe404e52be5b25e2a612783a9b2317f67c57824d623b479d025df13935bab699339dc8d1e837ca6f64d04da1b459a36bbd7bc64c526c0ce90
MISC metadata.xml 292 BLAKE2B cc7b9f7a72918097fc69b330b539d32dbae696c757c3a069bbc4514a8ff1f1931d2643ecaba63a28b7b58299fe1064c3425be00ae4c8f23d5413cef25ab738b3 SHA512 801d1715cbf897ea4ff01e49b7675b8522f07917b1e5908025c590fe18ae0d50463144f5d21ef7b33e9b3bac325f4cf96644c54eb62b8aacf7b512c612b10234
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.0.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.0.ebuild
new file mode 100644
index 000000000000..157de2196507
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.18.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2023 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:2
+ >=x11-libs/gtk+-3.22: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.12.1:=
+ >=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
+}