Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: x11-libs/gtksourceview/
Date: Sun, 01 Dec 2013 18:42:22
Message-Id: 1385919659.6b4abc80ae9bde121d5951f33e375a8c2c21eb28.eva@gentoo
1 commit: 6b4abc80ae9bde121d5951f33e375a8c2c21eb28
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 17:39:19 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 17:40:59 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=6b4abc80
7
8 x11-libs/gtksourceview: 3.8.2 → 3.10.1
9
10 ---
11 x11-libs/gtksourceview/gtksourceview-3.10.1.ebuild | 51 ++++++++++++++++++++++
12 x11-libs/gtksourceview/gtksourceview-9999.ebuild | 39 +++++++----------
13 2 files changed, 67 insertions(+), 23 deletions(-)
14
15 diff --git a/x11-libs/gtksourceview/gtksourceview-3.10.1.ebuild b/x11-libs/gtksourceview/gtksourceview-3.10.1.ebuild
16 new file mode 100644
17 index 0000000..e593ab1
18 --- /dev/null
19 +++ b/x11-libs/gtksourceview/gtksourceview-3.10.1.ebuild
20 @@ -0,0 +1,51 @@
21 +# Copyright 1999-2013 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Header: $
24 +
25 +EAPI="5"
26 +GCONF_DEBUG="no"
27 +
28 +inherit gnome2 virtualx
29 +
30 +DESCRIPTION="A text widget implementing syntax highlighting and other features"
31 +HOMEPAGE="http://projects.gnome.org/gtksourceview/"
32 +
33 +LICENSE="GPL-2+ LGPL-2.1+"
34 +SLOT="3.0/2"
35 +IUSE="glade +introspection"
36 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
37 +
38 +# Note: has native OSX support, prefix teams, attack!
39 +RDEPEND="
40 + >=dev-libs/glib-2.37.3:2
41 + >=dev-libs/libxml2-2.6:2
42 + >=x11-libs/gtk+-3.9.9:3[introspection?]
43 + glade? ( >=dev-util/glade-3.9:3.10 )
44 + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
45 +"
46 +DEPEND="${RDEPEND}
47 + dev-util/gtk-doc-am
48 + >=dev-util/intltool-0.50
49 + >=sys-devel/gettext-0.17
50 + virtual/pkgconfig
51 +"
52 +
53 +src_configure() {
54 + gnome2_src_configure \
55 + --disable-deprecations \
56 + --enable-providers \
57 + $(use_enable glade glade-catalog) \
58 + $(use_enable introspection)
59 +}
60 +
61 +src_test() {
62 + Xemake check
63 +}
64 +
65 +src_install() {
66 + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"
67 + gnome2_src_install
68 +
69 + insinto /usr/share/${PN}-3.0/language-specs
70 + doins "${FILESDIR}"/2.0/gentoo.lang
71 +}
72
73 diff --git a/x11-libs/gtksourceview/gtksourceview-9999.ebuild b/x11-libs/gtksourceview/gtksourceview-9999.ebuild
74 index 1ffdecc..8269551 100644
75 --- a/x11-libs/gtksourceview/gtksourceview-9999.ebuild
76 +++ b/x11-libs/gtksourceview/gtksourceview-9999.ebuild
77 @@ -1,10 +1,9 @@
78 -# Copyright 1999-2012 Gentoo Foundation
79 +# Copyright 1999-2013 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: $
82
83 EAPI="5"
84 GCONF_DEBUG="no"
85 -GNOME2_LA_PUNT="yes"
86
87 inherit gnome2 virtualx
88 if [[ ${PV} = 9999 ]]; then
89 @@ -15,7 +14,7 @@ DESCRIPTION="A text widget implementing syntax highlighting and other features"
90 HOMEPAGE="http://projects.gnome.org/gtksourceview/"
91
92 LICENSE="GPL-2+ LGPL-2.1+"
93 -SLOT="3.0"
94 +SLOT="3.0/2"
95 IUSE="glade +introspection"
96 if [[ ${PV} = 9999 ]]; then
97 IUSE="${IUSE} doc"
98 @@ -25,38 +24,31 @@ else
99 fi
100
101 # Note: has native OSX support, prefix teams, attack!
102 -RDEPEND=">=x11-libs/gtk+-3.4:3[introspection?]
103 +RDEPEND="
104 + >=dev-libs/glib-2.37.3:2
105 >=dev-libs/libxml2-2.6:2
106 - >=dev-libs/glib-2.32:2
107 + >=x11-libs/gtk+-3.9.9:3[introspection?]
108 glade? ( >=dev-util/glade-3.9:3.10 )
109 - introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
110 + introspection? ( >=dev-libs/gobject-introspection-0.9.0 )
111 +"
112 DEPEND="${RDEPEND}
113 dev-util/gtk-doc-am
114 >=dev-util/intltool-0.50
115 >=sys-devel/gettext-0.17
116 - virtual/pkgconfig"
117 + virtual/pkgconfig
118 +"
119
120 if [[ ${PV} = 9999 ]]; then
121 DEPEND="${DEPEND}
122 doc? ( >=dev-util/gtk-doc-1.11 )"
123 fi
124
125 -src_prepare() {
126 - DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"
127 - G2CONF="${G2CONF}
128 - --disable-deprecations
129 - --enable-providers
130 - $(use_enable glade glade-catalog)
131 - $(use_enable introspection)"
132 -
133 - gnome2_src_prepare
134 -
135 - sed -i -e 's:--warn-all::' gtksourceview/Makefile.in || die
136 -
137 - # Skip broken test until upstream bug #621383 is solved
138 - sed -e "/guess-language/d" \
139 - -e "/get-language/d" \
140 - -i tests/test-languagemanager.c || die
141 +src_configure() {
142 + gnome2_src_configure \
143 + --disable-deprecations \
144 + --enable-providers \
145 + $(use_enable glade glade-catalog) \
146 + $(use_enable introspection)
147 }
148
149 src_test() {
150 @@ -64,6 +56,7 @@ src_test() {
151 }
152
153 src_install() {
154 + DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README"
155 gnome2_src_install
156
157 insinto /usr/share/${PN}-3.0/language-specs