Gentoo Archives: gentoo-commits

From: Brian Gloyer <brian.gloyer@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/neovim-qt/
Date: Tue, 28 Jun 2022 02:43:02
Message-Id: 1656384150.4749e1aea3b5c1f97e3e0920f32342b997b7fdde.brian.gloyer@gentoo
1 commit: 4749e1aea3b5c1f97e3e0920f32342b997b7fdde
2 Author: brian gloyer <brian.gloyer <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 28 02:35:19 2022 +0000
4 Commit: Brian Gloyer <brian.gloyer <AT> gmail <DOT> com>
5 CommitDate: Tue Jun 28 02:42:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4749e1ae
7
8 app-editors/neovim-qt: fix package
9
10 Closes: https://bugs.gentoo.org/849620
11 Fixed runtime library problem.
12
13 Signed-off-by: brian gloyer <brian.gloyer <AT> gmail.com>
14
15 app-editors/neovim-qt/neovim-qt-0.2.16.1.ebuild | 17 ++++++++++++++---
16 1 file changed, 14 insertions(+), 3 deletions(-)
17
18 diff --git a/app-editors/neovim-qt/neovim-qt-0.2.16.1.ebuild b/app-editors/neovim-qt/neovim-qt-0.2.16.1.ebuild
19 index 5dfcfa586..14609e016 100644
20 --- a/app-editors/neovim-qt/neovim-qt-0.2.16.1.ebuild
21 +++ b/app-editors/neovim-qt/neovim-qt-0.2.16.1.ebuild
22 @@ -3,7 +3,7 @@
23
24 EAPI=8
25
26 -inherit cmake
27 +inherit cmake xdg-utils
28
29 DESCRIPTION="Neovim client library and GUI, in Qt5"
30 HOMEPAGE="https://github.com/equalsraf/neovim-qt"
31 @@ -12,13 +12,14 @@ SRC_URI="https://github.com/equalsraf/neovim-qt/archive/v${PV}.tar.gz -> ${P}.ta
32 LICENSE="ISC"
33 SLOT="0"
34 KEYWORDS="~amd64 ~x86"
35 -IUSE="gcov"
36 +IUSE=""
37
38 DEPEND="
39 dev-libs/msgpack
40 dev-qt/qtcore:5
41 dev-qt/qtgui:5
42 dev-qt/qtnetwork:5
43 + dev-qt/qtsvg:5
44 dev-qt/qttest:5
45 dev-qt/qtwidgets:5"
46 RDEPEND="${DEPEND}
47 @@ -26,9 +27,19 @@ RDEPEND="${DEPEND}
48
49 src_configure() {
50 local mycmakeargs=(
51 - -DUSE_GCOV=$(usex gcov ON OFF)
52 -DUSE_SYSTEM_MSGPACK=ON
53 + -DUSE_GCOV=OFF
54 + -DENABLE_TESTS=OFF
55 + -DBUILD_SHARED_LIBS=OFF # it links to static lib
56 )
57
58 cmake_src_configure
59 }
60 +
61 +pkg_postinst() {
62 + xdg_desktop_database_update
63 +}
64 +
65 +pkg_postrm() {
66 + xdg_desktop_database_update
67 +}