summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-08-11 22:19:57 +0200
committerMichał Górny <mgorny@gentoo.org>2019-08-11 22:19:57 +0200
commit9b57bc5ea5152ce9065428c95bb9d0a4421f7e6b (patch)
tree96a35f0b255b8b5986d91052e549bbfd961ac9bf /xfce-base
parentxfce-base/exo: Bump to 0.12.8 (diff)
downloadgentoo-9b57bc5ea5152ce9065428c95bb9d0a4421f7e6b.tar.gz
gentoo-9b57bc5ea5152ce9065428c95bb9d0a4421f7e6b.tar.bz2
gentoo-9b57bc5ea5152ce9065428c95bb9d0a4421f7e6b.zip
xfce-base/xfce4-session: Bump to 4.14.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-base')
-rw-r--r--xfce-base/xfce4-session/Manifest1
-rw-r--r--xfce-base/xfce4-session/xfce4-session-4.14.0.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/xfce-base/xfce4-session/Manifest b/xfce-base/xfce4-session/Manifest
index e12456bfb31b..da0aa724d0a5 100644
--- a/xfce-base/xfce4-session/Manifest
+++ b/xfce-base/xfce4-session/Manifest
@@ -1,3 +1,4 @@
DIST xfce4-session-4.12.1.tar.bz2 1289284 BLAKE2B 00af274ac1160a413c9e2c8b308dfc84248f0078e8c294528614bb642988468f9dadaae906b4a8e2179d2beef0a48ebf5e2eedcb2ed3ad7ea73a8f7a9b90e224 SHA512 d7f37dbff59acb316965ab2224674ac3b5b7cfd7262acd4426b582001cee313945acb8883be21553dd6d7a046934bbbe116f451e6d5fd35b6fa5444da94605df
DIST xfce4-session-4.13.3.tar.bz2 835910 BLAKE2B cc20a9e1dfe240258881a411ad1db7ec395d0f19e7910a9b529a32b216e668751edb3ddf45bde0e0baf4690219038b8a206ec2dcc0d88ec32d404ff7b993bf65 SHA512 e6d0886ea0cd15e5cf39d0b2c54d445fd6225085f6a7a15d0690fb2ae76aae0f0348a305f3e3c9c7e1a9400307de61f48d07b7321e00e277f185cfacb2b14097
DIST xfce4-session-4.13.4.tar.bz2 837013 BLAKE2B e564d3efb3a77ca775ac11e778b774cbc2d3135a37f538699a9d2191859bad77c7b54f84d15200b6c94330854a963f17173943efbc69ab76427bbdb7bd9756ad SHA512 31615e07bc9baa405f2881fa97da8c26a24e9e30b5beaf674eb27b21dcde15cd0aad92ef99ace70e99e7fd85f31ac20a22d01aa0d59c75b71e95204a8edce1d2
+DIST xfce4-session-4.14.0.tar.bz2 826950 BLAKE2B 164fd9f61f03a61e705abf1f7ab82e81eccbd5269d28d66f6da7234ba073d38a1b38d1be0ddb5f3c055e829adf12673611a2b0ea0585f9fd1d2806b17cf0e761 SHA512 fba79ef9727d47514c5e4223376c49057b714f9be9bda6031a1220f4840abb257d31517252180c0af2e7cd6969bbc4e6f525b00cac594e1a3b80f09f3f2335cb
diff --git a/xfce-base/xfce4-session/xfce4-session-4.14.0.ebuild b/xfce-base/xfce4-session/xfce4-session-4.14.0.ebuild
new file mode 100644
index 000000000000..22153c6363d8
--- /dev/null
+++ b/xfce-base/xfce4-session/xfce4-session-4.14.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg-utils
+
+DESCRIPTION="A session manager for the Xfce desktop environment"
+HOMEPAGE="https://docs.xfce.org/xfce/xfce4-session/start"
+SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
+IUSE="elogind nls policykit systemd +xscreensaver"
+
+COMMON_DEPEND="x11-apps/iceauth
+ >=dev-libs/glib-2.42
+ >=x11-libs/gtk+-3.22: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/xlockmore-5.43
+ x11-misc/slock
+ x11-misc/alock[pam]
+ ) )"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+REQUIRED_USE="elogind? ( policykit )
+ 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[@]}"
+}
+
+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() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}