forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.20.1
- Loading branch information
Jeroen Roovers
committed
Aug 14, 2015
1 parent
68be464
commit 1e4b4e1
Showing
3 changed files
with
74 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST xfe-1.40.1.tar.gz 2627754 SHA256 ec3d9495bb329c6199f6265dbfb514ffd3bdb8801e36ccc4e8fac6cea15bcc71 SHA512 d4d701dc84b342ca6f728073ff746d7308cc1cf1254956e41831cfa933649c7ac2ed32a55e6dc92047636e99f14d2609f5307aab5af07c700e597dd1cf4bf4cb WHIRLPOOL 00469cfe07604986b0a24fbcbb79c2174af6fc91ccaa7c08a47c31e6450ae637d3e1db002485d730f4ee241156c155754dcebd5a0d629941f101921c2825f533 | ||
DIST xfe-1.40.tar.gz 2574477 SHA256 2b476f15beff1a1ce85dd4ce6559bb7ceca78b866c63fb4986456862a36862a8 SHA512 22cf9fd60dcd4b594d7ff39ea78d10a8c71ee2433025acf32b7e69457a5e86852b54e448ebc1e3f63f39bf720767064c74c46eaf2b999c14ae76417d33272892 WHIRLPOOL 5c3ce54db8ac3c7e99f590100a493e3611ea2cad90b498d0b673d1366a85ed0280c8aa664f60f9de633192964a5cead4efee65e6eee69f65fdd0928061e07e0e |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
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 autotools l10n | ||
|
||
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[truetype,png] | ||
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() { | ||
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 | ||
|
||
sed -i \ | ||
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ | ||
configure.ac || die | ||
|
||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
econf \ | ||
$(use_enable debug) \ | ||
$(use_enable nls) \ | ||
$(use_enable startup-notification sn) \ | ||
--enable-minimalflags | ||
} |