x11-themes/fvwm-crystal: bump to vn. 3.4.1

ebuild submitted by maintainer via the gentoo bug, closes bug

Gentoo bug: #499644

Package-Manager: portage-2.2.26
This commit is contained in:
Ian Delaney
2016-01-11 18:42:35 +08:00
parent d36d7fcf8d
commit 6efc991aa4
2 changed files with 89 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST fvwm-crystal-3.2.3.tar.gz 4388604 SHA256 f259fb40506b3bc5dd061f007d15a621f39c5c5bae7f320951f459ff43abb8cc SHA512 fa3d17b55562f773a50e00954aa66d22ce59fd62153ddf84a3df2ace1bc480abc2311bf379e2593f234330033f83ef3800378bfe3da593cdeb8b80b284d299bf WHIRLPOOL 85cec67e583fa2d9feb40d601f66f8beeb41141b3f0f3b9ca15b9f8dda0f7aa8277ce78a7908d8527e28ee8fc03e5df2420681db8a06220a00add74dc671739b
DIST fvwm-crystal-3.2.5.tar.gz 4474561 SHA256 ecb21f419e3bfb27f1c0bd15c6a298f57f125d6b857e45c129f1988a3c0a244a SHA512 f3b494da1f0851d0e16dda8a8867314a1b089d5a6c9ab18eedea6cdfaa753dff26f0e49747b12ec251812a22dcd93f348d6f3b689c9289b95e28545a245fadb1 WHIRLPOOL ee44b0a56e09b4fd99981de704d3170f07fa567d19cc5da874c174ffe54e1b44a9187d4e6cac78301e9d1c20c5c30d419a0f03016d80a8c26469058efa1e5f11
DIST fvwm-crystal-3.4.1.tar.gz 5663772 SHA256 d80241ba4720cee4ac163442a99c977e4441758e399f5aa9c6f8a4c97e109833 SHA512 c033cc27a523a69c7735bde3b5885381e2a338d4f84b4089050be44e04bbb490492d826f899bf16bf5c167044eae330f954320b4bb14647e4db2a4b6b5d32009 WHIRLPOOL f9acfea320a1e7a5438f1dc5202709b1739fa06ee8fb3d3647554d5a8a4fa553d6c75d4a18b80049609cfe18d4f2243dea9bf319efdd8f15ff85a5be39e917e4

View File

@@ -0,0 +1,88 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
RESTRICT=mirror
PYTHON_COMPAT=( python2_7 )
inherit eutils readme.gentoo-r1 python-r1 user
DESCRIPTION="Configurable FVWM theme with transparency and freedesktop compatible menu"
HOMEPAGE="http://fvwm-crystal.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
case ${PV} in
*9999)
PROPERTIES="live"
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
RDEPEND="${PYTHON_DEPS}
>=x11-wm/fvwm-2.5.26[png]
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|| ( >=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 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
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
}
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 for hibernate/resume support"
elog "- media-sound/jack-audio-connection-kit for a professional sound server"
elog "- several media players"
}