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.10.ebuild ChangeLog grilo-0.2.7.ebuild grilo-0.2.8.ebuild
Date: Sat, 29 Mar 2014 19:24:15
Message-Id: 20140329192410.E94CF20054@flycatcher.gentoo.org
1 pacho 14/03/29 19:24:10
2
3 Modified: ChangeLog
4 Added: grilo-0.2.10.ebuild
5 Removed: grilo-0.2.7.ebuild grilo-0.2.8.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.38 media-libs/grilo/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.38&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.38&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?r1=1.37&r2=1.38
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v
21 retrieving revision 1.37
22 retrieving revision 1.38
23 diff -u -r1.37 -r1.38
24 --- ChangeLog 9 Mar 2014 12:02:13 -0000 1.37
25 +++ ChangeLog 29 Mar 2014 19:24:10 -0000 1.38
26 @@ -1,6 +1,12 @@
27 # ChangeLog for media-libs/grilo
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.37 2014/03/09 12:02:13 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.38 2014/03/29 19:24:10 pacho Exp $
31 +
32 +*grilo-0.2.10 (29 Mar 2014)
33 +
34 + 29 Mar 2014; Pacho Ramos <pacho@g.o> +grilo-0.2.10.ebuild,
35 + -grilo-0.2.7.ebuild, -grilo-0.2.8.ebuild:
36 + Version bump, drop old
37
38 09 Mar 2014; Pacho Ramos <pacho@g.o> grilo-0.2.9.ebuild:
39 x86 stable, bug 499954
40
41
42
43 1.1 media-libs/grilo/grilo-0.2.10.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.10.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.10.ebuild?rev=1.1&content-type=text/plain
47
48 Index: grilo-0.2.10.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.10.ebuild,v 1.1 2014/03/29 19:24:10 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_USE_DEPEND="vapigen"
60
61 inherit gnome2 python-any-r1 vala
62
63 DESCRIPTION="A framework for easy media discovery and browsing"
64 HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
65
66 LICENSE="LGPL-2.1+"
67 SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
69
70 IUSE="gtk examples +introspection +network playlist test vala"
71 REQUIRED_USE="test? ( introspection )"
72
73 RDEPEND="
74 >=dev-libs/glib-2.34:2
75 dev-libs/libxml2:2
76 net-libs/liboauth
77 gtk? ( >=x11-libs/gtk+-3:3 )
78 introspection? ( >=dev-libs/gobject-introspection-0.9 )
79 network? ( >=net-libs/libsoup-2.41.3:2.4 )
80 playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
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_gen_any_dep '
89 dev-python/pygobject:2[${PYTHON_USEDEP}]
90 dev-python/pygobject:3[${PYTHON_USEDEP}]')
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 playlist grl-pls) \
122 $(use_enable test tests) \
123 $(use_enable vala)
124 }
125
126 src_install() {
127 gnome2_src_install
128 # Upstream made this conditional on gtk-doc build...
129 emake -C doc install DESTDIR="${ED}"
130
131 # Prevent file collision with other slot
132 if use vala; then
133 mv "${ED}usr/bin/grilo-simple-playlist" \
134 "${ED}usr/bin/grilo-simple-playlist-${SLOT%/*}" || die
135 fi
136
137 if use examples; then
138 # Install example code
139 insinto /usr/share/doc/${PF}/examples
140 doins "${S}"/examples/*.c
141 fi
142 }