commit: b028a2c63ff7fe94201305761d6d9daf3745af5f Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Oct 8 14:46:45 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Oct 8 16:42:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b028a2c6
sci-mathematics/octave: Fix >=qscintilla-2.10 detection Gentoo-bug: 617024 Package-Manager: Portage-2.3.11, Repoman-2.3.3 .../octave/files/octave-4.2.0-fix-qscintilla-detection.patch | 2 +- sci-mathematics/octave/octave-4.2.1.ebuild | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch b/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch index 9d18b6a6d7c..ea714ecbfbb 100644 --- a/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch +++ b/sci-mathematics/octave/files/octave-4.2.0-fix-qscintilla-detection.patch @@ -8,7 +8,7 @@ as its Qt4 variant. 5) QT_MODULES="Qt5Core Qt5Gui Qt5Network Qt5OpenGL Qt5PrintSupport" - octave_qscintilla_libnames="qscintilla2-qt5 qt5scintilla2" -+ octave_qscintilla_libnames=qscintilla2 ++ octave_qscintilla_libnames="qscintilla2_qt5 qscintilla2" ;; *) AC_MSG_ERROR([Unrecognized Qt version $qt_version]) diff --git a/sci-mathematics/octave/octave-4.2.1.ebuild b/sci-mathematics/octave/octave-4.2.1.ebuild index 00a2d44ce48..e7ecf516cc4 100644 --- a/sci-mathematics/octave/octave-4.2.1.ebuild +++ b/sci-mathematics/octave/octave-4.2.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils toolchain-funcs +inherit autotools flag-o-matic fortran-2 java-pkg-opt-2 pax-utils toolchain-funcs xdg-utils DESCRIPTION="High-level interactive language for numerical computations" LICENSE="GPL-3" @@ -175,3 +175,13 @@ src_install() { echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/${PN}/${PV}" > 99octave || die doenvd 99octave } + +pkg_postinst() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}