Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/anjuta/
Date: Fri, 03 Aug 2018 10:30:21
Message-Id: 1533290796.95360c34a0dbc6f59aa44f8a53e42173e8979c13.leio@gentoo
1 commit: 95360c34a0dbc6f59aa44f8a53e42173e8979c13
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 3 10:06:17 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 3 10:06:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95360c34
7
8 dev-util/anjuta: bump to 3.28.0; compat with newer vala for USE=vala
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 dev-util/anjuta/Manifest | 1 +
13 dev-util/anjuta/anjuta-3.28.0.ebuild | 136 +++++++++++++++++++++++++++++++++++
14 2 files changed, 137 insertions(+)
15
16 diff --git a/dev-util/anjuta/Manifest b/dev-util/anjuta/Manifest
17 index 78e9d040452..e5de14f93d8 100644
18 --- a/dev-util/anjuta/Manifest
19 +++ b/dev-util/anjuta/Manifest
20 @@ -1 +1,2 @@
21 DIST anjuta-3.22.0.tar.xz 6363016 BLAKE2B 8b02f3dc0f97d0e195039cfd462bb6db64199c92d689fbf751e8a88141f65a4dc604bbf848342d73e398ba755e89b3d934df375aad50c9cee12c38df8a8c2d9e SHA512 64689392bfe6102698ef8a1ce62aac37bffd793b917ef6ffc53cb5b8aa9eb5b8961a999c32db559e9e348bcf46a7ec0ca9448100910b52885ddff898a62f3295
22 +DIST anjuta-3.28.0.tar.xz 6382736 BLAKE2B 8872736d80d0a09d35706ef69c0de56c84b9abf025f9552ae4b21b0b51c3ab8ad93f07dd1564601422890e92155cc7be80bae8de77106035621a54316608832b SHA512 c8de0b0debf0a511d6c50fe2582077a33c04290a045cce637c05c15df984cc3e8ee942c0c3a75bfd01c48e6c302d5424565c4e54fe6eb118c87a3590563505ef
23
24 diff --git a/dev-util/anjuta/anjuta-3.28.0.ebuild b/dev-util/anjuta/anjuta-3.28.0.ebuild
25 new file mode 100644
26 index 00000000000..998c1d39963
27 --- /dev/null
28 +++ b/dev-util/anjuta/anjuta-3.28.0.ebuild
29 @@ -0,0 +1,136 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +GNOME2_LA_PUNT="yes"
35 +PYTHON_COMPAT=( python2_7 )
36 +# libanjuta-language-vala.so links to a specific slot of libvala; we want to
37 +# avoid automagic behavior.
38 +VALA_MIN_API_VERSION="0.36"
39 +VALA_MAX_API_VERSION="${VALA_MIN_API_VERSION}"
40 +
41 +inherit gnome2 flag-o-matic readme.gentoo-r1 python-single-r1 vala
42 +
43 +DESCRIPTION="A versatile IDE for GNOME"
44 +HOMEPAGE="https://wiki.gnome.org/Apps/Anjuta"
45 +
46 +LICENSE="GPL-2+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
49 +
50 +IUSE="debug devhelp glade +introspection packagekit subversion terminal test vala"
51 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
52 +
53 +# FIXME: automagically uses libgda:6 if available
54 +# FIXME: make python dependency non-automagic
55 +COMMON_DEPEND="
56 + >=dev-libs/glib-2.34:2[dbus]
57 + x11-libs/gdk-pixbuf:2
58 + >=x11-libs/gtk+-3.10:3
59 + >=dev-libs/libxml2-2.4.23
60 + >=dev-libs/gdl-3.5.5:3=
61 + >=x11-libs/gtksourceview-3:3.0
62 +
63 + sys-devel/autogen
64 +
65 + >=gnome-extra/libgda-5:5=
66 + dev-util/ctags
67 +
68 + x11-libs/libXext
69 + x11-libs/libXrender
70 +
71 + ${PYTHON_DEPS}
72 +
73 + devhelp? ( >=dev-util/devhelp-3.7.4:= )
74 + glade? ( >=dev-util/glade-3.12:3.10= )
75 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
76 + subversion? (
77 + >=dev-vcs/subversion-1.8:=
78 + >=net-libs/serf-1.2:1=
79 + >=dev-libs/apr-1:=
80 + >=dev-libs/apr-util-1:= )
81 + terminal? ( >=x11-libs/vte-0.27.6:2.91 )
82 + vala? ( $(vala_depend) )
83 +"
84 +RDEPEND="${COMMON_DEPEND}
85 + gnome-base/gsettings-desktop-schemas
86 + packagekit? ( app-admin/packagekit-base )
87 +"
88 +DEPEND="${COMMON_DEPEND}
89 + >=dev-lang/perl-5
90 + >=dev-util/gtk-doc-am-1.4
91 + >=dev-util/intltool-0.40.1
92 + sys-devel/bison
93 + sys-devel/flex
94 + >=sys-devel/gettext-0.17
95 + virtual/pkgconfig
96 + !!dev-libs/gnome-build
97 + test? (
98 + app-text/docbook-xml-dtd:4.1.2
99 + app-text/docbook-xml-dtd:4.5 )
100 + app-text/yelp-tools
101 + dev-libs/gobject-introspection-common
102 + gnome-base/gnome-common
103 +"
104 +# yelp-tools, gi-common and gnome-common are required by eautoreconf
105 +
106 +pkg_setup() {
107 + python-single-r1_pkg_setup
108 +}
109 +
110 +src_prepare() {
111 + if use vala; then
112 + DISABLE_AUTOFORMATTING="yes"
113 + DOC_CONTENTS="To create a generic vala project you will need to specify
114 +desired valac versioned binary to be used, to do that you
115 +will need to:
116 +1. Go to 'Build' -> 'Configure project'
117 +2. Add 'VALAC=/usr/bin/valac-X.XX' (respecting quotes) to
118 +'Configure options'."
119 + fi
120 +
121 + # COPYING is used in Anjuta's help/about entry
122 + DOCS="AUTHORS ChangeLog COPYING FUTURE MAINTAINERS NEWS README ROADMAP THANKS TODO"
123 +
124 + # Conflicts with -pg in a plugin, bug #266777
125 + filter-flags -fomit-frame-pointer
126 +
127 + # Do not build benchmarks, they are not installed and for dev purpose only
128 + sed -e '/SUBDIRS =/ s/benchmark//' \
129 + -i plugins/symbol-db/Makefile.{am,in} || die
130 +
131 + use vala && vala_src_prepare
132 + gnome2_src_prepare
133 +}
134 +
135 +src_configure() {
136 + gnome2_src_configure \
137 + --disable-neon \
138 + --disable-static \
139 + $(use_enable debug) \
140 + $(use_enable devhelp plugin-devhelp) \
141 + $(use_enable glade plugin-glade) \
142 + $(use_enable glade glade-catalog) \
143 + $(use_enable introspection) \
144 + $(use_enable packagekit) \
145 + $(use_enable subversion plugin-subversion) \
146 + $(use_enable subversion serf) \
147 + $(use_enable terminal plugin-terminal) \
148 + $(use_enable vala)
149 +}
150 +
151 +src_install() {
152 + # COPYING is used in Anjuta's help/about entry
153 + docompress -x "/usr/share/doc/${PF}/COPYING"
154 +
155 + # Anjuta uses a custom rule to install DOCS, get rid of it
156 + gnome2_src_install
157 + rm -rf "${ED}"/usr/share/doc/${PN} || die "rm failed"
158 +
159 + use vala && readme.gentoo_create_doc
160 +}
161 +
162 +pkg_postinst() {
163 + gnome2_pkg_postinst
164 + use vala && readme.gentoo_print_elog
165 +}