Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/grilo: grilo-0.2.7.ebuild ChangeLog grilo-0.2.4.ebuild
Date: Sat, 28 Sep 2013 20:15:55
Message-Id: 20130928201535.772972004C@flycatcher.gentoo.org
1 pacho 13/09/28 20:15:35
2
3 Modified: ChangeLog
4 Added: grilo-0.2.7.ebuild
5 Removed: grilo-0.2.4.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.28 media-libs/grilo/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.28&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.28&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?r1=1.27&r2=1.28
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v
21 retrieving revision 1.27
22 retrieving revision 1.28
23 diff -u -r1.27 -r1.28
24 --- ChangeLog 2 Aug 2013 22:29:55 -0000 1.27
25 +++ ChangeLog 28 Sep 2013 20:15:35 -0000 1.28
26 @@ -1,6 +1,12 @@
27 # ChangeLog for media-libs/grilo
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.27 2013/08/02 22:29:55 eva Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.28 2013/09/28 20:15:35 pacho Exp $
31 +
32 +*grilo-0.2.7 (28 Sep 2013)
33 +
34 + 28 Sep 2013; Pacho Ramos <pacho@g.o> +grilo-0.2.7.ebuild,
35 + -grilo-0.2.4.ebuild:
36 + Version bump, drop old
37
38 02 Aug 2013; Gilles Dartiguelongue <eva@g.o> grilo-0.2.6.ebuild,
39 -files/grilo-0.1.16-media-source-infinite-loop.patch:
40
41
42
43 1.1 media-libs/grilo/grilo-0.2.7.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.7.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.7.ebuild?rev=1.1&content-type=text/plain
47
48 Index: grilo-0.2.7.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/grilo-0.2.7.ebuild,v 1.1 2013/09/28 20:15:35 pacho Exp $
53
54 EAPI="5"
55 GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
56 GNOME2_LA_PUNT="yes"
57 PYTHON_COMPAT=( python2_{6,7} )
58 VALA_MIN_API_VERSION="0.12"
59 VALA_MAX_API_VERSION="0.20" # explicitly specified in configure
60 VALA_USE_DEPEND="vapigen"
61
62 inherit gnome2 python-any-r1 vala
63
64 DESCRIPTION="A framework for easy media discovery and browsing"
65 HOMEPAGE="https://live.gnome.org/Grilo"
66
67 LICENSE="LGPL-2.1+"
68 SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix
69 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
70
71 IUSE="gtk examples +introspection +network test vala"
72 REQUIRED_USE="test? ( introspection )"
73
74 RDEPEND="
75 >=dev-libs/glib-2.29.10:2
76 dev-libs/libxml2:2
77 net-libs/liboauth
78 gtk? ( >=x11-libs/gtk+-3:3 )
79 introspection? ( >=dev-libs/gobject-introspection-0.9 )
80 network? ( >=net-libs/libsoup-2.41.3:2.4 )
81 "
82 DEPEND="${RDEPEND}
83 >=dev-util/gtk-doc-am-1.10
84 >=dev-util/intltool-0.40
85 virtual/pkgconfig
86 vala? ( $(vala_depend) )
87 test? (
88 ${PYTHON_DEPS}
89 dev-python/pygobject:2
90 dev-python/pygobject:3
91 media-plugins/grilo-plugins:0.2 )
92 "
93 # eautoreconf requires gnome-common
94
95 python_check_deps() {
96 has_version "dev-python/pygobject:2[${PYTHON_USEDEP}]" && \
97 has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
98 }
99
100 pkg_setup() {
101 use test && python-any-r1_pkg_setup
102 }
103
104 src_prepare() {
105 # Don't build examples
106 sed -e '/SUBDIRS/s/examples//' \
107 -i Makefile.am -i Makefile.in || die
108
109 use vala && vala_src_prepare
110 gnome2_src_prepare
111 }
112
113 src_configure() {
114 # --enable-debug only changes CFLAGS, useless for us
115 gnome2_src_configure \
116 --disable-static \
117 --disable-debug \
118 $(use_enable gtk test-ui) \
119 $(use_enable introspection) \
120 $(use_enable network grl-net) \
121 $(use_enable test tests) \
122 $(use_enable vala)
123 }
124
125 src_install() {
126 gnome2_src_install
127 # Upstream made this conditional on gtk-doc build...
128 emake -C doc install DESTDIR="${ED}"
129
130 # Prevent file collision with other slot
131 if use vala; then
132 mv "${ED}usr/bin/grilo-simple-playlist" \
133 "${ED}usr/bin/grilo-simple-playlist-${SLOT%/*}" || die
134 fi
135
136 if use examples; then
137 # Install example code
138 insinto /usr/share/doc/${PF}/examples
139 doins "${S}"/examples/*.c
140 fi
141 }