diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-06-12 09:19:10 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-06-12 09:25:28 +0200 |
commit | 552174708806d60ac9dc15359a54c5b3d3e436d1 (patch) | |
tree | 2a643860f51b2f543d983aebc82692fa62e8b070 /x11-misc/xfe/xfe-1.43.2.ebuild | |
parent | x11-libs/c++-gtk-utils: Old (diff) | |
download | gentoo-552174708806d60ac9dc15359a54c5b3d3e436d1.tar.gz gentoo-552174708806d60ac9dc15359a54c5b3d3e436d1.tar.bz2 gentoo-552174708806d60ac9dc15359a54c5b3d3e436d1.zip |
x11-misc/xfe: Version 1.43.2
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/xfe/xfe-1.43.2.ebuild')
-rw-r--r-- | x11-misc/xfe/xfe-1.43.2.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/x11-misc/xfe/xfe-1.43.2.ebuild b/x11-misc/xfe/xfe-1.43.2.ebuild new file mode 100644 index 000000000000..57333f1ae0f0 --- /dev/null +++ b/x11-misc/xfe/xfe-1.43.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PLOCALES=" + bs ca cs da de el es_AR es_CO es fr hu it ja nl no pl pt_BR pt_PT ru sv tr + zh_CN zh_TW +" +inherit l10n xdg-utils + +DESCRIPTION="MS-Explorer-like minimalist file manager for X" +HOMEPAGE="http://roland65.free.fr/xfe" +SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug nls startup-notification" + +RDEPEND=" + media-libs/libpng:0 + x11-libs/fox:1.6[png,truetype] + x11-libs/libX11 + x11-libs/libXft + startup-notification? ( x11-libs/startup-notification ) +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + nls? ( + dev-util/intltool + sys-devel/gettext + ) +" + +DOCS=( AUTHORS BUGS ChangeLog README TODO ) + +src_prepare() { + default + + cat >po/POTFILES.skip <<-EOF + src/icons.cpp + xfe.desktop.in.in + xfi.desktop.in.in + xfp.desktop.in.in + xfv.desktop.in.in + xfw.desktop.in.in + EOF + + # malformed LINGUAS file + # recent intltool expects newline for every linguas + sed -i \ + -e '/^#/!s:\s\s*:\n:g' \ + po/LINGUAS || die + + # remove not selected locales + rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die ;} + l10n_for_each_disabled_locale_do rm_locale +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable startup-notification sn) \ + --enable-minimalflags +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |