From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 47B911396D9 for ; Sat, 11 Nov 2017 22:58:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8064CE0F3B; Sat, 11 Nov 2017 22:58:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4AE84E0F3B for ; Sat, 11 Nov 2017 22:58:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7D3B33C4EE for ; Sat, 11 Nov 2017 22:58:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80A7E99B3 for ; Sat, 11 Nov 2017 22:58:41 +0000 (UTC) From: "Jonas Stein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jonas Stein" Message-ID: <1510441102.48c43b09114259f48c25ce71ee70428671996744.jstein@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/fvwm-crystal/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/fvwm-crystal/fvwm-crystal-3.4.1-r2.ebuild X-VCS-Directories: x11-themes/fvwm-crystal/ X-VCS-Committer: jstein X-VCS-Committer-Name: Jonas Stein X-VCS-Revision: 48c43b09114259f48c25ce71ee70428671996744 X-VCS-Branch: master Date: Sat, 11 Nov 2017 22:58:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ea97577b-67b6-40fc-a0d7-eed7c2486be2 X-Archives-Hash: 13b4640bddcd9c73abea8cdab1efbb90 commit: 48c43b09114259f48c25ce71ee70428671996744 Author: Dominique Michel gmail com> AuthorDate: Sat Nov 11 22:58:12 2017 +0000 Commit: Jonas Stein gentoo org> CommitDate: Sat Nov 11 22:58:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c43b09 x11-themes/fvwm-crystal: Bump to EAPI=6 Bump to EAPI=6 as suggested in Bug: https://bugs.gentoo.org/612418 Package-Manager: Portage-2.3.13, Repoman-2.3.4 .../fvwm-crystal/fvwm-crystal-3.4.1-r2.ebuild | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.4.1-r2.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.4.1-r2.ebuild new file mode 100644 index 00000000000..c97bf4f9ce4 --- /dev/null +++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.4.1-r2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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.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}" + +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 + +RDEPEND="${PYTHON_DEPS} + >=x11-wm/fvwm-2.5.26[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 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 +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" +}