diff options
author | David Seifert <soap@gentoo.org> | 2017-02-11 20:21:56 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-02-11 20:46:46 +0100 |
commit | a2418bd144ff851458089977b76951398d277fa9 (patch) | |
tree | c9f76cd18461bb8dd1ba25feeafa3444a86fed00 /x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild | |
parent | x11-themes/fvwm-crystal: Depend on virtual/imagemagick-tools (diff) | |
download | gentoo-a2418bd144ff851458089977b76951398d277fa9.tar.gz gentoo-a2418bd144ff851458089977b76951398d277fa9.tar.bz2 gentoo-a2418bd144ff851458089977b76951398d277fa9.zip |
x11-themes/fvwm-themes: Depend on virtual/imagemagick-tools
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3907
Diffstat (limited to 'x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild')
-rw-r--r-- | x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild b/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild new file mode 100644 index 000000000000..04fa53ddc894 --- /dev/null +++ b/x11-themes/fvwm-themes/fvwm-themes-0.7.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit autotools eutils + +DESCRIPTION="A configuration framework for the fvwm window manager" +HOMEPAGE="http://fvwm-themes.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="gnome" + +RDEPEND=">=x11-wm/fvwm-2.6.2" +DEPEND="${RDEPEND} + gnome? ( virtual/imagemagick-tools )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-posix-sort.patch + + eautoreconf +} + +src_configure() { + econf $(use_enable gnome gnome-icons) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + fvwm-themes-config --site --reset + fvwm-themes-menuapp --site --build-menus --remove-popup + + use gnome && fvwm-themes-images --ft-install --gnome +} |