diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /xfce-extra/xfswitch-plugin |
reinit the tree, so we can have metadata
Diffstat (limited to 'xfce-extra/xfswitch-plugin')
-rw-r--r-- | xfce-extra/xfswitch-plugin/Manifest | 5 | ||||
-rw-r--r-- | xfce-extra/xfswitch-plugin/metadata.xml | 13 | ||||
-rw-r--r-- | xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild | 65 |
3 files changed, 83 insertions, 0 deletions
diff --git a/xfce-extra/xfswitch-plugin/Manifest b/xfce-extra/xfswitch-plugin/Manifest new file mode 100644 index 000000000000..1a23711a017c --- /dev/null +++ b/xfce-extra/xfswitch-plugin/Manifest @@ -0,0 +1,5 @@ +DIST xfswitch-plugin-0.0.1.tar.gz 314589 SHA256 44fede57f181b507277ae406a6e56f215bb4ba29b60442e6ccd166e7df98a738 SHA512 58b427d5d099f9e351911cb30707a6024e10ae90f7c978aafba5824f76f5ecdc615979e7a060146ca6cab85f69f8dc10e553884e37737c4f674dfdd3d1fa634e WHIRLPOOL eb485695620f3b6be4485da9a7eb560fbb44188457ca92a92b1ae98cf6c3d1725db0ff06da1f79ba9e607f6d9bf143690e73cc3803d0ba1a710fed83058c785c +EBUILD xfswitch-plugin-0.0.1-r2.ebuild 1318 SHA256 4e5393eecff1415be81527ac71ba69fe09f6e6815ee2a150ea5e3b1b2c808cdc SHA512 b4f5f04347762846d943769b5c2c113d01a3b8eca5661224a672d5e6328579928c3724466d27484eb24dc3783948a679141691baa330d66e8b06fb195dfc9621 WHIRLPOOL 41ee9fc09745f20cf9bb48f48b4be732f1439114ba9c415d920eff61fa7d88114aad70577457b087e3a53fa847cf2d7e92d0a181e978a367153ae21853fd707e +MISC ChangeLog 2848 SHA256 80454ecdf6ca75ac6b6368f8ffb48d420e0b5e097f80da7529c74e08ab6c2ad0 SHA512 968542a534272be16303639e22173b7d32c9bf67cd713aec9a176460d38cf5606943e430da8ad9943a77f13bf6441a721dd6663a7f2db87e30d861e9db1e06bc WHIRLPOOL 84ac88011c4183bde64bfe8910daa4139bcf0b7b6a646068892cdb57e30d6cfa884652d27e6a21522e867edd618a9c626e0892238d97baaca4f2d54e3e3289e5 +MISC ChangeLog-2015 1880 SHA256 5817270e0273f78ea36567d3bb989f439a658771a6e601c144a3e7941b062a65 SHA512 83de3c313f19eaf852122c2bd8764d7028482177fefd10b76bea680dcd9f555321b14a57bfe26dedf151852cd0a6cab6482da56c84381b51bac0b2b3e37528bb WHIRLPOOL a0892359c39335a10d63d23c28b37eef6535bb0645d02d7086b44e96002e0cdb99330e841d9593e803a8f2ecc378d8e3638ec428bbdf7258eff31780a6aa60ff +MISC metadata.xml 505 SHA256 c58515fa0ad7dd91a94fbdf1f825bbfc90536984a059b4e10e24fd1566c3f116 SHA512 44c5a790a69ac0978d234ecb7916e6ce80f08ca805caf2409989d769cadd80e301dee2b7db1a8f653f5ba03dc3dc0227e22816d410360fb619453fcf3a617f01 WHIRLPOOL 881dd2509a305a99fc58f08f268739b093841fe5ab2c34b550ee657f0ef724d0db23e7a6d9866259141ce6eb6a4c9b4f3f57bf5b36402336f809bdeecdac502b diff --git a/xfce-extra/xfswitch-plugin/metadata.xml b/xfce-extra/xfswitch-plugin/metadata.xml new file mode 100644 index 000000000000..bf60f51918b3 --- /dev/null +++ b/xfce-extra/xfswitch-plugin/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>xfce@gentoo.org</email> + <name>XFCE Team</name> + </maintainer> + <use> + <flag name="gdm">Compatibility with <pkg>gnome-base/gdm</pkg> only</flag> + <flag name="lightdm">Compatibility with <pkg>x11-misc/lightdm</pkg> only</flag> + <flag name="lxdm">Compatibility with <pkg>lxde-base/lxdm</pkg> only</flag> + </use> +</pkgmetadata> 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 new file mode 100644 index 000000000000..9d15a9bb1299 --- /dev/null +++ b/xfce-extra/xfswitch-plugin/xfswitch-plugin-0.0.1-r2.ebuild @@ -0,0 +1,65 @@ +# 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="mirror://xfce/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 +} |