summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-23 16:03:10 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-23 16:11:48 +0100
commit1a6f9bb3b484c3fea4651d186c585b35193802d2 (patch)
tree7d736d51024d0ef1310145bc2e97fa88f6715c83 /xfce-extra
parentdev-util/dialog: Version 1.3.20200228 (diff)
downloadgentoo-1a6f9bb3b484c3fea4651d186c585b35193802d2.tar.gz
gentoo-1a6f9bb3b484c3fea4651d186c585b35193802d2.tar.bz2
gentoo-1a6f9bb3b484c3fea4651d186c585b35193802d2.zip
xfce-extra/xfce4-screensaver: Bump to 0.1.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest1
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.9.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 08a9299adea9..896c45956a17 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1 +1,2 @@
DIST xfce4-screensaver-0.1.8.tar.bz2 593968 BLAKE2B 693fe6e057bc1f5f1abff67c8a0a99244d5c270ab9c9afd7945f21b6eeb2bea027448d1485dea9a9f912b5f231211878a92a882bac56f28696557e44215ce283 SHA512 4cb76272f2f94f5e265a86d3fa58de8da6167da013466a4dd2a08a2e94fafe14816ce6c5a1e635a8c07e91497ede0650c014d21b0bbac666b8a72bc5f4645f69
+DIST xfce4-screensaver-0.1.9.tar.bz2 665025 BLAKE2B 290fc9cc81a19971cebd2876c767c04f1e010ed4282c9ccae8d2f615230f8fdb65fffbfb0ec7526cd5e23c7e1450565e6d23c108d23e6f2fd29c94ee4d6fc873 SHA512 ff2a967ebb62a5290405e1070ea064dba18e4a4062c2b2d990a23f44a6f730e0c56a98eac5ba86a166e5a8f67388333b0be695e2e59318abd76e8b6c3765d8eb
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.9.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.9.ebuild
new file mode 100644
index 000000000000..22482ef51e2e
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.9.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~ppc ~ppc64 ~x86"
+IUSE="consolekit 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:=
+ consolekit? ( sys-auth/consolekit )
+ elogind? ( sys-auth/elogind )
+ locking? (
+ pam? ( sys-libs/pam )
+ )
+ opengl? ( virtual/opengl )
+ systemd? ( sys-apps/systemd:= )
+"
+DEPEND="${RDEPEND}
+ 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
+
+ $(use_with opengl libgl)
+ $(use_enable locking)
+ $(use_enable pam)
+ $(use_with consolekit console-kit)
+ $(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
+}