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