blob: a8c44da36775cd41edb465fab2578e8278f6bc44 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/udav/udav-0.7.1.2-r1.ebuild,v 1.1 2012/05/02 17:26:18 jlec Exp $
EAPI=4
LANGS="ru"
inherit qt4-r2
DESCRIPTION="Universal Data Array Visualization"
HOMEPAGE="http://udav.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
sci-libs/hdf5
>=sci-libs/mathgl-1.10.2[hdf5,gsl,qt4]
x11-libs/qt-core:4
x11-libs/qt-gui:4"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-desktopfile.patch"
"${FILESDIR}/${P}-pro.patch"
)
src_prepare() {
qt4-r2_src_prepare
if ! use linguas_ru ; then
sed -e '/udav_ru.qm$/d' -i src/src.pro || die "sed failed"
fi
}
src_install() {
qt4-r2_src_install
dosym /usr/share/icons/hicolor/64x64/apps/${PN}.png \
/usr/share/pixmaps/${PN}.png
}
|