diff options
Diffstat (limited to 'x11-misc/xfe')
-rw-r--r-- | x11-misc/xfe/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/xfe/xfe-1.44.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/x11-misc/xfe/Manifest b/x11-misc/xfe/Manifest index d83abecc43cd..27f1fab0d0ae 100644 --- a/x11-misc/xfe/Manifest +++ b/x11-misc/xfe/Manifest @@ -1,3 +1,5 @@ DIST xfe-1.43.2.tar.gz 2834576 BLAKE2B 5ac7ebf229febb75a99e4829a38a3675d6674ec6eced13dc5be70d2b68ce88f6394621dffec2d8359e72da7eace582883b72491e90597ab4a8925685cb577fcb SHA512 ad7b450d0828747f801219c23824b0751fc2a7f0eea791369c4adb3090ffe1279056fa8804ef97b25a2f810e00d37357efc962dc9d4087c3d7cc5f8ffb37d51d +DIST xfe-1.44.tar.xz 1444296 BLAKE2B 3ace2689adc2a4e2b24e44f8f416cad5e4904d38d2be7e275256714a707995368450e63c4cf2eee3f870be51c42f295a938ea6ecd159dd1a996aad53b5d119b3 SHA512 d02f0db46c5ca6e26cff447d7f11bbc5f03a9d28b8d492a783bb47f67431a022785d6f3b25013f82a6121a8675f86caf1a9154a7faa8186e05cf4de0bd2f1749 EBUILD xfe-1.43.2.ebuild 1484 BLAKE2B 96a66f0334851a54b2dab16517567b15a058b5ad91e992dd8c02b429dc02cfc2d9e80a051c16ef38f40430c16a1af36cc0d40be69440c03a5193e4bc7fef3f01 SHA512 1bdd40f8fbb7d5b39f049394c1dae1d541df5016215a9ccb03c92bafb7c5544759ce76ebe39b8f4b27963e63a591fb97737f9c14c8757c30ae6cc1f183a60ccf +EBUILD xfe-1.44.ebuild 1565 BLAKE2B de193e16ac944ef5fdbd780eca6d2f768c81346509e44ea65c9a444846818f67bc422f90ec4ce8cbe4b62159d4c73e6c151b950224628ce68b5374c13009e0b6 SHA512 542624c24fc0f8ad4b0dc2026dfff7f01436fe057bb3da747fbf8d2c5c9c2c0ee25c08a0360718ee84d1febfb853ab2cd274aaffdfd7d16a7e32a5f97dd7ce52 MISC metadata.xml 240 BLAKE2B 92d4660766b1bb154a620ee57ef972fc2aca12436eb5e12f5880166a4303653c370318b65a0b39f86a13994d6f70eaab5c77b5d7b9b00df19fe2da15d29c3054 SHA512 9bd9123eda33c274644858aea8568a9dfcff772f9ebb95acf39b662ba39f0b1febfed0c56e1ab8d17650f192946449ac47338c78bc059202133b600800e375ee diff --git a/x11-misc/xfe/xfe-1.44.ebuild b/x11-misc/xfe/xfe-1.44.ebuild new file mode 100644 index 000000000000..e113262eb229 --- /dev/null +++ b/x11-misc/xfe/xfe-1.44.ebuild @@ -0,0 +1,80 @@ +# 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/libxcb:= + x11-libs/startup-notification + x11-libs/xcb-util + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + virtual/pkgconfig + nls? ( + 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 +} |