From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E432D1396D0 for ; Tue, 12 Sep 2017 06:28:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 338051FC0C0; Tue, 12 Sep 2017 06:28:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0854A1FC0C0 for ; Tue, 12 Sep 2017 06:28:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D9EC3417DA for ; Tue, 12 Sep 2017 06:28:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6AA799082 for ; Tue, 12 Sep 2017 06:28:04 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1505197651.a5ea01530579a9c495faf98e6d6f8a888cd81f99.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/grilo/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/grilo/Manifest media-libs/grilo/grilo-0.3.4.ebuild X-VCS-Directories: media-libs/grilo/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: a5ea01530579a9c495faf98e6d6f8a888cd81f99 X-VCS-Branch: master Date: Tue, 12 Sep 2017 06:28:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ab590953-9d28-4ebd-ba3c-79f9330a763b X-Archives-Hash: 92ea7e7e505f1f8826bb30a8b0e7998b commit: a5ea01530579a9c495faf98e6d6f8a888cd81f99 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Tue Sep 12 06:22:12 2017 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Tue Sep 12 06:27:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ea0153 media-libs/grilo: version bump 0.3.3 → 0.3.4 Translation updates. Get EXIF data from flickr. Package-Manager: Portage-2.3.8, Repoman-2.3.3 media-libs/grilo/Manifest | 1 + media-libs/grilo/grilo-0.3.4.ebuild | 88 +++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest index 52830748edb..0692b48fc6f 100644 --- a/media-libs/grilo/Manifest +++ b/media-libs/grilo/Manifest @@ -1,2 +1,3 @@ DIST grilo-0.2.15.tar.xz 627196 SHA256 6f5d2583250a68e76d281edaa08adb880d5a78ed46f9ecd22ae4715f1dd66815 SHA512 ac0a76d9075e5383fe1a56277b23986a8ec8e86f01f3f782ac7dc79539904712c22295c679243604b619f24088a1210622e0699b5601678264bd7651012ded3e WHIRLPOOL 6ea64142e1a4923d0ea3554ec3591f2c3dd6d30fdeaccde9a2a8e48d3e62ff1cd38b23a9eb39aa4c79c3a93c800e7dbfb4ad3a278e92d5ac57cb2e374a18f793 DIST grilo-0.3.3.tar.xz 641440 SHA256 5c874222c7bdf42490cd56765a593c41407247706bb1f24a1bd5d007aa38a0e3 SHA512 5ea94903c7ce0360eec0bb72c0a6c211a83da087538bac1274e8521360364bd852d0f63a27f85119d75541d323f0fbc89b21a577109cc3ee4faa6e33b105be5f WHIRLPOOL aba3474b3753582bd645cd0ca34051601fb3b15a2d6b4db58beb997b1ad1518fb3a2c79901604646b8edb4a84e2b620bb0b8f1861a5df0c3169d47e07ba93d5c +DIST grilo-0.3.4.tar.xz 644616 SHA256 7c6964053b42574c2f14715d2392a02ea5cbace955eb73e067c77aa3e43b066e SHA512 d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145 WHIRLPOOL 3157c3a6f88eff6a56eb6a5682236859212848cddfade088f5fc4731ac019ded90903ec080a411ce86212e3cda766a76bfc470969f52679470cba38de92fe536 diff --git a/media-libs/grilo/grilo-0.3.4.ebuild b/media-libs/grilo/grilo-0.3.4.ebuild new file mode 100644 index 00000000000..f5abb7f7336 --- /dev/null +++ b/media-libs/grilo/grilo-0.3.4.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_LA_PUNT="yes" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +VALA_MIN_API_VERSION="0.28" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 python-any-r1 vala virtualx + +DESCRIPTION="A framework for easy media discovery and browsing" +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" + +LICENSE="LGPL-2.1+" +SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk examples +introspection +network playlist test vala" +REQUIRED_USE="test? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + dev-libs/libxml2:2 + net-libs/liboauth + gtk? ( >=x11-libs/gtk+-3:3 ) + introspection? ( >=dev-libs/gobject-introspection-0.9:= ) + network? ( >=net-libs/libsoup-2.41.3:2.4 ) + playlist? ( >=dev-libs/totem-pl-parser-3.4.1 ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.40 + virtual/pkgconfig + vala? ( $(vala_depend) ) + test? ( + ${PYTHON_DEPS} + media-plugins/grilo-plugins:${SLOT%/*} ) +" +# eautoreconf requires gnome-common + +pkg_setup() { + # Python tests are currently commented out, but this is done via in exit(0) in testrunner.py + # thus it still needs $PYTHON set up, which python-any-r1_pkg_setup will do for us + use test && python-any-r1_pkg_setup +} + +src_prepare() { + sed -e "s:GETTEXT_PACKAGE=grilo$:GETTEXT_PACKAGE=grilo-${SLOT%/*}:" \ + -i configure.ac configure || die "sed configure.ac configure failed" + + # Don't build examples + sed -e '/SUBDIRS/s/examples//' \ + -i Makefile.am -i Makefile.in || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # --enable-debug only changes CFLAGS, useless for us + gnome2_src_configure \ + --disable-static \ + --disable-debug \ + $(use_enable gtk test-ui) \ + $(use_enable introspection) \ + $(use_enable network grl-net) \ + $(use_enable playlist grl-pls) \ + $(use_enable test tests) \ + $(use_enable vala) +} + +src_test() { + virtx emake check +} + +src_install() { + gnome2_src_install + # Upstream made this conditional on gtk-doc build... + DOC_MODULE_VERSION=${SLOT%/*} \ + emake -C doc install DESTDIR="${ED}" + + if use examples; then + # Install example code + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/*.c + fi +}