Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/cheese/
Date: Fri, 03 Aug 2018 11:46:04
Message-Id: 1533296730.8a7a6747ba0b55f7d32088ffc9e29bf1043d5e42.leio@gentoo
1 commit: 8a7a6747ba0b55f7d32088ffc9e29bf1043d5e42
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 3 11:13:02 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 3 11:45:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7a6747
7
8 media-video/cheese: bump to 3.28.0, remove unnecessary vala dep
9
10 Remove unnecessary vala dep; tarball comes with pregenerated C and
11 does not even use valac as we build it (as C code is present and
12 regeneration with system vala version is not triggered).
13 Also workaround unnecessary glib[utils] requirement: upstream
14 configure checks for gtester-report and disables tests as a whole
15 when not found, when actually the default "make check" target
16 doesn't use it; thus just make the configure check be happy
17 without gtester-report present and remove the USE dep.
18
19 Package-Manager: Portage-2.3.43, Repoman-2.3.10
20
21 media-video/cheese/Manifest | 1 +
22 media-video/cheese/cheese-3.28.0.ebuild | 71 +++++++++++++++++++++++++++++++++
23 2 files changed, 72 insertions(+)
24
25 diff --git a/media-video/cheese/Manifest b/media-video/cheese/Manifest
26 index 2ed89583559..f12a10ba1e4 100644
27 --- a/media-video/cheese/Manifest
28 +++ b/media-video/cheese/Manifest
29 @@ -1 +1,2 @@
30 DIST cheese-3.24.0.tar.xz 1846412 BLAKE2B bc18ee7009f4297df232c0ffdc40f5783891f721efe137e4127c7ea61595dcb033e98b415ea31e5918d93c408355e6534ddd95687a570b5abcc1c5ce0603d262 SHA512 c81d2f3038970f735960a2cbcec3a074ac2e9835d3f1fa6aae83d65299692d0464fed274e71caa59831a105430ce5db56557ea0cda27c72cdb050a59331b3107
31 +DIST cheese-3.28.0.tar.xz 1544904 BLAKE2B cdad63b4175bb52c3a77ee5ed0058afdd8b5d509ef17b5931d2f01457b9ff327d3ad270ad963e3185c928ddc7203b00163137a789683669d3f8c39d5a9926da8 SHA512 c52b083b132a8c885df55def3d6bf96180fc93c8b7368f48412c8dd63e073a268ff0e86959a977bd8bf372a53e127419b96046d92cb3a96674f86cfb3477ceea
32
33 diff --git a/media-video/cheese/cheese-3.28.0.ebuild b/media-video/cheese/cheese-3.28.0.ebuild
34 new file mode 100644
35 index 00000000000..8b870aafa45
36 --- /dev/null
37 +++ b/media-video/cheese/cheese-3.28.0.ebuild
38 @@ -0,0 +1,71 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +
44 +inherit gnome2 virtualx
45 +
46 +DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
47 +HOMEPAGE="https://wiki.gnome.org/Apps/Cheese"
48 +
49 +LICENSE="GPL-2+"
50 +SLOT="0/8" # subslot = libcheese soname version
51 +IUSE="+introspection"
52 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
53 +
54 +COMMON_DEPEND="
55 + >=dev-libs/glib-2.39.90:2
56 + >=x11-libs/gtk+-3.13.4:3[introspection?]
57 + >=gnome-base/gnome-desktop-2.91.6:3=
58 + >=media-libs/libcanberra-0.26[gtk3]
59 + >=media-libs/clutter-1.13.2:1.0[introspection?]
60 + >=media-libs/clutter-gtk-0.91.8:1.0
61 + media-libs/clutter-gst:3.0
62 + media-libs/cogl:1.0=[introspection?]
63 +
64 + media-video/gnome-video-effects
65 + x11-libs/gdk-pixbuf:2[jpeg,introspection?]
66 + x11-libs/libX11
67 + x11-libs/libXtst
68 +
69 + >=media-libs/gstreamer-1.4:1.0[introspection?]
70 + >=media-libs/gst-plugins-base-1.4:1.0[introspection?,ogg,pango,theora,vorbis,X]
71 +
72 + introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
73 +"
74 +RDEPEND="${COMMON_DEPEND}
75 + >=media-libs/gst-plugins-bad-1.4:1.0
76 + >=media-libs/gst-plugins-good-1.4:1.0
77 +
78 + >=media-plugins/gst-plugins-jpeg-1.4:1.0
79 + >=media-plugins/gst-plugins-v4l2-1.4:1.0
80 + >=media-plugins/gst-plugins-vpx-1.4:1.0
81 +"
82 +# libxml2+gdk-pixbuf required for glib-compile-resources
83 +DEPEND="${COMMON_DEPEND}
84 + app-text/docbook-xml-dtd:4.3
85 + app-text/yelp-tools
86 + dev-libs/appstream-glib
87 + dev-libs/libxml2:2
88 + dev-libs/libxslt
89 + >=dev-util/gtk-doc-am-1.14
90 + >=dev-util/intltool-0.50
91 + dev-util/itstool
92 + virtual/pkgconfig
93 + x11-base/xorg-proto
94 +"
95 +
96 +src_configure() {
97 + gnome2_src_configure \
98 + GST_INSPECT=$(type -P true) \
99 + GTESTER_REPORT=$(type -P true) \
100 + VALAC=$(type -P true) \
101 + $(use_enable introspection) \
102 + --disable-lcov \
103 + --disable-static
104 +}
105 +
106 +src_test() {
107 + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
108 + GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
109 +}