diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /x11-misc/xfe | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'x11-misc/xfe')
-rw-r--r-- | x11-misc/xfe/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/xfe/xfe-1.46.2.ebuild | 117 |
2 files changed, 119 insertions, 0 deletions
diff --git a/x11-misc/xfe/Manifest b/x11-misc/xfe/Manifest index 86e4fdf06ab2..71755a18cbf3 100644 --- a/x11-misc/xfe/Manifest +++ b/x11-misc/xfe/Manifest @@ -1,5 +1,7 @@ DIST xfe-1.44.tar.xz 1444296 BLAKE2B 3ace2689adc2a4e2b24e44f8f416cad5e4904d38d2be7e275256714a707995368450e63c4cf2eee3f870be51c42f295a938ea6ecd159dd1a996aad53b5d119b3 SHA512 d02f0db46c5ca6e26cff447d7f11bbc5f03a9d28b8d492a783bb47f67431a022785d6f3b25013f82a6121a8675f86caf1a9154a7faa8186e05cf4de0bd2f1749 +DIST xfe-1.46.2.tar.xz 1615460 BLAKE2B 0c4a49aaf1ff04d25a13349fa81be9d3e8400009c7d8c24f96a017850a156b116950e0ac5d471190defeceb236e0ed82a614a143a0cdddf10dd86a9b9c318cca SHA512 0287835433297eb2280a3d16ee85b61a74d4c3a6414279df58a201c55a58906128333c7574a94da38195f9934816a91f6e726487caeb8c97f9a5f3cef1ba1c3e DIST xfe-1.46.tar.xz 1431496 BLAKE2B d7b85e5280d1d9d6db3737f8ac14f4248ae4e99b52d843b51468299bdf71581003b21d0fb2be9949c7189481ed5f3fe88bbd146d2185c17dea3a4785edb876b7 SHA512 9fea984ebbfe4dada85e028bfbde1352392cb77462c238c77c6950aac2526db11d556c8187fd765fd935ba21088c1b551e88ee414dcac35d7c59f5411c4c145b EBUILD xfe-1.44.ebuild 1578 BLAKE2B ac5ca695ca10025a187ed2bb8fa151b8272308e2cf10069420f328a3b36f121458f871001ca52e386ca0ee6542597d28f8d24eecc35dd3ff48b2a841f4faace0 SHA512 57497c4450b4a0bd3fd7bec4a75855aaed5b8f39b8c50daca595ae6e670c6513dc2de4d227d2becd94a4257d8761e20449187e774f48cb70cdcbe40e4441f689 +EBUILD xfe-1.46.2.ebuild 2887 BLAKE2B 7fa1352685d31b60ec70a4a90554011b73718f97c2d4b1cde95a5e15a0ec47dd62f710531fa1d0806e8d2cc11ad8945f276e04436fc4e8b7a18cc7cd180d2a32 SHA512 f5395261bb5e269d41c1955ded2827c649549d323dc2ee736a6c718798f3c67250f42d9e64a4cc8da4537cb438aa160453c5373d01d42c2bb93a699a4b72c8bf EBUILD xfe-1.46.ebuild 2887 BLAKE2B 7fa1352685d31b60ec70a4a90554011b73718f97c2d4b1cde95a5e15a0ec47dd62f710531fa1d0806e8d2cc11ad8945f276e04436fc4e8b7a18cc7cd180d2a32 SHA512 f5395261bb5e269d41c1955ded2827c649549d323dc2ee736a6c718798f3c67250f42d9e64a4cc8da4537cb438aa160453c5373d01d42c2bb93a699a4b72c8bf MISC metadata.xml 240 BLAKE2B 92d4660766b1bb154a620ee57ef972fc2aca12436eb5e12f5880166a4303653c370318b65a0b39f86a13994d6f70eaab5c77b5d7b9b00df19fe2da15d29c3054 SHA512 9bd9123eda33c274644858aea8568a9dfcff772f9ebb95acf39b662ba39f0b1febfed0c56e1ab8d17650f192946449ac47338c78bc059202133b600800e375ee diff --git a/x11-misc/xfe/xfe-1.46.2.ebuild b/x11-misc/xfe/xfe-1.46.2.ebuild new file mode 100644 index 000000000000..690f416c2cef --- /dev/null +++ b/x11-misc/xfe/xfe-1.46.2.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2024 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 flag-o-matic plocale xdg-utils + +DESCRIPTION="MS-Explorer-like minimalist file manager for X" +HOMEPAGE="http://roland65.free.fr/xfe/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${PN}/${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug nls startup-notification" +# The only dir which defines a 'check' target is po/ which doesn't do anything +# useful for us. It also fails, see bug #847253. +RESTRICT="test" + +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() { + # https://sourceforge.net/p/xfe/bugs/282/ (bug #864757) + filter-lto + + econf \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable startup-notification sn) \ + --enable-minimalflags +} + +src_install() { + default + + # Install this unconditionally rather than automagically based on whether + # polkit is installed + rm -rf "${ED}"/usr/share/polkit-1/actions || die + insinto /usr/share/polkit-1/actions + newins - org.xfe.root.policy <<-EOF + <?xml version="1.0" encoding="UTF-8"?> + <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" + "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> + <policyconfig> + <vendor>Xfe</vendor> + <vendor_url>http://roland65.free.fr/xfe</vendor_url> + <icon_name>xfe</icon_name> + <action id="org.xfe.root"> + <description>Run Xfe as root</description> + <message>Authentication is required to run Xfe as root</message> + <defaults> + <allow_any>auth_admin</allow_any> + <allow_inactive>auth_admin</allow_inactive> + <allow_active>auth_admin</allow_active> + </defaults> + <annotate key="org.freedesktop.policykit.exec.path">${EPREFIX}/usr/bin/xfe</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + </policyconfig> + EOF +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |