1 |
tamiko 14/12/01 00:26:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freemat-4.2.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key BD3A97A3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 sci-mathematics/freemat/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -u -r1.29 -r1.30 |
23 |
--- ChangeLog 2 Mar 2013 23:24:49 -0000 1.29 |
24 |
+++ ChangeLog 1 Dec 2014 00:26:34 -0000 1.30 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-mathematics/freemat |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.29 2013/03/02 23:24:49 hwoarang Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.30 2014/12/01 00:26:34 tamiko Exp $ |
31 |
+ |
32 |
+*freemat-4.2 (01 Dec 2014) |
33 |
+ |
34 |
+ 01 Dec 2014; Matthias Maier <tamiko@g.o> +freemat-4.2.ebuild: |
35 |
+ version bump |
36 |
|
37 |
02 Mar 2013; Markos Chandras <hwoarang@g.o> freemat-4.0.ebuild, |
38 |
freemat-4.1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-mathematics/freemat/freemat-4.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/freemat-4.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/freemat-4.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: freemat-4.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-4.2.ebuild,v 1.1 2014/12/01 00:26:34 tamiko Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_7,3_{3,4}} ) |
56 |
|
57 |
inherit eutils cmake-utils fdo-mime python-r1 |
58 |
|
59 |
MY_PN=FreeMat |
60 |
MY_P=${MY_PN}-${PV} |
61 |
|
62 |
DESCRIPTION="Environment for rapid engineering and scientific processing" |
63 |
HOMEPAGE="http://freemat.sourceforge.net/" |
64 |
SRC_URI="mirror://sourceforge/freemat/${MY_P}-Source.tar.gz" |
65 |
|
66 |
IUSE="volpack vtk" |
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
|
71 |
RDEPEND="dev-libs/libpcre |
72 |
media-libs/portaudio |
73 |
sci-libs/arpack |
74 |
sci-libs/fftw:3.0 |
75 |
sci-libs/matio |
76 |
sci-libs/umfpack |
77 |
sys-libs/ncurses |
78 |
virtual/glu |
79 |
virtual/lapack |
80 |
virtual/libffi |
81 |
virtual/opengl |
82 |
dev-qt/qtgui:4 |
83 |
dev-qt/qtopengl:4 |
84 |
dev-qt/qtsvg:4 |
85 |
volpack? ( media-libs/volpack ) |
86 |
vtk? ( sci-libs/vtk )" |
87 |
|
88 |
DEPEND="${RDEPEND} |
89 |
dev-lang/python |
90 |
virtual/pkgconfig" |
91 |
|
92 |
S="${WORKDIR}/${MY_P}-Source" |
93 |
|
94 |
src_prepare(){ |
95 |
epatch \ |
96 |
"${FILESDIR}"/${PN}-4.1-fixes.patch \ |
97 |
"${FILESDIR}"/${PN}-4.1-use_llvm.patch \ |
98 |
"${FILESDIR}"/${PN}-4.1-python3.patch |
99 |
rm -f CMakeCache.txt |
100 |
find . -type f -name '*.moc.cpp' -exec rm -f {} \; |
101 |
find . -type f -name 'add.so' -exec rm -f {} \; |
102 |
} |
103 |
|
104 |
src_configure() { |
105 |
mycmakeargs+=( |
106 |
-DFORCE_SYSTEM_LIBS=ON |
107 |
-DUSE_LLVM=OFF |
108 |
-DUSE_ITK=OFF |
109 |
-DFFI_INCLUDE_DIR="$(pkg-config --cflags-only-I libffi | sed -e s/-I//)" |
110 |
$(cmake-utils_use_with volpack VOLPACK) |
111 |
$(cmake-utils_use_with vtk VTK) |
112 |
) |
113 |
cmake-utils_src_configure |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
cmake-utils_src_install -j1 |
118 |
dodoc ChangeLog |
119 |
newicon images/freemat_small_mod_64.png ${PN}.png |
120 |
make_desktop_entry FreeMat FreeMat |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
fdo-mime_desktop_database_update |
125 |
elog "Before using ${MY_PN}, do (as a normal user)" |
126 |
elog "FreeMat -i ${EROOT}usr/share/${MY_P}" |
127 |
elog "Then start ${MY_PN}, choose Tools -> Path Tool," |
128 |
elog "select ${EROOT}usr/share/${MY_P}/toolbox and Add With Subfolders" |
129 |
} |
130 |
|
131 |
pkg_postrm() { |
132 |
fdo-mime_desktop_database_update |
133 |
} |