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/coolreader/
Date: Wed, 23 May 2018 18:09:39
Message-Id: 1527098941.454aa9c1f04b9411a0e43c3fdf2ddb6baf658a2f.grozin@gentoo
1 commit: 454aa9c1f04b9411a0e43c3fdf2ddb6baf658a2f
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 23 18:08:03 2018 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Wed May 23 18:09:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=454aa9c1
7
8 app-text/coolreader: cleaning old
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-text/coolreader/coolreader-3.1.2.71-r3.ebuild | 58 -----------------------
13 1 file changed, 58 deletions(-)
14
15 diff --git a/app-text/coolreader/coolreader-3.1.2.71-r3.ebuild b/app-text/coolreader/coolreader-3.1.2.71-r3.ebuild
16 deleted file mode 100644
17 index 9c7e43e5f3f..00000000000
18 --- a/app-text/coolreader/coolreader-3.1.2.71-r3.ebuild
19 +++ /dev/null
20 @@ -1,58 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -WX_GTK_VER="3.0"
26 -
27 -inherit cmake-utils wxwidgets
28 -
29 -if [ "${PV}" == 9999 ]
30 -then
31 - inherit git-r3
32 - # github mirror has some new commits to fix page margins settings
33 - # sourceforge mirror saved as backup
34 - #EGIT_REPO_URI="git://git.code.sf.net/p/crengine/crengine"
35 - EGIT_REPO_URI="https://github.com/buggins/coolreader.git"
36 - SRC_URI=""
37 -else
38 - # git tag cr3.1.2-71
39 - SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
40 -fi
41 -
42 -DESCRIPTION="CoolReader - reader of eBook files (fb2,epub,htm,rtf,txt)"
43 -HOMEPAGE="https://sourceforge.net/projects/crengine/"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="wxwidgets"
49 -
50 -DEPEND="sys-libs/zlib
51 - media-libs/libpng:0
52 - virtual/jpeg:0
53 - media-libs/freetype
54 - wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
55 - !wxwidgets? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 )"
56 -RDEPEND="${DEPEND}
57 - wxwidgets? ( || ( media-fonts/liberation-fonts media-fonts/corefonts ) )"
58 -
59 -# 1st patch: To save cr3.ini to ~homedir.
60 -# 2nd patch: To build QT5 and WX GUI version of coolreader3;
61 -# setting correct vesrion number and years of cr3qt/cr3wx;
62 -# internal switching between wxGTK 2.8 or 3.0 version;
63 -# show wxWidgets version in "About" dialog window;
64 -# disabling "iCCP: known incorrect sRGB profile" warning popup window for wxwidgets GUI
65 -
66 -PATCHES=( "${FILESDIR}/cr3ini.diff" "${FILESDIR}/cr3.1.2.71-r1_qt5_wx.diff" )
67 -
68 -src_configure() {
69 - CMAKE_USE_DIR="${S}"
70 - CMAKE_BUILD_TYPE="Release"
71 - if use wxwidgets; then
72 - setup-wxwidgets
73 - local mycmakeargs=(-D GUI=WX)
74 - else
75 - local mycmakeargs=(-D GUI=QT5)
76 - fi
77 - cmake-utils_src_configure
78 -}