Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xfe/
Date: Sat, 22 Sep 2018 12:58:52
Message-Id: 1537621120.326950268409a75f4d045b1ddb444b3ccd24c7d4.jer@gentoo
1 commit: 326950268409a75f4d045b1ddb444b3ccd24c7d4
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 22 10:30:17 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 22 12:58:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32695026
7
8 x11-misc/xfe: Version 1.43.1.
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11
12 x11-misc/xfe/Manifest | 1 +
13 x11-misc/xfe/xfe-1.43.1.ebuild | 75 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/x11-misc/xfe/Manifest b/x11-misc/xfe/Manifest
17 index 30530d49196..ee51ae02fe3 100644
18 --- a/x11-misc/xfe/Manifest
19 +++ b/x11-misc/xfe/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xfe-1.42.tar.gz 2727833 BLAKE2B fbca14c77b04cb367173907dd4ae9c210cd88768276e5b7391338b29dc988288f866419f57d1189db6235941e4e2f91608835351000a42d46ed3e7c4c236c69f SHA512 858dd761e45ff09d32d2a230304be0817eab4b6a772376b08d778bb8e1eef681228e5d88e53c441f9b8722d8b7eeae96980e30f8c5e8bb603d4d9a3b3d267351
22 +DIST xfe-1.43.1.tar.gz 2776237 BLAKE2B fc82e2ea21643ecc3875512538af24daddb0db0e8829ce23c7589dc90d68e896282f70d771dcf885ea746acfa88adbb7abe6a0c354e74afa5f722dcfacf77350 SHA512 3c697ff5d0246c8bab86c9824dd4a3475ed3775d2933c63eb8e78f02b4455edb4ca98f86123eac77f611eee6ad660bf0a909c4c2791af19506a4f1744395008e
23 DIST xfe-1.43.tar.gz 2775098 BLAKE2B 41a9d36da0bd2c58de8c928daf5714c90cd24952934ba22550651a7e6829b4f3386fd7ef89c93907eb2b28f2c7086ced1c8b5282b00beaa3ad79c9443f12e5b2 SHA512 e1b8e2d1509de913ceb76d05c7480842ae7c5389df2f02d39c1f80bd7387ce6ff77e82a95f0f1853a976e27ceb5380024337e261621ea3233996d2dec48f82a3
24
25 diff --git a/x11-misc/xfe/xfe-1.43.1.ebuild b/x11-misc/xfe/xfe-1.43.1.ebuild
26 new file mode 100644
27 index 00000000000..0a9e382f69b
28 --- /dev/null
29 +++ b/x11-misc/xfe/xfe-1.43.1.ebuild
30 @@ -0,0 +1,75 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +PLOCALES="
36 + 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
37 + zh_CN zh_TW
38 +"
39 +inherit l10n xdg-utils
40 +
41 +DESCRIPTION="MS-Explorer-like minimalist file manager for X"
42 +HOMEPAGE="http://roland65.free.fr/xfe"
43 +SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.gz"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="debug nls startup-notification"
49 +
50 +RDEPEND="
51 + media-libs/libpng:0
52 + x11-libs/fox:1.6[png,truetype]
53 + x11-libs/libX11
54 + x11-libs/libXft
55 + startup-notification? ( x11-libs/startup-notification )
56 +"
57 +DEPEND="
58 + ${RDEPEND}
59 + virtual/pkgconfig
60 + nls? (
61 + dev-util/intltool
62 + sys-devel/gettext
63 + )
64 +"
65 +
66 +DOCS=( AUTHORS BUGS ChangeLog README TODO )
67 +
68 +src_prepare() {
69 + default
70 +
71 + cat >po/POTFILES.skip <<-EOF
72 + src/icons.cpp
73 + xfe.desktop.in.in
74 + xfi.desktop.in.in
75 + xfp.desktop.in.in
76 + xfv.desktop.in.in
77 + xfw.desktop.in.in
78 + EOF
79 +
80 + # malformed LINGUAS file
81 + # recent intltool expects newline for every linguas
82 + sed -i \
83 + -e '/^#/!s:\s\s*:\n:g' \
84 + po/LINGUAS || die
85 +
86 + # remove not selected locales
87 + rm_locale() { sed -i -e "/${1}/d" po/LINGUAS || die ;}
88 + l10n_for_each_disabled_locale_do rm_locale
89 +}
90 +
91 +src_configure() {
92 + econf \
93 + $(use_enable debug) \
94 + $(use_enable nls) \
95 + $(use_enable startup-notification sn) \
96 + --enable-minimalflags
97 +}
98 +
99 +pkg_postinst() {
100 + xdg_desktop_database_update
101 +}
102 +
103 +pkg_postrm() {
104 + xdg_desktop_database_update
105 +}