summaryrefslogtreecommitdiff
path: root/xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-18 00:10:51 +0100
commiteccb70a7f91b2d22582587f26d1a28bb31408b45 (patch)
tree3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild
parenta2810985afabcc31d3eace5e61d8ea25b852ba17 (diff)
gentoo resync : 18.05.2019
Diffstat (limited to 'xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild')
-rw-r--r--xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild65
1 files changed, 0 insertions, 65 deletions
diff --git a/xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild b/xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild
deleted file mode 100644
index abf5b49a3b4f..000000000000
--- a/xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit multilib xfconf
-
-DESCRIPTION="A panel plug-in for user switching (using lightdm or gdm or ldm)"
-HOMEPAGE="https://goodies.xfce.org/projects/panel-plugins/xfswitch-plugin"
-SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+gdm lightdm lxdm"
-
-REQUIRED_USE="
- gdm? (
- !lightdm
- !lxdm
- )
-
- lightdm? (
- !gdm
- !lxdm
- )
- lxdm? (
- !gdm
- !lightdm
- )
-"
-
-COMMON_DEPEND=">=x11-libs/gtk+-2.12:2
- >=xfce-base/libxfce4util-4.8
- >=xfce-base/libxfcegui4-4.8
- >=xfce-base/xfce4-panel-4.8"
-RDEPEND="${COMMON_DEPEND}
- gdm? ( gnome-base/gdm )
- lightdm? ( x11-misc/lightdm )
- lxdm? ( lxde-base/lxdm )"
-DEPEND="${COMMON_DEPEND}
- dev-util/intltool
- virtual/pkgconfig
- sys-devel/gettext"
-
-pkg_setup() {
- XFCONF=(
- --libexecdir="${EPREFIX}"/usr/$(get_libdir)
- )
-
- DOCS=( AUTHORS ChangeLog NEWS README )
-}
-
-src_prepare() {
- if use lightdm; then #411921, 526598
- sed -i \
- -e '/command/s:gdmflexiserver --new:/usr/bin/dm-tool switch-to-greeter:' \
- panel-plugin/main.c || die
- elif use lxdm; then
- sed -i \
- -e '/command/s:gdmflexiserver --new:/usr/sbin/lxdm -c USER_SWITCH:' \
- panel-plugin/main.c || die
- fi
-
- xfconf_src_prepare
-}