summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-03 15:33:43 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-03 15:35:55 +0100
commite6a43c89bb209739ef57d4af453c1ce1fd5ee6f8 (patch)
tree8edb429fda2c0aeedc47cf5d527c02315abe13f5 /xfce-extra/xfce4-screensaver
parentsys-devel/binutils: expliictly disable debuginfod (diff)
downloadgentoo-e6a43c89bb209739ef57d4af453c1ce1fd5ee6f8.tar.gz
gentoo-e6a43c89bb209739ef57d4af453c1ce1fd5ee6f8.tar.bz2
gentoo-e6a43c89bb209739ef57d4af453c1ce1fd5ee6f8.zip
xfce-extra/xfce4-screensaver: Bump to 4.16.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-screensaver')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest1
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild84
2 files changed, 85 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 0b2469d7c816..1727d6742d4c 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1 +1,2 @@
DIST xfce4-screensaver-0.1.11.tar.bz2 699642 BLAKE2B 5fbb5b5c923e82070e429fcf65c8c5b5b9b0d78cba9fd128c84490a6a0927a0620b41af7ffb7356cd13ccfe48f2e1841f90e980c4bfbd15fa8f50e0f1fed7e75 SHA512 f692e31cba00d65887b90857eb4c1075000859f85db7dac7f421cc0d9812c6e8d517fcdfcac7546a6818375f9a7222a2afb80ae7076e62953bc8dcc7af9be174
+DIST xfce4-screensaver-4.16.0.tar.bz2 687978 BLAKE2B 1656027af61a50ab97fd3d5744f0ab5f1a81353c64a2fd935a6113dbe2fce5c4b2a22c5f81f15d06d09c3b292f82afa95ce34a07facb5fffef7e6fef712cae63 SHA512 5fa0381395b48fdfb5bdd9b4cafe1ec625d0b7fb9600d59c22c42fe0248fb4b99dd18a94045df3ecdc77635f7271676329c658f25003a9d8d6f9a9a66739dbe9
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild
new file mode 100644
index 000000000000..c270a584cc3c
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-4.16.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg-utils
+
+DESCRIPTION="Screen saver and locker (port of MATE screensaver)"
+HOMEPAGE="https://git.xfce.org/apps/xfce4-screensaver/about/"
+SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+ LGPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="elogind +locking opengl pam systemd"
+
+# Xrandr: optional but automagic
+RDEPEND="
+ >=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:= )
+"
+DEPEND="${RDEPEND}"
+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
+}