diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2022-04-02 00:36:51 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-04-06 20:25:33 -0400 |
| commit | ebcf4c75f00c9a71242141fcf1484a3404d8a6f9 (patch) | |
| tree | cf805cd3a1e0973a3af88c00d4f695ee600fff02 /meta-oe | |
| parent | fcdafe933c96149b5e433d3755a75e7f9ee7a42c (diff) | |
| download | meta-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.bb | 40 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/octave/octave_6.4.0.bb | 52 |
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 @@ | |||
| 1 | DESCRIPTION = "High-level language, primarily intended for numerical computations" | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/octave/" | ||
| 3 | SECTION = "math" | ||
| 4 | |||
| 5 | LICENSE = "GPL-3.0-only" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" | ||
| 7 | |||
| 8 | DEPENDS = "gperf-native texinfo lapack pcre readline" | ||
| 9 | |||
| 10 | inherit autotools pkgconfig texinfo gettext mime-xdg | ||
| 11 | |||
| 12 | EXTRA_OECONF = "--disable-java --disable-docs" | ||
| 13 | |||
| 14 | SRC_URI = "${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \ | ||
| 15 | file://fix-blas-library-integer-size.patch \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRC_URI[md5sum] = "b43bd5f4309a0c048c91af10cf8e8674" | ||
| 19 | SRC_URI[sha256sum] = "09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97" | ||
| 20 | |||
| 21 | do_compile:prepend() { | ||
| 22 | for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do | ||
| 23 | mkdir -p ${B}/${folder} | ||
| 24 | done | ||
| 25 | } | ||
| 26 | |||
| 27 | PACKAGES =+ " octave-common liboctave liboctave-dev liboctave-dbg" | ||
| 28 | |||
| 29 | FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${datadir}/${PN} \ | ||
| 30 | ${libdir}/${PN}/${PV}/oct ${libdir}/${PN}/${PV}/site \ | ||
| 31 | ${libdir}/${PN}/site ${datadir}/applications ${datadir}/metainfo" | ||
| 32 | FILES:${PN}-common = "${datadir}/icons" | ||
| 33 | |||
| 34 | FILES:liboctave = "${libdir}/${PN}/${PV}/lib*${SOLIBS}" | ||
| 35 | FILES:liboctave-dev = "${libdir}/${PN}/${PV}/lib*${SOLIBSDEV}" | ||
| 36 | FILES:liboctave-dbg = "${libdir}/${PN}/${PV}/.debug" | ||
| 37 | |||
| 38 | FILES:${PN}-dbg = "${bindir}/.debug ${libdir}/${PN}/${PV}/oct/${TARGET_SYS}/.debug" | ||
| 39 | |||
| 40 | EXCLUDE_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 @@ | |||
| 1 | SUMMARY = "High-level language, primarily intended for numerical computations" | ||
| 2 | HOMEPAGE = "http://www.gnu.org/software/octave/" | ||
| 3 | SECTION = "math" | ||
| 4 | |||
| 5 | LICENSE = "GPL-3.0-only" | ||
| 6 | LIC_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 | |||
| 11 | DEPENDS = " \ | ||
| 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 | |||
| 27 | inherit autotools pkgconfig texinfo gettext gtk-icon-cache mime-xdg features_check | ||
| 28 | |||
| 29 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
| 30 | |||
| 31 | SRC_URI = " \ | ||
| 32 | ${GNU_MIRROR}/octave/${BPN}-${PV}.tar.gz \ | ||
| 33 | file://fix-blas-library-integer-size.patch \ | ||
| 34 | " | ||
| 35 | SRC_URI[sha256sum] = "b48f33d4fceaf394cfbea73a8c850000936d83a41739a24f7568b5b0a7b39acd" | ||
| 36 | |||
| 37 | EXTRA_OECONF = " \ | ||
| 38 | --disable-java \ | ||
| 39 | --disable-docs \ | ||
| 40 | " | ||
| 41 | |||
| 42 | do_compile:prepend() { | ||
| 43 | for folder in "liboctave/operators liboctave/numeric liboctave/array liboctave/util"; do | ||
| 44 | mkdir -p ${B}/${folder} | ||
| 45 | done | ||
| 46 | } | ||
| 47 | |||
| 48 | FILES:${PN} += "${datadir}/metainfo" | ||
| 49 | FILES:${PN}-dev += "${libdir}/${BPN}/${PV}/lib*${SOLIBSDEV}" | ||
| 50 | |||
| 51 | # fortran is not enabled by default | ||
| 52 | EXCLUDE_FROM_WORLD = "1" | ||
