Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/grilo/
Date: Sat, 26 Dec 2015 14:21:05
Message-Id: 1451139631.53bdd75296c20af61e1eb76d45790f0f390ed1db.pacho@gentoo
1 commit: 53bdd75296c20af61e1eb76d45790f0f390ed1db
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 14:04:19 2015 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 14:20:31 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bdd752
7
8 media-libs/grilo: Version bump
9
10 Package-Manager: portage-2.2.26
11
12 media-libs/grilo/Manifest | 1 +
13 media-libs/grilo/grilo-0.2.15.ebuild | 87 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 88 insertions(+)
15
16 diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest
17 index 78dbabe..4680ccd 100644
18 --- a/media-libs/grilo/Manifest
19 +++ b/media-libs/grilo/Manifest
20 @@ -1,2 +1,3 @@
21 DIST grilo-0.2.12.tar.xz 617284 SHA256 55b4663550bc8185f8db232e96b9ba99fbfa9175e31e7321fa5ccaacf3617b85 SHA512 a8102dc66e30676a3fcf2be1c96b4c461b78095c03d7566216bb6c04f875b3be6a305d81464058a11f92dee00e68b2abdcb8d5c5f2a0d95732ac7dbb473820f4 WHIRLPOOL fece087c8003138e9b6a977cb3c9d60dd41364dd6b7cb2efe98efab863e38ea360daf44b90ec7a970810a8b4a980221ef73e8a4606dca8e26e52f36980ba9ffc
22 DIST grilo-0.2.14.tar.xz 622860 SHA256 79c82ea1747ae7430a648aa9660e44d88d48c968bcdaeb3b2c5cb97e1c921ccd SHA512 0c06396b6c0c97bb7602f372077126432a0bc8284c85f3e684d1d050ab7ace6f59764c79870ce26462f8e1facfbbfca5f950fa3e35999483548510c10a42e440 WHIRLPOOL 1aed02f103beaf7f0425969806ee0fb7c802e584ab8c46a335a3af9e7efe75126b1ca8c5841ac11ca99cfe6dea6391616a3373a4165a6d01c06cc3800904cdec
23 +DIST grilo-0.2.15.tar.xz 627196 SHA256 6f5d2583250a68e76d281edaa08adb880d5a78ed46f9ecd22ae4715f1dd66815 SHA512 ac0a76d9075e5383fe1a56277b23986a8ec8e86f01f3f782ac7dc79539904712c22295c679243604b619f24088a1210622e0699b5601678264bd7651012ded3e WHIRLPOOL 6ea64142e1a4923d0ea3554ec3591f2c3dd6d30fdeaccde9a2a8e48d3e62ff1cd38b23a9eb39aa4c79c3a93c800e7dbfb4ad3a278e92d5ac57cb2e374a18f793
24
25 diff --git a/media-libs/grilo/grilo-0.2.15.ebuild b/media-libs/grilo/grilo-0.2.15.ebuild
26 new file mode 100644
27 index 0000000..e87bbcf
28 --- /dev/null
29 +++ b/media-libs/grilo/grilo-0.2.15.ebuild
30 @@ -0,0 +1,87 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
37 +GNOME2_LA_PUNT="yes"
38 +PYTHON_COMPAT=( python2_7 )
39 +VALA_MIN_API_VERSION="0.28"
40 +VALA_USE_DEPEND="vapigen"
41 +
42 +inherit gnome2 python-any-r1 vala
43 +
44 +DESCRIPTION="A framework for easy media discovery and browsing"
45 +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
46 +
47 +LICENSE="LGPL-2.1+"
48 +SLOT="0.2/1" # subslot is libgrilo-0.2 soname suffix
49 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
50 +
51 +IUSE="gtk examples +introspection +network playlist test vala"
52 +REQUIRED_USE="test? ( introspection )"
53 +
54 +RDEPEND="
55 + >=dev-libs/glib-2.44:2
56 + dev-libs/libxml2:2
57 + net-libs/liboauth
58 + gtk? ( >=x11-libs/gtk+-3:3 )
59 + introspection? ( >=dev-libs/gobject-introspection-0.9:= )
60 + network? ( >=net-libs/libsoup-2.41.3:2.4 )
61 + playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
62 +"
63 +DEPEND="${RDEPEND}
64 + >=dev-util/gtk-doc-am-1.10
65 + >=dev-util/intltool-0.40
66 + virtual/pkgconfig
67 + vala? ( $(vala_depend) )
68 + test? (
69 + $(python_gen_any_dep '
70 + dev-python/pygobject:2[${PYTHON_USEDEP}]
71 + dev-python/pygobject:3[${PYTHON_USEDEP}]')
72 + media-plugins/grilo-plugins:0.2 )
73 +"
74 +# eautoreconf requires gnome-common
75 +
76 +python_check_deps() {
77 + has_version "dev-python/pygobject:2[${PYTHON_USEDEP}]" && \
78 + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]"
79 +}
80 +
81 +pkg_setup() {
82 + use test && python-any-r1_pkg_setup
83 +}
84 +
85 +src_prepare() {
86 + # Don't build examples
87 + sed -e '/SUBDIRS/s/examples//' \
88 + -i Makefile.am -i Makefile.in || die
89 +
90 + use vala && vala_src_prepare
91 + gnome2_src_prepare
92 +}
93 +
94 +src_configure() {
95 + # --enable-debug only changes CFLAGS, useless for us
96 + gnome2_src_configure \
97 + --disable-static \
98 + --disable-debug \
99 + $(use_enable gtk test-ui) \
100 + $(use_enable introspection) \
101 + $(use_enable network grl-net) \
102 + $(use_enable playlist grl-pls) \
103 + $(use_enable test tests) \
104 + $(use_enable vala)
105 +}
106 +
107 +src_install() {
108 + gnome2_src_install
109 + # Upstream made this conditional on gtk-doc build...
110 + emake -C doc install DESTDIR="${ED}"
111 +
112 + if use examples; then
113 + # Install example code
114 + insinto /usr/share/doc/${PF}/examples
115 + doins "${S}"/examples/*.c
116 + fi
117 +}