Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/fvwm-crystal/
Date: Sat, 04 Jun 2022 02:19:34
Message-Id: 1654309159.df84fc47751dfa68cf08247748ba9e71a194dc09.sam@gentoo
1 commit: df84fc47751dfa68cf08247748ba9e71a194dc09
2 Author: Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
3 AuthorDate: Thu Jun 2 15:27:33 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 02:19:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df84fc47
7
8 x11-themes/fvwm-crystal: add 3.7.5
9
10 Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 x11-themes/fvwm-crystal/Manifest | 1 +
14 x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild | 71 +++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/x11-themes/fvwm-crystal/Manifest b/x11-themes/fvwm-crystal/Manifest
18 index 8f13e6ea878e..a66e97caa728 100644
19 --- a/x11-themes/fvwm-crystal/Manifest
20 +++ b/x11-themes/fvwm-crystal/Manifest
21 @@ -1,2 +1,3 @@
22 DIST fvwm-crystal-3.6.5.tar.gz 5899049 BLAKE2B addd82dbbab9b457a94715a969a27ff6ef2be07cddd33a379dc4d5348c9565d3a19943828b068ec5ef5f6d032f51b77a1990316ee7b3e16e5dc98ddf32f98c7d SHA512 45cd99b83342e5e5f0de89edc92dbba3311efc7ef431d509490e3fd5b49420e94d1cef55865f45e731fd4c13172c6e2d26fbd10107cdb4a4f525379e17b94e6d
23 DIST fvwm-crystal-3.7.1.tar.gz 5936306 BLAKE2B 3a47ddab10365faf13c4b9de8ac172b2f91073addd7799315a47901c10b28b6b16c89ccb9c4a313285cd1e9b40d6ecd8b563e8764bb063d249ceb54804d63ec7 SHA512 0e61bd190ab0b9f4c51b65e9bbeb3689c38127769166f90fc2eff655c68b11c60e67ef35417ed7e97d06bb549d2a87ba6785fc6530a5269d19c1243d3cbe27ed
24 +DIST fvwm-crystal-3.7.5.tar.gz 5962351 BLAKE2B b5a7458c5bc97846ba48e18168da05d0cda4f26b2f0252abcfd12953de4ac80b34a521759152d559fef59ab53e5f252434d1f1840a779271fc9fffd7ec8632b0 SHA512 333eeeabf1b7b88e1ce7ba5e018a013471db215214b5d9bd86d0f0e107d7443f89bc409e23f3ef4a61c9ced63b862614507cb5ae74063f14d9e0d8b1eb97186b
25
26 diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild
27 new file mode 100644
28 index 000000000000..67e6e4b1901e
29 --- /dev/null
30 +++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.7.5.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..11} )
38 +inherit readme.gentoo-r1 python-single-r1 optfeature
39 +
40 +DESCRIPTION="Configurable FVWM theme with transparency and freedesktop compatible menu"
41 +HOMEPAGE="http://fvwm-crystal.sourceforge.net/"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
46 +
47 +if [[ ${PV} = *9999 ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://github.com/fvwm-crystal/fvwm-crystal.git"
50 +else
51 + SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
52 + KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
53 +fi
54 +
55 +RDEPEND="${PYTHON_DEPS}
56 + acct-group/fvwm-crystal
57 + || ( >=x11-wm/fvwm3-1.0.4[go] >=x11-wm/fvwm-2.6.9[png] )
58 + virtual/imagemagick-tools
59 + || ( >=x11-misc/stalonetray-0.6.2-r2 x11-misc/trayer )
60 + || ( x11-misc/hsetroot media-gfx/feh )
61 + sys-apps/sed
62 + sys-devel/bc
63 + virtual/awk
64 + x11-apps/xwd
65 + media-sound/alsa-utils"
66 +
67 +DISABLE_AUTOFORMATTING="true"
68 +DOC_CONTENTS="After a first time installation, execute the following commands:
69 + $ cp -r "${EROOT}"/usr/share/doc/"${PF}"/addons/Xresources ~/.Xresources
70 + $ cp -r "${EROOT}"/usr/share/doc/"${PF}"/addons/Xsession ~/.xinitrc
71 +You can edit these files at your convenience.
72 +
73 +Many applications can extend functionality of fvwm-crystal.
74 +They are listed in "${EROOT}"/usr/share/doc/"${PF}"/INSTALL.*
75 +
76 +To be able to use the exit menu, each user using ${PN}
77 +must be in the group fvwm-crystal.
78 +You can do that as root with:
79 + $ useradd -G fvwm-crystal <user_name>
80 +and log out and in again.
81 +"
82 +
83 +src_install() {
84 + emake DESTDIR="${ED}" \
85 + docdir="${EPREFIX}/usr/share/doc/${PF}" \
86 + prefix="${EPREFIX}/usr" \
87 + install
88 + # GNU License is globally in the portage tree
89 + rm -vf "${ED}/usr/share/doc/${PF}"/LICENSE
90 +
91 + python_doscript "${ED}/usr/bin/${PN}".{apps,wallpaper}
92 + python_scriptinto "/usr/share/${PN}"/fvwm/scripts/FvwmMPD
93 + python_doscript "${ED}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
94 + readme.gentoo_create_doc
95 +}
96 +
97 +pkg_postinst() {
98 + readme.gentoo_print_elog
99 + optfeature "localized XDG user directories support" "x11-misc/xdg-user-dirs"
100 + optfeature "hibernate/resume support" "sys-apps/systemd"
101 + optfeature "professional sound server" "media-sound/jack-audio-connection-kit"
102 +}