blob: 5d57912e3d2443682a55884387589623a22b2cfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/preview/preview-0.8.5-r1.ebuild,v 1.7 2010/08/20 14:34:55 voyageur Exp $
inherit gnustep-2
S=${WORKDIR}/${PN/p/P}
DESCRIPTION="Simple image viewer."
HOMEPAGE="http://home.gna.org/gsimageapps/"
SRC_URI="http://download.gna.org/gsimageapps/${P/p/P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
src_unpack() {
unpack ${A}
cd "${S}"
# Fix broken french lproj
rmdir French.lproj/Preview.gorm
ln -s ../English.lproj/Preview.gorm French.lproj
# Fix compilation, patch from debian
epatch "${FILESDIR}"/${P}-compilation-errors.patch
}
|