summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2022-04-02 00:36:51 +0200
committerKhem Raj <raj.khem@gmail.com>2022-04-06 20:25:33 -0400
commitebcf4c75f00c9a71242141fcf1484a3404d8a6f9 (patch)
treecf805cd3a1e0973a3af88c00d4f695ee600fff02 /meta-oe
parentfcdafe933c96149b5e433d3755a75e7f9ee7a42c (diff)
downloadmeta-openembedded-ebcf4c75f00c9a71242141fcf1484a3404d8a6f9.tar.gz
octave: upgrade 4.4.1 -> 6.4.0 and overhaul recipe
Complete rework of recipe was done with two targets in mind: * Do not disappoint users on this project - it is a treasure for mathians * Do not over-complicate recipe unnecessarily Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/octave/octave_4.4.1.bb40
-rw-r--r--meta-oe/recipes-devtools/octave/octave_6.4.0.bb52
2 files changed, 52 insertions, 40 deletions
diff --git a/meta-oe/recipes-devtools/octave/octave_4.4.1.bb b/meta-oe/recipes-devtools/octave/octave_4.4.1.bb
deleted file mode 100644
index 433175fb6f..0000000000
--- a/meta-oe/recipes-devtools/octave/octave_4.4.1.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "High-level language, primarily intended for numerical computations"
2HOMEPAGE = "http://www.gnu.org/software/octave/"
3SECTION = "math"
4
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
7
8DEPENDS = "gperf-native texinfo lapack pcre readline"
9
10inherit autotools pkgconfig texinfo gettext mime-xdg
11
12EXTRA_OECONF = "--disable-java --disable-docs"
13
14SRC_URI = "${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \
15 file://fix-blas-library-integer-size.patch \
16"
17
18SRC_URI[md5sum] = "b43bd5f4309a0c048c91af10cf8e8674"
19SRC_URI[sha256sum] = "09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97"
20
21do_compile:prepend() {
22 for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do
23 mkdir -p ${B}/${folder}
24 done
25}
26
27PACKAGES =+ " octave-common liboctave liboctave-dev liboctave-dbg"
28
29FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${datadir}/${PN} \
30 ${libdir}/${PN}/${PV}/oct ${libdir}/${PN}/${PV}/site \
31 ${libdir}/${PN}/site ${datadir}/applications ${datadir}/metainfo"
32FILES:${PN}-common = "${datadir}/icons"
33
34FILES:liboctave = "${libdir}/${PN}/${PV}/lib*${SOLIBS}"
35FILES:liboctave-dev = "${libdir}/${PN}/${PV}/lib*${SOLIBSDEV}"
36FILES:liboctave-dbg = "${libdir}/${PN}/${PV}/.debug"
37
38FILES:${PN}-dbg = "${bindir}/.debug ${libdir}/${PN}/${PV}/oct/${TARGET_SYS}/.debug"
39
40EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-oe/recipes-devtools/octave/octave_6.4.0.bb b/meta-oe/recipes-devtools/octave/octave_6.4.0.bb
new file mode 100644
index 0000000000..a7ff84fad7
--- /dev/null
+++ b/meta-oe/recipes-devtools/octave/octave_6.4.0.bb
@@ -0,0 +1,52 @@
1SUMMARY = "High-level language, primarily intended for numerical computations"
2HOMEPAGE = "http://www.gnu.org/software/octave/"
3SECTION = "math"
4
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
7
8# To build, add 'FORTRAN:forcevariable = ",fortran"' to your local.conf (or use
9# meta-mortsgna as distro :)
10
11DEPENDS = " \
12 gperf-native \
13 libglu \
14 lapack \
15 fftw \
16 curl \
17 freetype \
18 fontconfig \
19 texinfo \
20 pcre \
21 readline \
22 fltk \
23 hdf5 \
24 libsndfile1 \
25"
26
27inherit autotools pkgconfig texinfo gettext gtk-icon-cache mime-xdg features_check
28
29REQUIRED_DISTRO_FEATURES = "x11 opengl"
30
31SRC_URI = " \
32 ${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \
33 file://fix-blas-library-integer-size.patch \
34"
35SRC_URI[sha256sum] = "b48f33d4fceaf394cfbea73a8c850000936d83a41739a24f7568b5b0a7b39acd"
36
37EXTRA_OECONF = " \
38 --disable-java \
39 --disable-docs \
40"
41
42do_compile:prepend() {
43 for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do
44 mkdir -p ${B}/${folder}
45 done
46}
47
48FILES:${PN} += "${datadir}/metainfo"
49FILES:${PN}-dev += "${libdir}/${BPN}/${PV}/lib*${SOLIBSDEV}"
50
51# fortran is not enabled by default
52EXCLUDE_FROM_WORLD = "1"