From e65c71ef9065fc496a682950e541fcad152b764a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 1 Dec 2014 00:26:54 +0000 Subject: version bump Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xBD3A97A3 --- sci-mathematics/freemat/ChangeLog | 9 +++- sci-mathematics/freemat/Manifest | 34 ++++++------ sci-mathematics/freemat/freemat-4.2.ebuild | 85 ++++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+), 19 deletions(-) create mode 100644 sci-mathematics/freemat/freemat-4.2.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/freemat/ChangeLog b/sci-mathematics/freemat/ChangeLog index ecffd26c9049..bca77f3fcff1 100644 --- a/sci-mathematics/freemat/ChangeLog +++ b/sci-mathematics/freemat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-mathematics/freemat -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.29 2013/03/02 23:24:49 hwoarang Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/ChangeLog,v 1.30 2014/12/01 00:26:34 tamiko Exp $ + +*freemat-4.2 (01 Dec 2014) + + 01 Dec 2014; Matthias Maier +freemat-4.2.ebuild: + version bump 02 Mar 2013; Markos Chandras freemat-4.0.ebuild, freemat-4.1.ebuild: diff --git a/sci-mathematics/freemat/Manifest b/sci-mathematics/freemat/Manifest index 11342076604a..e772fceda16b 100644 --- a/sci-mathematics/freemat/Manifest +++ b/sci-mathematics/freemat/Manifest @@ -11,26 +11,26 @@ AUX freemat-4.1-python3.patch 1109 SHA256 5de59c5eedaffa5c7d04eee21dc683f3a2ee29 AUX freemat-4.1-use_llvm.patch 802 SHA256 3d8b56ee0983600f4ed152d343707f3cc49c411ac985392a948c8be3806944c0 SHA512 5a43337cdf0431e7e9d4d7267f4daa20984a1c3f01a7735bf3c9578aff03be79c336d294e9ac03220505734d56636eece2253fabd8fc182b05fd256c5c9093a6 WHIRLPOOL 9313ec9476ac53e5994ee09d3397e6cb034b48638d4b51943b68eb1438540e9278045ed274aea2101f4a19fe342bc3be2d5841e78a1ab357b05960af16798a6e DIST FreeMat-4.0-Source.tar.gz 38038903 SHA256 6df1707c1f9e08b34e15eca8fa58bf3cf0ec8c121f64f58ca1d34a6eafd1066b DIST FreeMat-4.1-Source.tar.gz 68297694 SHA256 84aaa20f0d67d8401f739c3ddcfd14e1b5b76dc5863e72dd02aa5fba2c2ce3f5 +DIST FreeMat-4.2-Source.tar.gz 106222549 SHA256 5f56dc18458da72fb8143d47faeb7a66fa104f8ac9160558e032f6d2d68c9ffb SHA512 85f56ab910358bac63bb50d9ef8fac51a486c32ffc246b47aea02fc6a629c36f0cd8d55feb755c4697530a87cf08fa8cc7b69ebde0f09535561014ea280b902a WHIRLPOOL 94b72375f451afd3da6bc756b9fa3e9a782edf8827a1b90f3d30723235df99c093ea7c4455b7d5cca1633f1d8d95302b237e0b389647ed242504626dd3f2c304 EBUILD freemat-4.0.ebuild 1800 SHA256 508bad52d9d0c2effa15e7eea1c1105cb870e9f1d900cf92ac4efa0b598b4785 SHA512 f1ad48c79fc1f5dc35b0d288a6f021d6befa8489e756e087804c31f9ad56d41625f8aa461b34d1b244392ab4b411f83f9714109bcc38596a74e7a01ed8f95aee WHIRLPOOL 85a3f534fcd0d45f93760b0e2930c826ba8a87f24244cb3f0424077a2316e6acdf8c962f0ca96bfb14e324c91bfe9ceb41f48b4876dd5c9e80f4f8ed426f213e EBUILD freemat-4.1.ebuild 2241 SHA256 0caf4c11431c8206405e535e152cd64e314043ec515de1006953e42fc012b853 SHA512 1315874fbffb41869d7fc04b21d761bd5a3014252eb21bd74cac04159c88bfd5a7c3d1648b031cba853331e64767b9ce8aaf596ffa53a84c9fc5f69d55fc38a2 WHIRLPOOL f40f28cf0b1bfb7549e5794e9dfed42b7b401efcfc2f378abb8a280e94266a3d05a0c1f138463f347993223a4c5660095f83369effa097b53f8c28687e937357 -MISC ChangeLog 5437 SHA256 8fe7802f95a47184010082b5b287f64954ebba51114ff845cea315b9c8541358 SHA512 a4a432d6bdb035b863c28251785d593b4f02c40230e8be83c8da02077925e744f5c0c71d4c02e348cf23dee355b4ad8862666c52f5ec190016e24757866a742f WHIRLPOOL b1fb564eae3e934a51a788dabb72842ed2b80143e7f354cee258c88f8ef87d8552de77110210f1bb0eed143c6f1842777d827bde59ac08a2cf52703cc9f954ea +EBUILD freemat-4.2.ebuild 2029 SHA256 c432d2ed4df7fd3b8ee69069b86c5cc2a5a0cb7b5fc31c37f8c8b31ec52cea51 SHA512 883c59ef3c6bc837e2a94872a68ab4dda18b93862e1e688b3c05b6c3815307f6ed5514da6a8d63a10fcee21d3dbaccbf19747ad6221124c0b217aedd7a8b1f57 WHIRLPOOL 5f4b0f170684531318448fde9907c99d6a2c9324cd433585b6c0933f2f217ea07af83371ac55bfa58f49c62084c60c169de68aac7046aa83744f05d98c8eeeb8 +MISC ChangeLog 5550 SHA256 4ebc6683da5cf64383d0837d808a26e7369af72753a0f818fc8c673ae570cf76 SHA512 ad679e0039041f99a9ebbe3ab9e7c2060418ec3c2a9eda88ae2d44dbff5212bfd520e8df1f5ad473ff3869c4c0e41b9deffde45e9dd3add5b20d48f1bf24a419 WHIRLPOOL 70e1d6f93f2ce14a98da937e804c265b573d4bfed8c19cc7c6662c7f8abb532d7062da6788b5ee44578e36cb840615f531a26c26a700e205a8f93efaa2563606 MISC metadata.xml 746 SHA256 72cb14ce59b41654af654b3ac7e09426626a7856eb12a7df9815559853dc633d SHA512 27fe56bb74dfc5240a9ebe8fd7d703b88bbbf863abbfa234fa044cd17c0f5e0c26297ca208922b2f54f10c77ceff97a1441c5238e26533d050806df939fb2924 WHIRLPOOL ce59823b3fea732f6c9fa27656c5c611e38daa2f5ad95904674da3e7f3940308dc8b697bbb66a7c3dbfa68e637b6b40657bd95fd95487d4ff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FoD +zKHLAgvCn6Db3pJL4Y9cnvQRScHJEPR5SkWKa1cBT6pIZdLq2bmfsVhPcWzAXVXH +NemV7pXGx/lmF+dzxx8g3WHRtTsJefJWOxlqxYYgiMFuTy6hztlfRqCTCf3fmtFC +jv5b++j/Tny+7fNauF1aucapQhE3IX6KxMAY/moQjJGVfukPiL47epT2soXP4PkU +FzXw9gWxv3ZrTRHB+SAf9RP81WG+TUrRKENTOWsX6WgWV6R66VsfciulPKJORMEO +rmTHTXIRTH8rDMkt7PIQL/pZm8L5fvgPGckMDOEMBFFEeKCOWKB7MkU7yidtqaKF +1wiurW+N3M5UIwWNeYZhovz3S9BsVxPrP0vSDn1MwkHzmuse9ASwSSbUZYwuHNKZ +mCZXyGUYMMZGtEQg5Al9EISjl+wQxouQWUAAf7cAXGr8GeYJK7TwJBE4P0b0UQpA +utwpTw/G85TpJSNGhPbSx0Rbkt1OI/6IAYQBw6pxrHA07nZotwj7r8yuKAUOEQ1x +3FgZBA6nTOZHVvnkhdIH74eDyIawv+x5PlTiqop1MY+3A9cuAgJE0NmoA9PkzkaD +L4L3iyIxrKviVCDlyW2G +=quJV -----END PGP SIGNATURE----- diff --git a/sci-mathematics/freemat/freemat-4.2.ebuild b/sci-mathematics/freemat/freemat-4.2.ebuild new file mode 100644 index 000000000000..00a825088007 --- /dev/null +++ b/sci-mathematics/freemat/freemat-4.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/freemat/freemat-4.2.ebuild,v 1.1 2014/12/01 00:26:34 tamiko Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_{3,4}} ) + +inherit eutils cmake-utils fdo-mime python-r1 + +MY_PN=FreeMat +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Environment for rapid engineering and scientific processing" +HOMEPAGE="http://freemat.sourceforge.net/" +SRC_URI="mirror://sourceforge/freemat/${MY_P}-Source.tar.gz" + +IUSE="volpack vtk" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/libpcre + media-libs/portaudio + sci-libs/arpack + sci-libs/fftw:3.0 + sci-libs/matio + sci-libs/umfpack + sys-libs/ncurses + virtual/glu + virtual/lapack + virtual/libffi + virtual/opengl + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + dev-qt/qtsvg:4 + volpack? ( media-libs/volpack ) + vtk? ( sci-libs/vtk )" + +DEPEND="${RDEPEND} + dev-lang/python + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}-Source" + +src_prepare(){ + epatch \ + "${FILESDIR}"/${PN}-4.1-fixes.patch \ + "${FILESDIR}"/${PN}-4.1-use_llvm.patch \ + "${FILESDIR}"/${PN}-4.1-python3.patch + rm -f CMakeCache.txt + find . -type f -name '*.moc.cpp' -exec rm -f {} \; + find . -type f -name 'add.so' -exec rm -f {} \; +} + +src_configure() { + mycmakeargs+=( + -DFORCE_SYSTEM_LIBS=ON + -DUSE_LLVM=OFF + -DUSE_ITK=OFF + -DFFI_INCLUDE_DIR="$(pkg-config --cflags-only-I libffi | sed -e s/-I//)" + $(cmake-utils_use_with volpack VOLPACK) + $(cmake-utils_use_with vtk VTK) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install -j1 + dodoc ChangeLog + newicon images/freemat_small_mod_64.png ${PN}.png + make_desktop_entry FreeMat FreeMat +} + +pkg_postinst() { + fdo-mime_desktop_database_update + elog "Before using ${MY_PN}, do (as a normal user)" + elog "FreeMat -i ${EROOT}usr/share/${MY_P}" + elog "Then start ${MY_PN}, choose Tools -> Path Tool," + elog "select ${EROOT}usr/share/${MY_P}/toolbox and Add With Subfolders" +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} -- cgit v1.2.3-65-gdbad