summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <mvath@google.com>2020-03-13 16:59:48 +0100
committerMartin Väth <mvath@google.com>2020-03-13 16:59:48 +0100
commit2bbed67597af7a0043eaf5128b591ad5c5520311 (patch)
treeea3e0e241f2164b2dde9303e500b9ad838c8151f /x11-themes
parentnet-print/foo2zjs: Version bump. Use gentoo archive (diff)
downloadmv-2bbed67597af7a0043eaf5128b591ad5c5520311.tar.gz
mv-2bbed67597af7a0043eaf5128b591ad5c5520311.tar.bz2
mv-2bbed67597af7a0043eaf5128b591ad5c5520311.zip
x11-themes/fvwm-crystal: Bump, picking from https://bugs.gentoo.org/710512
Signed-off-by: Martin Väth <mvath@google.com>
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/fvwm-crystal/Manifest1
-rw-r--r--x11-themes/fvwm-crystal/fvwm-crystal-3.6.2.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/x11-themes/fvwm-crystal/Manifest b/x11-themes/fvwm-crystal/Manifest
index 567db149..b57b848c 100644
--- a/x11-themes/fvwm-crystal/Manifest
+++ b/x11-themes/fvwm-crystal/Manifest
@@ -1 +1,2 @@
DIST fvwm-crystal-3.4.1.tar.gz 5663772 SHA512 c033cc27a523a69c7735bde3b5885381e2a338d4f84b4089050be44e04bbb490492d826f899bf16bf5c167044eae330f954320b4bb14647e4db2a4b6b5d32009
+DIST fvwm-crystal-3.6.2.tar.gz 5878856 SHA512 be69af4ef0fa1a01e6c72b745b0061af1599e36b68fc40c8920bf55dfbb2f164314c894c863ac778c2e2ed4a98c122c1ad07e7b45d4c7da5960d97f63c8cb13f
diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.6.2.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.6.2.ebuild
new file mode 100644
index 00000000..fa1d80da
--- /dev/null
+++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.6.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2020 Gentoo Authors and Martin V\"ath
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+RESTRICT="mirror" # do not access gentoo mirror until it actually is there
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit eutils readme.gentoo-r1 python-r1 user
+
+DESCRIPTION="Configurable FVWM theme with transparency and freedesktop compatible menu"
+HOMEPAGE="http://fvwm-crystal.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+IUSE=""
+
+case ${PV} in
+*9999)
+ inherit subversion
+ ESVN_REPO_URI="svn://svn.code.sf.net/p/fvwm-crystal/code"
+ SRC_URI=""
+ KEYWORDS=""
+ S="${WORKDIR}/${PN}"
+ src_unpack() {
+ subversion_src_unpack
+ };;
+esac
+
+BDEPEND="sys-apps/sed"
+RDEPEND="${PYTHON_DEPS}
+ >=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 )
+ ${BDEPEND}
+ 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 <user_name>
+and log out and in again.
+"
+
+pkg_setup() {
+ enewgroup fvwm-crystal # In the gentoo tree this must become acct-group/fvwm-crystal
+}
+
+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_replicate_script \
+ "${ED}/usr/bin/${PN}".{apps,wallpaper} \
+ "${ED}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+ elog "Many applications can extend functionality of fvwm-crystal."
+ elog "They are listed in ${EROOT}usr/share/doc/${PF}/INSTALL.bz2"
+ elog "Popular supported softwares are:"
+ elog "- x11-misc/xdg-user-dirs (the gtk USE is not needed) to"
+ elog " get localized XDG user directories support"
+ elog "- sys-power/pm-utils or sys-apps/systemd for hibernate/resume support"
+ elog "- media-sound/jack-audio-connection-kit for a professional sound server"
+ elog "- several media players"
+}