1 |
commit: 66b5adb450583a806f77643ac2ee214c7c1cd567 |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 27 09:22:39 2016 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 27 09:22:39 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66b5adb4 |
7 |
|
8 |
x11-libs/qscintilla: version bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
x11-libs/qscintilla/Manifest | 1 + |
13 |
x11-libs/qscintilla/qscintilla-2.9.3.ebuild | 82 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 83 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/qscintilla/Manifest b/x11-libs/qscintilla/Manifest |
17 |
index 5b3e5c4..ad29ccd 100644 |
18 |
--- a/x11-libs/qscintilla/Manifest |
19 |
+++ b/x11-libs/qscintilla/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST QScintilla-gpl-2.8.4.tar.gz 3031919 SHA256 9b7b2d7440cc39736bbe937b853506b3bd218af3b79095d4f710cccb0fabe80f SHA512 ab10dc756231b293ddebc06e681bb65a11b2be2a4c4132a5b2a27ca583adef76af325fa95748888d9091f2e89a30494d370df262c4eaba7b7fbed04fb7c76907 WHIRLPOOL 7357addbc0ad8869c5749a67106c18e47d79e32399416cc2867461fa8ad0c662711b8937987cb7c3cd5b83fe9f88e1529911eefec28a972e86c7f242c8c0d634 |
22 |
DIST QScintilla_gpl-2.9.2.tar.gz 2491222 SHA256 f2c8ccdc9d3dbb90764ceed53ea096da9bb13b6260da1324e6ab4ecea29e620a SHA512 28f88111d7eb6a016a4b87f04d2b7f5d6481b521a3361a526b3b45a56240f5c8de10310e819234fcba773c6df73bf398ae2dce622976a8e760f506be1defb7c8 WHIRLPOOL a04420c66fd417e5304c92a1ee3c1998f6849bccb9088dae96ed48c06cab0a9b1c012f073aafb1e05aaee46564de9ac89ae07145f3ded35cf47beac78065650a |
23 |
+DIST QScintilla_gpl-2.9.3.tar.gz 2503568 SHA256 98aab93d73b05635867c2fc757acb383b5856a0b416e3fd7659f1879996ddb7e SHA512 43c0edb91b7cf31f4cca71aae54d7bfea8ee66e296c0e99b694069eeedf394762b8a670952debfa2671363fd8ab5c46dd7a7da60e8f1234406a12d12afa503ab WHIRLPOOL 4a46b6cf38486d1642ad8899fc986272ddbffc33e2cb2e60e9f74c56a014c22fabdbf0f24e434cf386a9463fb82b30987d554a1419d606e152e785c3286ae063 |
24 |
|
25 |
diff --git a/x11-libs/qscintilla/qscintilla-2.9.3.ebuild b/x11-libs/qscintilla/qscintilla-2.9.3.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..103e457 |
28 |
--- /dev/null |
29 |
+++ b/x11-libs/qscintilla/qscintilla-2.9.3.ebuild |
30 |
@@ -0,0 +1,82 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit flag-o-matic qmake-utils |
38 |
+ |
39 |
+MY_P=QScintilla_gpl-${PV} |
40 |
+ |
41 |
+DESCRIPTION="A Qt port of Neil Hodgson's Scintilla C++ editor class" |
42 |
+HOMEPAGE="http://www.riverbankcomputing.com/software/qscintilla/intro" |
43 |
+SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0/12" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="designer doc" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ dev-qt/qtcore:4 |
52 |
+ dev-qt/qtgui:4 |
53 |
+ designer? ( dev-qt/designer:4 ) |
54 |
+" |
55 |
+RDEPEND="${DEPEND}" |
56 |
+ |
57 |
+S=${WORKDIR}/${MY_P} |
58 |
+ |
59 |
+src_unpack() { |
60 |
+ default |
61 |
+ |
62 |
+ # Sub-slot sanity check |
63 |
+ local subslot=${SLOT#*/} |
64 |
+ local version=$(sed -nre 's:.*VERSION\s*=\s*([0-9\.]+):\1:p' "${S}"/Qt4Qt5/qscintilla.pro) |
65 |
+ local major=${version%%.*} |
66 |
+ if [[ ${subslot} != ${major} ]]; then |
67 |
+ eerror |
68 |
+ eerror "Ebuild sub-slot (${subslot}) does not match QScintilla major version (${major})" |
69 |
+ eerror "Please update SLOT variable as follows:" |
70 |
+ eerror " SLOT=\"${SLOT%%/*}/${major}\"" |
71 |
+ eerror |
72 |
+ die "sub-slot sanity check failed" |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
+qsci_run_in() { |
77 |
+ pushd "$1" >/dev/null || die |
78 |
+ shift || die |
79 |
+ "$@" || die |
80 |
+ popd >/dev/null || die |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ qsci_run_in Qt4Qt5 eqmake4 |
85 |
+ |
86 |
+ if use designer; then |
87 |
+ # prevent building against system version (bug 466120) |
88 |
+ append-cxxflags -I../Qt4Qt5 |
89 |
+ append-ldflags -L../Qt4Qt5 |
90 |
+ |
91 |
+ qsci_run_in designer-Qt4Qt5 eqmake4 |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ qsci_run_in Qt4Qt5 emake |
97 |
+ |
98 |
+ use designer && qsci_run_in designer-Qt4Qt5 emake |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ qsci_run_in Qt4Qt5 emake INSTALL_ROOT="${D}" install |
103 |
+ |
104 |
+ use designer && qsci_run_in designer-Qt4Qt5 emake INSTALL_ROOT="${D}" install |
105 |
+ |
106 |
+ dodoc ChangeLog NEWS |
107 |
+ |
108 |
+ if use doc; then |
109 |
+ docinto html |
110 |
+ dodoc -r doc/html-Qt4Qt5/* |
111 |
+ fi |
112 |
+} |