From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild | 71 +++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild (limited to 'x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild') diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild new file mode 100644 index 000000000000..67e6e4b1901e --- /dev/null +++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit readme.gentoo-r1 python-single-r1 optfeature + +DESCRIPTION="Configurable FVWM theme with transparency and freedesktop compatible menu" +HOMEPAGE="http://fvwm-crystal.sourceforge.net/" + +LICENSE="GPL-3+" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +if [[ ${PV} = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fvwm-crystal/fvwm-crystal.git" +else + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +fi + +RDEPEND="${PYTHON_DEPS} + acct-group/fvwm-crystal + || ( >=x11-wm/fvwm3-1.0.4[go] >=x11-wm/fvwm-2.6.9[png] ) + virtual/imagemagick-tools + || ( >=x11-misc/stalonetray-0.6.2-r2 x11-misc/trayer ) + || ( x11-misc/hsetroot media-gfx/feh ) + sys-apps/sed + sys-devel/bc + virtual/awk + x11-apps/xwd + media-sound/alsa-utils" + +DISABLE_AUTOFORMATTING="true" +DOC_CONTENTS="After a first time installation, execute the following commands: + $ cp -r "${EROOT}"/usr/share/doc/"${PF}"/addons/Xresources ~/.Xresources + $ cp -r "${EROOT}"/usr/share/doc/"${PF}"/addons/Xsession ~/.xinitrc +You can edit these files at your convenience. + +Many applications can extend functionality of fvwm-crystal. +They are listed in "${EROOT}"/usr/share/doc/"${PF}"/INSTALL.* + +To be able to use the exit menu, each user using ${PN} +must be in the group fvwm-crystal. +You can do that as root with: + $ useradd -G fvwm-crystal +and log out and in again. +" + +src_install() { + emake DESTDIR="${ED}" \ + docdir="${EPREFIX}/usr/share/doc/${PF}" \ + prefix="${EPREFIX}/usr" \ + install + # GNU License is globally in the portage tree + rm -vf "${ED}/usr/share/doc/${PF}"/LICENSE + + python_doscript "${ED}/usr/bin/${PN}".{apps,wallpaper} + python_scriptinto "/usr/share/${PN}"/fvwm/scripts/FvwmMPD + python_doscript "${ED}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + optfeature "localized XDG user directories support" "x11-misc/xdg-user-dirs" + optfeature "hibernate/resume support" "sys-apps/systemd" + optfeature "professional sound server" "media-sound/jack-audio-connection-kit" +} -- cgit v1.2.3