Revision: 2986
Author:   dominique
Date:     2016-01-05 21:48:47 +0100 (Tue, 05 Jan 2016)
Log Message:
-----------
fvwm-crystal: EAPI 6, new USE flags and eclass

Modified Paths:
--------------
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/Manifest
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/metadata.xml

Modified: trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog   2015-11-19 
11:12:10 UTC (rev 2985)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog   2016-01-05 
20:48:47 UTC (rev 2986)
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  05 Jan 2015; Dominique Michel <[email protected]> 
fvwm-crystal-9999.ebuild:
+  updated to EAPI 6, new USE flags and as well than to readme.gentoo-r1 and 
user eclasses.
+  metadata.xml: new USE flag descriptions
+
   29 Jan 2014; Dominique Michel <[email protected]> 
fvwm-crystal-9999.ebuild:
   removed non nedded depends, added conditional depend on 
x11-misc/xdg-user-dirs with USE flag.
 

Modified: trunk/overlays/proaudio/x11-themes/fvwm-crystal/Manifest
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/Manifest    2015-11-19 
11:12:10 UTC (rev 2985)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/Manifest    2016-01-05 
20:48:47 UTC (rev 2986)
@@ -1,3 +1,3 @@
-EBUILD fvwm-crystal-9999.ebuild 1898 SHA256 
fac82bb7b4a16ddae6a05653c60d659c7c40d97b6ba906ee85e092c2b7a6d2fc SHA512 
609a3e5211842f51e913f97e3b6cb6bdc6c14a40fdebac62b65169456149c4584c47ef736c549ed117524277157398defa2f67f0017d47b8d10b086b361957fd
 WHIRLPOOL 
2a96b6df1795baa473b35cf7d1d43f4572d86e1460c2cb88d9727913dcd9c6636a03c10f5d6998716471084a7407afc2f40fb7040fcd58d9697471ae49077565
-MISC ChangeLog 3719 SHA256 
a79a6104beca1b9fc5ae4804a4aa180d8a2a09317ea9f6b30719c0488538ce94 SHA512 
98659c03eb40f10faafa7e4b0c32ffd9e6448e9a50182e18e8f404da8b18c707f89e015b32d5f21082c78353dc7d5d249b5c7f5d970cf121462bfafd495ea160
 WHIRLPOOL 
08950a5fb17261cee4b9db137e8edb6a3b18a35811d189935337ec72a5eabb61ceb3aa9540b99a4843f4b0ca26a4e89183dcedde69024c0d624920c615751b2a
-MISC metadata.xml 360 SHA256 
bb714d62534f455f4e5ed3a6116e72d3338a4e422f27cfb2f772158c7a9649bf SHA512 
8cdac8458be50e26d68bf78d485bf6b52d3ea71f76b7319682af437fe2c53a916ec18e1e914b11820dbc81d2c635c795e33ccda97441bb3fc7d56b41805cf0af
 WHIRLPOOL 
b3988629fecceee13a9b015c132a9e598bef5cae952de03bdd322989f57b198dcca301fa4fafe46a4be9967dd24f129553eb93470167af3f9ce72914a8c10729
+EBUILD fvwm-crystal-9999.ebuild 2131 SHA256 
22c101663af1dec82fd42093ac9b1f08a27cae3e99be721939d922b7be5bad94 SHA512 
8bf8c27382b95f198e09c137073d24fa0531e07594371dd66d76f798c196f6c2fcb78ec3cc37903b8566fcf42c24a56de5d8373bcbbfe563c47509631a6388b0
 WHIRLPOOL 
5a627cae0582779734695e02da6a0a54c8582221314ca5bf975cb52e24cfc2de7d815218d19fbf35f6b2745ee7bf47836a80b5c5f83b67497b5e8b9b833d8d2a
+MISC ChangeLog 3951 SHA256 
477f36e141acf9211c33076ae71933dfbf21615c252a4b98d9343f459bddfe4d SHA512 
d5dc9b113dd260eeded0be624f7841d33f2753798dbf71060a280e464be97793b8a8a4784a2febb79d287ddf78d6896096ec571094df2125fbb8be397d35a685
 WHIRLPOOL 
1cbeeff0aa10e818751ae87cd61cbded5dbe5285e61d35efd4e13cc3682e1543eb1e82990ba1a6d3aa197f300d36bdf021440c891a913599a64431ad77e60d78
+MISC metadata.xml 1240 SHA256 
6d7bbe6fdd75271f090d9a1d1355c6aad8f37ef0d8219fb02bf2e5bf4e37b7aa SHA512 
189316d3b00dc776610b0e57f0b6c7b752c31bfff2d4a37b533db65b108c1d168096fc2d864682f4ee541adf4f6c931bbb3b124ad9424f53c4775608380f0b83
 WHIRLPOOL 
