diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-05 14:59:01 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2018-11-05 14:59:01 +0300 |
commit | b0ab6e67faaf1275ced772aed18adb51f903aa76 (patch) | |
tree | cbd97e4dfc95b5009209490fbc836511ad6f01d2 /xfce-extra/xfce4-screensaver | |
parent | sys-kernel/git-sources: Linux patch 4.20-rc1 (diff) | |
download | gentoo-b0ab6e67faaf1275ced772aed18adb51f903aa76.tar.gz gentoo-b0ab6e67faaf1275ced772aed18adb51f903aa76.tar.bz2 gentoo-b0ab6e67faaf1275ced772aed18adb51f903aa76.zip |
xfce-extra/xfce4-screensaver: revision bump, fix pam type detection
Upstream bug: https://bugzilla.xfce.org/show_bug.cgi?id=14779
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/xfce4-screensaver-0.1.2-r1.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.2-r1.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.2-r1.ebuild new file mode 100644 index 000000000000..8340110b2f9d --- /dev/null +++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.2-r1.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 +} |