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.6.ebuild ChangeLog grilo-0.2.3.ebuild
Date: Sun, 26 May 2013 11:20:48
Message-Id: 20130526112045.2DA5E2171D@flycatcher.gentoo.org
1 pacho 13/05/26 11:20:45
2
3 Modified: ChangeLog
4 Added: grilo-0.2.6.ebuild
5 Removed: grilo-0.2.3.ebuild
6 Log:
7 Version bump, remove old
8
9 (Portage version: 2.1.12.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.26 media-libs/grilo/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.26&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?rev=1.26&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/ChangeLog?r1=1.25&r2=1.26
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v
21 retrieving revision 1.25
22 retrieving revision 1.26
23 diff -u -r1.25 -r1.26
24 --- ChangeLog 12 May 2013 07:31:14 -0000 1.25
25 +++ ChangeLog 26 May 2013 11:20:45 -0000 1.26
26 @@ -1,6 +1,13 @@
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.25 2013/05/12 07:31:14 patrick Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/ChangeLog,v 1.26 2013/05/26 11:20:45 pacho Exp $
31 +
32 +*grilo-0.2.6 (26 May 2013)
33 +
34 + 26 May 2013; Pacho Ramos <pacho@g.o>
35 + +files/grilo-0.2.6-testui-crash.patch, +grilo-0.2.6.ebuild,
36 + -grilo-0.2.3.ebuild:
37 + Version bump, remove old
38
39 12 May 2013; Patrick Lauer <patrick@g.o> metadata.xml:
40 Add doctype to metadata.xml
41
42
43
44 1.1 media-libs/grilo/grilo-0.2.6.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/grilo/grilo-0.2.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: grilo-0.2.6.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-libs/grilo/grilo-0.2.6.ebuild,v 1.1 2013/05/26 11:20:45 pacho Exp $
54
55 EAPI="5"
56 GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
57 GNOME2_LA_PUNT="yes"
58 PYTHON_COMPAT=( python2_{6,7} )
59 VALA_MIN_API_VERSION="0.12"
60 VALA_MAX_API_VERSION="0.20" # explicitly specified in configure
61 VALA_USE_DEPEND="vapigen"
62
63 inherit eutils gnome2 vala python-single-r1
64
65 DESCRIPTION="A framework for easy media discovery and browsing"
66 HOMEPAGE="https://live.gnome.org/Grilo"
67
68 LICENSE="LGPL-2.1+"
69 SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix
70 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
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 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 "
81 DEPEND="${RDEPEND}
82 >=dev-util/gtk-doc-am-1.10
83 virtual/pkgconfig
84 vala? ( $(vala_depend) )
85 test? (
86 ${PYTHON_DEPS}
87 dev-python/pygobject:2[${PYTHON_USEDEP}]
88 dev-python/pygobject:3[${PYTHON_USEDEP}]
89 media-plugins/grilo-plugins:0.2 )
90 "
91 # eautoreconf requires gnome-common
92
93 pkg_setup() {
94 use test && python-single-r1_pkg_setup
95 }
96
97 src_prepare() {
98 # Don't build examples
99 sed -e '/SUBDIRS/s/examples//' \
100 -i Makefile.am -i Makefile.in || die
101
102 # Check if there is a reply from OAuth, upstream bug #700478
103 epatch "${FILESDIR}/${P}-testui-crash.patch"
104
105 use vala && vala_src_prepare
106 gnome2_src_prepare
107 }
108
109 src_configure() {
110 # --enable-debug only changes CFLAGS, useless for us
111 gnome2_src_configure \
112 --disable-static \
113 --disable-debug \
114 $(use_enable gtk test-ui) \
115 $(use_enable introspection) \
116 $(use_enable network grl-net) \
117 $(use_enable test tests) \
118 $(use_enable vala)
119 }
120
121 src_install() {
122 gnome2_src_install
123 # Upstream made this conditional on gtk-doc build...
124 emake -C doc install DESTDIR="${ED}"
125
126 # Prevent file collision with other slot
127 if use vala; then
128 mv "${ED}usr/bin/grilo-simple-playlist" \
129 "${ED}usr/bin/grilo-simple-playlist-${SLOT%/*}" || die
130 fi
131
132 if use examples; then
133 # Install example code
134 insinto /usr/share/doc/${PF}/examples
135 doins "${S}"/examples/*.c
136 fi
137 }