Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/anjuta/
Date: Wed, 02 Nov 2016 08:34:15
Message-Id: 1478075621.a267c9539fe32e42dd270463188a45131a6e0497.eva@gentoo
1 commit: a267c9539fe32e42dd270463188a45131a6e0497
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 08:20:36 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 08:33:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a267c953
7
8 dev-util/anjuta: version bump 3.20.0 → 3.22.0
9
10 Package-Manager: portage-2.3.2
11
12 dev-util/anjuta/Manifest | 1 +
13 dev-util/anjuta/anjuta-3.22.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 c8c78be..65b85e3 100644
18 --- a/dev-util/anjuta/Manifest
19 +++ b/dev-util/anjuta/Manifest
20 @@ -1 +1,2 @@
21 DIST anjuta-3.20.0.tar.xz 6386836 SHA256 a676c587a28f784ec2096775460cd29fafc3f0216c53e0821641bcd9126b6935 SHA512 8564f685207c2b599e1f6f93889cbe6d743d0df497fcb5c1a82077acb08356c3556ba28236dd3214577bf00d2880a1e3cec1b2abe3d1ac4cb0b7862c747d31fe WHIRLPOOL e1ff8c587f1a29d203a63d6ee3ccf80650ff4b83edb09ae1319625ad6b7ba70d630e6fd372089d3445303f0ff4a4fa37e289dcd350335927cc91f3e1c8de944f
22 +DIST anjuta-3.22.0.tar.xz 6363016 SHA256 4face1c063a5a6687a6cfc6f1f700ba15f13664633c05caa2fbf50317608dd03 SHA512 64689392bfe6102698ef8a1ce62aac37bffd793b917ef6ffc53cb5b8aa9eb5b8961a999c32db559e9e348bcf46a7ec0ca9448100910b52885ddff898a62f3295 WHIRLPOOL 354f680a0970e0eacf2cbc885e91a5f190f10162699f3ab144d144dee92e4c308653b1f75e388afa3f20434b422f3aa340bedabcbdc9ba1348a33426b3af5586
23
24 diff --git a/dev-util/anjuta/anjuta-3.22.0.ebuild b/dev-util/anjuta/anjuta-3.22.0.ebuild
25 new file mode 100644
26 index 00000000..c1930c8
27 --- /dev/null
28 +++ b/dev-util/anjuta/anjuta-3.22.0.ebuild
29 @@ -0,0 +1,136 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes"
36 +PYTHON_COMPAT=( python2_7 )
37 +# libanjuta-language-vala.so links to a specific slot of libvala; we want to
38 +# avoid automagic behavior.
39 +VALA_MIN_API_VERSION="0.32"
40 +VALA_MAX_API_VERSION="${VALA_MIN_API_VERSION}"
41 +
42 +inherit gnome2 flag-o-matic readme.gentoo-r1 python-single-r1 vala
43 +
44 +DESCRIPTION="A versatile IDE for GNOME"
45 +HOMEPAGE="https://wiki.gnome.org/Apps/Anjuta"
46 +
47 +LICENSE="GPL-2+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
50 +
51 +IUSE="debug devhelp glade +introspection packagekit subversion terminal test vala"
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
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 +}