1 |
grozin 12/04/05 20:43:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freemat-4.1.ebuild |
5 |
Log: |
6 |
Version bump, thanks to José Romildo Malaquias <j.romildo@×××××.com> for the ebuild. Closing #406509. |
7 |
|
8 |
(Portage version: 2.2.0_alpha99/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.26 sci-mathematics/freemat/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?rev=1.26&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?rev=1.26&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/ChangeLog?r1=1.25&r2=1.26 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v |
20 |
retrieving revision 1.25 |
21 |
retrieving revision 1.26 |
22 |
diff -u -r1.25 -r1.26 |
23 |
--- ChangeLog 10 Mar 2012 10:37:06 -0000 1.25 |
24 |
+++ ChangeLog 5 Apr 2012 20:43:03 -0000 1.26 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sci-mathematics/freemat |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.25 2012/03/10 10:37:06 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.26 2012/04/05 20:43:03 grozin Exp $ |
30 |
+ |
31 |
+*freemat-4.1 (05 Apr 2012) |
32 |
+ |
33 |
+ 05 Apr 2012; Andrey Grozin <grozin@g.o> +freemat-4.1.ebuild, |
34 |
+ +files/freemat-4.1-fixes.patch, +files/freemat-4.1-have_fftw.patch, |
35 |
+ +files/freemat-4.1-local_libffi.patch, +files/freemat-4.1-portaudio.patch, |
36 |
+ +files/freemat-4.1-use_llvm.patch: |
37 |
+ Version bump, thanks to José Romildo Malaquias <j.romildo@×××××.com> for the |
38 |
+ ebuild. Closing #406509. |
39 |
|
40 |
10 Mar 2012; Samuli Suominen <ssuominen@g.o> metadata.xml: |
41 |
Remove unused USE flags umfpack, ffcall and arpack. |
42 |
|
43 |
|
44 |
|
45 |
1.1 sci-mathematics/freemat/freemat-4.1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/freemat-4.1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/freemat/freemat-4.1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: freemat-4.1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-4.1.ebuild,v 1.1 2012/04/05 20:43:03 grozin Exp $ |
55 |
|
56 |
EAPI="4" |
57 |
inherit eutils cmake-utils fdo-mime |
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" |
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/lapack |
79 |
virtual/glu |
80 |
virtual/opengl |
81 |
x11-libs/qt-gui:4 |
82 |
x11-libs/qt-opengl:4 |
83 |
x11-libs/qt-svg:4 |
84 |
volpack? ( media-libs/volpack )" |
85 |
|
86 |
DEPEND="${RDEPEND} |
87 |
dev-util/pkgconfig" |
88 |
|
89 |
S="${WORKDIR}/${MY_P}-Source" |
90 |
|
91 |
src_prepare(){ |
92 |
epatch \ |
93 |
"${FILESDIR}"/${P}-fixes.patch \ |
94 |
"${FILESDIR}"/${P}-have_fftw.patch \ |
95 |
"${FILESDIR}"/${P}-local_libffi.patch \ |
96 |
"${FILESDIR}"/${P}-portaudio.patch \ |
97 |
"${FILESDIR}"/${P}-use_llvm.patch |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
rm -f CMakeCache.txt |
102 |
find . -type f -name '*.moc.cpp' -exec rm -f {} \; |
103 |
find . -type f -name 'add.so' -exec rm -f {} \; |
104 |
mycmakeargs="${mycmakeargs} |
105 |
-DUSE_LLVM=OFF |
106 |
-DFORCE_BUNDLED_PCRE=OFF |
107 |
-DFORCE_BUNDLED_UMFPACK=OFF |
108 |
-DFORCE_BUNDLED_PORTAUDIO=OFF |
109 |
-DFORCE_BUNDLED_ZLIB=OFF |
110 |
-DFORCE_BUNDLED_AMD=OFF |
111 |
-DFFI_INCLUDE_DIR="$(echo /usr/$(get_libdir)/libffi-*/include)" |
112 |
$(cmake-utils_use_with volpack VOLPACK)" |
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 /usr/share/${MY_P}" |
127 |
elog "Then start ${MY_PN}, choose Tools -> Path Tool," |
128 |
elog "select /usr/share/${MY_P}/toolbox and Add With Subfolders" |
129 |
} |
130 |
|
131 |
pkg_postrm() { |
132 |
fdo-mime_desktop_database_update |
133 |
} |