summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-28 22:51:21 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-28 23:08:28 +0200
commit7822000d510274c67c1188dd252320ddd1d544bd (patch)
tree1ec4919df8f11b13ca454734f7987ce8d16dea9d /xfce-extra/xfce4-screensaver
parentxfce-extra/xfce4-screensaver: Drop old (diff)
downloadgentoo-7822000d510274c67c1188dd252320ddd1d544bd.tar.gz
gentoo-7822000d510274c67c1188dd252320ddd1d544bd.tar.bz2
gentoo-7822000d510274c67c1188dd252320ddd1d544bd.zip
xfce-extra/xfce4-screensaver: Bump to 0.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
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.7.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index ca9e287c416e..cb6c4535621b 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.7.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.7.ebuild
new file mode 100644
index 000000000000..8a1651b698e1
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.7.ebuild
@@ -0,0 +1,72 @@
+# 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/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
+}