a123e89465737f713936e44ebf3caabb2aa3021c2a50bce58d5386419efaf9f983cb286055222bcb020729afca4155d06862f6e2afdb23a9bf4e4c83f7f82517

Modified: 
trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild    
2015-11-19 11:12:10 UTC (rev 2985)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild    
2016-01-05 20:48:47 UTC (rev 2986)
@@ -1,22 +1,34 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
-EAPI="5"
+EAPI=6
+RESTRICT=mirror
 
 PYTHON_COMPAT=( python2_7 )
-inherit subversion eutils python-r1
+inherit eutils readme.gentoo-r1 python-r1 user
 
-DESCRIPTION="Configurable and full featured FVWM theme, with lots of 
transparency and freedesktop compatible menu"
+DESCRIPTION="Configurable FVWM theme with transparency and freedesktop 
compatible menu"
 HOMEPAGE="http://fvwm-crystal.org/";
-SRC_URI=""
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS=""
-IUSE="+xdg"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="+amixer jack +pm-utils +xdg"
 
-ESVN_REPO_URI="svn://svn.code.sf.net/p/fvwm-crystal/code"
+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]
@@ -27,42 +39,45 @@
        sys-devel/bc
        virtual/awk
        x11-apps/xwd
-       xdg? ( x11-misc/xdg-user-dirs )"
+       xdg? ( x11-misc/xdg-user-dirs )
+       pm-utils? ( sys-power/pm-utils )
+       amixer? ( media-sound/alsa-utils )
+       jack? ( media-sound/jack-audio-connection-kit )"
 
-S="${WORKDIR}/${PN}"
+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
 
-src_unpack() {
-       subversion_src_unpack
+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="${D}" \
-               docdir="/usr/share/doc/${PF}" \
-               prefix="/usr" \
+               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 \
-               "${D}/usr/bin/${PN}".{apps,wallpaper} \
-               "${D}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
+               "${ED}/usr/bin/${PN}".{apps,wallpaper} \
+               "${ED}/usr/share/${PN}"/fvwm/scripts/FvwmMPD/*.py
+       readme.gentoo_create_doc
 }
 
 pkg_postinst() {
-       einfo
-       einfo "After installation, execute following commands:"
-       einfo " $ cp -r ${EPREFIX}/usr/share/${PN}/addons/Xresources 
~/.Xresources"
-       einfo " $ cp -r ${EPREFIX}/usr/share/${PN}/addons/Xsession ~/.xinitrc"
-       einfo
-       einfo "Many applications can extend functionality of fvwm-crystal."
-       einfo "They are listed in ${EPREFIX}/usr/share/doc/${PF}/INSTALL.gz."
-       einfo
-       einfo "Some icons fixes was committed recently to the svn"
-       einfo "To archive the same fixes on your private icon files,"
-       einfo "please read ${EPREFIX}/usr/share/doc/${PF}/INSTALL.gz."
-       einfo "This will fix the libpng warnings at stderr."
-       einfo
-       einfo "The color themes was updated to Fvwm InfoStore."
-       einfo "To know how to update your custom color themes, please run"
-       einfo " ${EPREFIX}/usr/share/${PN}/addons/convert_colorsets."
-       einfo ""
+       readme.gentoo_print_elog
 }

Modified: trunk/overlays/proaudio/x11-themes/fvwm-crystal/metadata.xml
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/metadata.xml        
2015-11-19 11:12:10 UTC (rev 2985)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/metadata.xml        
2016-01-05 20:48:47 UTC (rev 2986)
@@ -1,11 +1,26 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <maintainer>
-               <email>[email protected]</email>
-               <name>pro-audio overlay team</name>
-       </maintainer>
-       <use>
-               <flag name="xdg">Enable xdg localized user directories support 
via x11-misc/xdg-user-dirs</flag>
-       </use>
+<herd>proxy-maintainers</herd>
+<maintainer>
+  <email>[email protected]</email>
+  <name>Dominique Michel</name>
+</maintainer>
+<longdescription>
+FVWM-Crystal is a set of configuration files for FVWM window manager,
+with additional programs and scripts. Some of it's features are:
+ * quick launching of a terminal with just one click on a desktop
+ * a specially configured terminal window, similar to a console from FPP games
+ * builtin control over XMMS player and over aumix mixer from the keyboard and 
+   buttons on the screen
+ * very good ability to control the desktop from the keyboard, including window
+   switching, moving, shading/unshading, maximizing, resizing, moving between
+   desktop pages
+ * transparent window titlebars, menus and panels on the desktop
+</longdescription>
+<use>
+  <flag name="xdg">Enable xdg localized user directrories support via 
x11-misc/xdg-user-dirs</flag>
+  <flag name="amixer">Enable alsamixer support (alsa-sound/alsa-utils)</flag>
+  <flag name="pm-utils">Enable support for suspend/resume the system through 
sys-power/pm-utils</flag>
+</use>
 </pkgmetadata>

Reply via email to