Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/fb2edit/
Date: Tue, 18 Aug 2020 08:47:30
Message-Id: 1597740421.324bc605fb73e922bcd5c63aa93df7e006b546d4.grozin@gentoo
1 commit: 324bc605fb73e922bcd5c63aa93df7e006b546d4
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 18 08:47:01 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 18 08:47:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324bc605
7
8 app-text/fb2edit: ebuild improvements
9
10 Package-Manager: Portage-3.0.3, Repoman-2.3.23
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 app-text/fb2edit/fb2edit-0.1.0.ebuild | 22 +++++++++++++++++++---
14 1 file changed, 19 insertions(+), 3 deletions(-)
15
16 diff --git a/app-text/fb2edit/fb2edit-0.1.0.ebuild b/app-text/fb2edit/fb2edit-0.1.0.ebuild
17 index 97067bcbb11..626eeab69e4 100644
18 --- a/app-text/fb2edit/fb2edit-0.1.0.ebuild
19 +++ b/app-text/fb2edit/fb2edit-0.1.0.ebuild
20 @@ -2,7 +2,7 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=7
24 -inherit cmake
25 +inherit cmake xdg
26 DESCRIPTION="Create and edit fb2 books"
27 HOMEPAGE="https://github.com/vitlav/fb2edit"
28 SRC_URI="https://github.com/vitlav/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
29 @@ -17,6 +17,22 @@ RDEPEND="dev-qt/qtcore:5
30 dev-qt/qtnetwork:5
31 dev-qt/qtxml:5
32 dev-qt/qtxmlpatterns:5
33 - dev-qt/linguist-tools:5
34 dev-libs/libxml2:2"
35 -BDEPEND="${RDEPEND}"
36 +BDEPEND="${RDEPEND}
37 + dev-qt/linguist-tools:5"
38 +
39 +src_prepare () {
40 + cmake_src_prepare
41 +}
42 +
43 +pkg_preinst () {
44 + xdg_pkg_preinst
45 +}
46 +
47 +pkg_postinst () {
48 + xdg_pkg_postinst
49 +}
50 +
51 +pkg_postrm () {
52 + xdg_pkg_postrm
53 +}