summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-03-22 11:37:07 +0100
committerMichał Górny <mgorny@gentoo.org>2019-03-22 11:37:07 +0100
commit153382e1f428138c2a4f895996d009768274969f (patch)
tree483722ba059315b260e1c271019b1456000912db /xfce-extra
parentpackage.mask: Last rite games-roguelike/rogue (diff)
downloadgentoo-153382e1f428138c2a4f895996d009768274969f.tar.gz
gentoo-153382e1f428138c2a4f895996d009768274969f.tar.bz2
gentoo-153382e1f428138c2a4f895996d009768274969f.zip
xfce-extra/xfce4-screensaver: Bump to 0.1.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-screensaver/Manifest1
-rw-r--r--xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.4.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-screensaver/Manifest b/xfce-extra/xfce4-screensaver/Manifest
index 5e4342fcc59..6fc072430fc 100644
--- a/xfce-extra/xfce4-screensaver/Manifest
+++ b/xfce-extra/xfce4-screensaver/Manifest
@@ -1,2 +1,3 @@
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
+DIST xfce4-screensaver-0.1.4.tar.bz2 617922 BLAKE2B c5cdf360cb1a9c38583a52bcb2d2735d2513c26aaebf23b4be4300266b72d780a3a0d8981c14f9753592eb1f63088f3fd8fd234efb6a595cb49262adaf54aca7 SHA512 5f074eb3c34ba731d0c135c657043ee687809146be512943f0f2892e1d06806400a5ecb1278dcb47da39ded47ddd4f9020cefc917ebb502962e16e56ee3a9b6d
diff --git a/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.4.ebuild b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.4.ebuild
new file mode 100644
index 00000000000..6df580273b1
--- /dev/null
+++ b/xfce-extra/xfce4-screensaver/xfce4-screensaver-0.1.4.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2019 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
+}