diff options
author | 2022-05-14 16:43:06 +0200 | |
---|---|---|
committer | 2022-05-24 10:13:00 +0300 | |
commit | 32313db1e2c614c79ba9a0aa18edaa59f48b1992 (patch) | |
tree | 511b9b5678b1254b6b4b14bdcc5faf0d43c7bd3d /x11-misc/xfe/xfe-1.44.ebuild | |
parent | dev-python/pytest-skip-markers: Fix dependencies, py3.11 (diff) | |
download | gentoo-32313db1e2c614c79ba9a0aa18edaa59f48b1992.tar.gz gentoo-32313db1e2c614c79ba9a0aa18edaa59f48b1992.tar.bz2 gentoo-32313db1e2c614c79ba9a0aa18edaa59f48b1992.zip |
x11-misc/xfe: bump to version 1.44
Closes: https://bugs.gentoo.org/836834
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Dennis Eisele <kernlpanic@dennis-eisele.de>
Closes: https://github.com/gentoo/gentoo/pull/25263
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-misc/xfe/xfe-1.44.ebuild')
-rw-r--r-- | x11-misc/xfe/xfe-1.44.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/x11-misc/xfe/xfe-1.44.ebuild b/x11-misc/xfe/xfe-1.44.ebuild new file mode 100644 index 000000000000..0f46f4222a52 --- /dev/null +++ b/x11-misc/xfe/xfe-1.44.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +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 plocale 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.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug nls startup-notification" + +RDEPEND=" + x11-libs/fox:1.6[png,truetype] + media-libs/fontconfig + x11-libs/libXrandr + 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 || die <<-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 ;} + plocale_for_each_disabled_locale 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 +} |