summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-01 08:56:14 +0100
committerMichał Górny <mgorny@gentoo.org>2018-11-01 09:48:14 +0100
commitae126ffc1f28feb902330240b9d18a8abd65be91 (patch)
tree04f7eb91fd7826aba4d02b4d79ac03cddf2e04f8 /xfce-extra/xfce4-screensaver
parentdev-cpp/libjson-rpc-cpp: Bump to 1.1.1 (diff)
downloadgentoo-ae126ffc1f28feb902330240b9d18a8abd65be91.tar.gz
gentoo-ae126ffc1f28feb902330240b9d18a8abd65be91.tar.bz2
gentoo-ae126ffc1f28feb902330240b9d18a8abd65be91.zip
xfce-extra/xfce4-screensaver: Bump to 0.1.1
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.1.ebuild69
2 files changed, 70 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 38d6b8530ee4..72cf75417cc2 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1 +1,2 @@
DIST xfce4-screensaver-0.1.0.tar.bz2 525080 BLAKE2B be1b4add2f72cf7d93bcb651852bb398c38e7d4637c03d90ea277dc3ea50147e8bca9a870b8b5fe2353fd71ad180684214cdeb0e18808f3ced234f9a03b2bf13 SHA512 a925deada7313e3d156d4b19fd38e50538e2ac429c657f9f29b727c4c20ccd83a07dafdc4fa14fca26bcc09961ee42700685097260473a5fdec8877114a8a048
+DIST xfce4-screensaver-0.1.1.tar.bz2 599282 BLAKE2B efa5addab9ed3ec92a71ee129ad36d5491107c5352999bcd42c2e147c914095c343ced7adfc9d814cb0fcd3b880efd3fa76e6f5171f62d2432639f9be6b857df SHA512 b494810dbad3ae23676d4a403a8b00da7d33f5fc0520c59cf6b612626e0b4d1f642c9ed47c24c7ea2c051d9a1077396dacb807d623852c599d1538d089833071
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.1.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.1.ebuild
new file mode 100644
index 000000000000..33e37d91f142
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+}