commit:     8901275d7a594d822c035da9926635419fd4e9b0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 19:06:51 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 19:13:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8901275d

xfce-extra/xfce4-screensaver: Bump to 0.1.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-screensaver/Manifest              |  1 +
 .../xfce4-screensaver-0.1.8.ebuild                 | 73 ++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/xfce-extra/xfce4-screensaver/Manifest 
b/xfce-extra/xfce4-screensaver/Manifest
index cb6c4535621..b166e114a7b 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1,3 +1,4 @@
 DIST xfce4-screensaver-0.1.4.tar.bz2 617922 BLAKE2B 
c5cdf360cb1a9c38583a52bcb2d2735d2513c26aaebf23b4be4300266b72d780a3a0d8981c14f9753592eb1f63088f3fd8fd234efb6a595cb49262adaf54aca7
 SHA512 
5f074eb3c34ba731d0c135c657043ee687809146be512943f0f2892e1d06806400a5ecb1278dcb47da39ded47ddd4f9020cefc917ebb502962e16e56ee3a9b6d
 DIST xfce4-screensaver-0.1.6.tar.bz2 601882 BLAKE2B 
cc351320f5b4e1d0c5f897fcf3067303c4c61cd71306eeb17df024a9b81e9dabb5b54d627654704a6b0e70b992aac9a760501691fe29e88a761ce0a639a06975
 SHA512 
b4bc1e6e57ed9c76795cc9655a10956d739ed8003a7eb1195da9dcd185af87409a2150ec8a37c2f58a27ad6c53719713e954914de47f2a8d6b7bf438b2d5e8a4
 DIST xfce4-screensaver-0.1.7.tar.bz2 607447 BLAKE2B 
e05987309fe71c2f9f424fc160b600eb569281223835916bd2446beed0406cdfbfa01aaf6a6de9a95b389064af84f9c738d52e663db9f465d60c2d62d8e8f0bc
 SHA512 
e46f06357f18d422716924c19aed6db79c4ae1029eacf079ae939964ac22ef609e907f2b898b6d14bf882cb3691a481ad6bd0eb49e85e272f05b445f28de071f
+DIST xfce4-screensaver-0.1.8.tar.bz2 593968 BLAKE2B 
693fe6e057bc1f5f1abff67c8a0a99244d5c270ab9c9afd7945f21b6eeb2bea027448d1485dea9a9f912b5f231211878a92a882bac56f28696557e44215ce283
 SHA512 
4cb76272f2f94f5e265a86d3fa58de8da6167da013466a4dd2a08a2e94fafe14816ce6c5a1e635a8c07e91497ede0650c014d21b0bbac666b8a72bc5f4645f69

diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.8.ebuild 
b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.8.ebuild
new file mode 100644
index 00000000000..552d861281c
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2019 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="~amd64 ~x86"
+IUSE="consolekit elogind +locking opengl pam systemd"
+
+# Xrandr: optional but automagic
+RDEPEND="
+       >=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? ( virtual/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
+}

Reply via email to