From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 071F9138334 for ; Mon, 5 Nov 2018 12:00:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10AB2E093E; Mon, 5 Nov 2018 12:00:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4827E093E for ; Mon, 5 Nov 2018 12:00:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 64B9A335C67 for ; Mon, 5 Nov 2018 12:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64F1443E for ; Mon, 5 Nov 2018 12:00:49 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1541419141.b0ab6e67faaf1275ced772aed18adb51f903aa76.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-screensaver/ X-VCS-Repository: repo/gentoo X-VCS-Files: xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.2-r1.ebuild X-VCS-Directories: xfce-extra/xfce4-screensaver/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: b0ab6e67faaf1275ced772aed18adb51f903aa76 X-VCS-Branch: master Date: Mon, 5 Nov 2018 12:00:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c7f7da70-1e1a-4dfd-8812-ac2520e29885 X-Archives-Hash: fd5a0a96a660892890f94cb2b09f4c62 commit: b0ab6e67faaf1275ced772aed18adb51f903aa76 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Nov 5 11:59:01 2018 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Mon Nov 5 11:59:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0ab6e67 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 gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../xfce4-screensaver-0.1.2-r1.ebuild | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) 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 00000000000..8340110b2f9 --- /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 +}