xfce-base/xfce4-session: Bump to 4.13.0
authorMichał Górny <mgorny@gentoo.org>
Sun, 16 Apr 2017 22:14:18 +0000 (00:14 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 16 Apr 2017 22:25:37 +0000 (00:25 +0200)
xfce-base/xfce4-session/Manifest
xfce-base/xfce4-session/xfce4-session-4.13.0.ebuild [new file with mode: 0644]

index 6a44409b742a37f7df846637cac1953a7dca3961..4e31b2aedbffe8dfe856745f5dbd62026b8c46d5 100644 (file)
@@ -1 +1,2 @@
 DIST xfce4-session-4.12.1.tar.bz2 1289284 SHA256 97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd SHA512 d7f37dbff59acb316965ab2224674ac3b5b7cfd7262acd4426b582001cee313945acb8883be21553dd6d7a046934bbbe116f451e6d5fd35b6fa5444da94605df WHIRLPOOL 6cf4e58782ee0cfb01ada620e58b71de5f235d2d1bcce625185e3c465dc8c356403956b88ac265f00bbf71cfbff72a2ad7e2ec3c711b4a5871b1d21d83bee56f
+DIST xfce4-session-4.13.0.tar.bz2 1314715 SHA256 3e02b124c6a282d9b1af0b30696d5256b1c2e56618992b49062314ed3ea5d3a1 SHA512 61f9a547b03eb109a1a0fc83feaac743ea2119360f2f7208e589feb3e8f1db016ffe85cf1c8e20633ec399f263dcbccd35c431bde6f6f1482658688096da5cb0 WHIRLPOOL d0404d17e755d2cf7aab8ac9523e73767574ccc19101b03dca4bd4fbcc7db40960429d4995d8dccf10621d62a9cb6f1519989c88af075abb0e358012341d93f7
diff --git a/xfce-base/xfce4-session/xfce4-session-4.13.0.ebuild b/xfce-base/xfce4-session/xfce4-session-4.13.0.ebuild
new file mode 100644 (file)
index 0000000..f9f9a00
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A session manager for the Xfce desktop environment"
+HOMEPAGE="http://docs.xfce.org/xfce/xfce4-session/start"
+SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="nls policykit systemd +xscreensaver"
+
+COMMON_DEPEND="x11-apps/iceauth
+       x11-libs/gtk+:3=
+       x11-libs/libSM:=
+       x11-libs/libwnck:3=
+       x11-libs/libX11:=
+       >=xfce-base/libxfce4util-4.12:=
+       >=xfce-base/libxfce4ui-4.12.1:=[gtk3(+)]
+       >=xfce-base/xfconf-4.12:=
+       policykit? ( >=sys-auth/polkit-0.102:= )"
+RDEPEND="${COMMON_DEPEND}
+       x11-apps/xrdb
+       nls? ( x11-misc/xdg-user-dirs )
+       xscreensaver? ( || (
+               >=x11-misc/xscreensaver-5.26
+               x11-misc/light-locker
+               >=x11-misc/xlockmore-5.43
+               x11-misc/slock
+               x11-misc/alock[pam]
+       ) )"
+DEPEND="${COMMON_DEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig"
+
+REQUIRED_USE="systemd? ( policykit )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-4.10.1-alock_support_to_xflock4.patch
+# TODO: this patch needs updating for the new version, and finding
+# upstream bug.
+#      "${FILESDIR}"/${PN}-4.12.1-light-locker_support_to_xflock4.patch
+)
+
+src_configure() {
+       local myconf=(
+               $(use_enable policykit polkit)
+               --with-xsession-prefix="${EPREFIX}"/usr
+       )
+
+       econf "${myconf[@]}"
+
+#      DOCS=( AUTHORS BUGS ChangeLog NEWS README TODO )
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+
+       local sessiondir=/etc/X11/Sessions
+       echo startxfce4 > "${T}"/Xfce4 || die
+       exeinto ${sessiondir}
+       doexe "${T}"/Xfce4
+       dosym Xfce4 ${sessiondir}/Xfce
+}
+
+pkg_postinst() {
+       GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       GNOME2_ECLASS_ICONS="usr/share/icons/hicolor" \
+       gnome2_icon_cache_update
+}