summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-11-24 14:18:27 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-11-24 14:18:43 +0300
commit59f59986570bbbf75c9c412e487aa5b2681da714 (patch)
treee8a9436f7bcbd226e349c6e55f0a9a9e2b3197c2 /xfce-extra/xfce4-screensaver
parentdev-perl/namespace-autoclean: stable 0.280.0 for ppc64, bug #671730 (diff)
downloadgentoo-59f59986570bbbf75c9c412e487aa5b2681da714.tar.gz
gentoo-59f59986570bbbf75c9c412e487aa5b2681da714.tar.bz2
gentoo-59f59986570bbbf75c9c412e487aa5b2681da714.zip
xfce-extra/xfce4-screensaver: Version bump (v0.1.3)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'xfce-extra/xfce4-screensaver')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest1
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.3.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index fb0c24e96f95..5e4342fcc591 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1 +1,2 @@
DIST xfce4-screensaver-0.1.2.tar.bz2 598959 BLAKE2B 63ea3e6268cbd49ba72e43fb37c947c63fb0051ca62da9369806988ed1624ac20e8ece76b3ea2849d6e0b0049c0c10775285f1fd9b11c4856d7d842ce9c7ffc1 SHA512 9460ae8a3dec27df5e67bb078f8f52fb298769e572ae75c7a6ae4f0f5f7b93e430e505f99dce4caea0c6c885f9087270700e294150cdcfeadce5046049e44f6f
+DIST xfce4-screensaver-0.1.3.tar.bz2 607080 BLAKE2B c7bdfd5d20feffbae3b682585ea91344c4fea6885c3d7d8b38712132a0cd46710367bcf827b2ded5207a6e589888de12806c2e1ec5b1ef1dceb8fa76955d047f SHA512 749af5968937058618e4670904881e1bd4bee0b94c97629f07a7a8f00f38af25ad75ffc8a2590c70f7dbc597d60dab91700cbd2b6b47aae3458580e9de4107c5
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.3.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.3.ebuild
new file mode 100644
index 000000000000..8340110b2f9d
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 +locking opengl pam systemd"
+
+# Xrandr: optional but automagic
+RDEPEND="
+ dev-libs/dbus-glib
+ >=dev-libs/glib-2.50:2
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libICE:=
+ x11-libs/libX11:=
+ x11-libs/libXScrnSaver:=
+ x11-libs/libXext:=
+ x11-libs/libXxf86misc:=
+ x11-libs/libXxf86vm:=
+ >=x11-libs/libXrandr-1.3:=
+ >=x11-libs/libxklavier-5.2:=
+ x11-misc/xscreensaver
+ >=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 )
+ 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 systemd)
+ )
+
+ if use pam; then
+
+ myconf+=( --with-pam-auth-type=system )
+
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}