Lines 1-12
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2014 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830.ebuild,v 1.2 2013/05/09 08:36:38 xmw Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830.ebuild,v 1.2 2013/05/09 08:36:38 xmw Exp $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
PYTHON_DEPEND=2 |
7 |
PYTHON_COMPAT=( python2_{6,7} ) |
8 |
|
8 |
|
9 |
inherit eutils multilib fortran-2 python cmake-utils |
9 |
inherit cmake-utils eutils fortran-2 multilib python-single-r1 |
10 |
|
10 |
|
11 |
DESCRIPTION="QT based Computer Aided Design application" |
11 |
DESCRIPTION="QT based Computer Aided Design application" |
12 |
HOMEPAGE="http://www.freecadweb.org/" |
12 |
HOMEPAGE="http://www.freecadweb.org/" |
Lines 34-40
Link Here
|
34 |
sci-libs/gts |
34 |
sci-libs/gts |
35 |
sci-libs/opencascade:= |
35 |
sci-libs/opencascade:= |
36 |
sys-libs/zlib |
36 |
sys-libs/zlib |
37 |
virtual/glu" |
37 |
virtual/glu |
|
|
38 |
${PYTHON_DEPS}" |
38 |
RDEPEND="${COMMON_DEPEND} |
39 |
RDEPEND="${COMMON_DEPEND} |
39 |
dev-qt/assistant:4 |
40 |
dev-qt/assistant:4 |
40 |
dev-python/pycollada |
41 |
dev-python/pycollada |
Lines 56-62
Link Here
|
56 |
|
57 |
|
57 |
pkg_setup() { |
58 |
pkg_setup() { |
58 |
fortran-2_pkg_setup |
59 |
fortran-2_pkg_setup |
59 |
python_set_active_version 2 |
60 |
python-single-r1_pkg_setup |
60 |
} |
61 |
} |
61 |
|
62 |
|
62 |
src_prepare() { |
63 |
src_prepare() { |
Lines 82-88
Link Here
|
82 |
einfo "Patching cMake/FindCoin3DDoc.cmake ..." |
83 |
einfo "Patching cMake/FindCoin3DDoc.cmake ..." |
83 |
local my_coin_version=$(best_version media-libs/coin) |
84 |
local my_coin_version=$(best_version media-libs/coin) |
84 |
local my_coin_path="${EROOT}"usr/share/doc/${my_coin_version##*/}/html |
85 |
local my_coin_path="${EROOT}"usr/share/doc/${my_coin_version##*/}/html |
85 |
sed -e "s:/usr/share/doc/libcoin60-doc/html:${my_coin_path}:" \ |
86 |
sed -e "s:/usr/share/doc/libcoin60-doc/html:${my_coin_path}:" \ |
86 |
-i cMake/FindCoin3DDoc.cmake || die |
87 |
-i cMake/FindCoin3DDoc.cmake || die |
87 |
} |
88 |
} |
88 |
|
89 |
|
Lines 140-145
Link Here
|
140 |
dodoc README.Linux ChangeLog.txt |
141 |
dodoc README.Linux ChangeLog.txt |
141 |
|
142 |
|
142 |
# disable compression of QT assistant help files |
143 |
# disable compression of QT assistant help files |
143 |
>> ${ED}usr/share/doc/${P}/freecad.qhc.ecompress.skip |
144 |
>> "${ED}usr/share/doc/${P}/freecad.qhc.ecompress.skip" |
144 |
>> ${ED}usr/share/doc/${P}/freecad.qch.ecompress.skip |
145 |
>> "${ED}usr/share/doc/${P}/freecad.qch.ecompress.skip" |
|
|
146 |
|
147 |
python_optimize "${D}"/usr/{"$(get_libdir)",share}/"${P}"/Mod/ |
145 |
} |
148 |
} |