# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Pentoo meta ebuild to install all X and WM/DE related things" HOMEPAGE="http://www.pentoo.ch" SLOT="0" LICENSE="GPL-3" KEYWORDS="amd64 arm x86" IUSE="X cdr cups gtk2 enlightenment kde livecd-stage1 mate pentoo-full pulseaudio samba +thunar +vnc +xfce" S="${WORKDIR}" #moving remaining desktop stuff to from pentoo-system DEPEND="! "${ED}"/etc/env.d/90xsession use xfce && echo 'XSESSION="Xfce4"' > "${ED}"/etc/env.d/90xsession insinto /etc/skel newins "${FILESDIR}"/Xdefaults .Xdefaults use xfce && newins "${FILESDIR}"/xfce-xinitrc .xinitrc insinto /etc/skel/.config doins "${FILESDIR}"/mimeapps.list insinto /etc/skel/.config/gtk-3.0/ newins "${FILESDIR}"/gtk3-settings.ini settings.ini insinto /etc/skel/.config/xfce4/terminal/ doins "${FILESDIR}"/terminalrc insinto /usr/share/pentoo/wallpaper doins "${FILESDIR}"/domo-roolz.jpg doins "${FILESDIR}"/domo-roolz-shmoocon2014.png doins "${FILESDIR}"/tux-winfly-killah.1600x1200.jpg dosym /usr/share/pentoo/wallpaper/domo-roolz.jpg /usr/share/backgrounds/xfce/domo-roolz.jpg dosym /usr/share/pentoo/wallpaper/domo-roolz-shmoocon2014.png /usr/share/backgrounds/xfce/domo-roolz-shmoocon2014.png dosym /usr/share/pentoo/wallpaper/tux-winfly-killah.1600x1200.jpg /usr/share/backgrounds/xfce/tux-winfly-killah.1600x1200.jpg insinto /etc/skel/.config/xfce4 doins "${FILESDIR}"/helpers.rc insinto /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml doins "${FILESDIR}"/xfce4-desktop.xml doins "${FILESDIR}"/xsettings.xml #gtk-theme-switch needs X so do it manually insinto /etc/skel newins "${FILESDIR}"/gtkrc-2.0 .gtkrc-2.0 }