Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-dvb-daemon/
Date: Sun, 02 Feb 2020 10:35:53
Message-Id: 1580639723.a7b8844a7ac6d277e655573ab35e0176ffce41d4.leio@gentoo
1 commit: a7b8844a7ac6d277e655573ab35e0176ffce41d4
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 10:20:16 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 10:35:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b8844a
7
8 gnome-extra/gnome-dvb-daemon: EAPI6, python-single, py37, other fixes
9
10 * Port to EAPI-6 and drop some unnecessary eclass inherits
11 * The client code is all in python with shipped modules, so it has
12 to be python-single-r1 instead of python-any-r1 (this happened
13 to be fine with any due to only one python version supported
14 * Add python-3.7 support
15 * Drop totem plugin, as it can't function with in-tree totem anymore,
16 because it doesn't support plugins changing the UI (in addition,
17 the totem plugin was py2-only). Upstream has a grilo plugin now
18 instead, but it has never been released before the whole project
19 has fallen into de facto unmaintained status
20 * Drop useless USE=nls
21 * Drop USE=vala that doesn't do anything (the pregenerated C files
22 are always used)
23 * Fix python module optimization handling
24 * Drop questionable libltdl dep
25 * Drop perl dep - it appears only used via intltool
26 * Standard subslot depend for gobject-introspection
27
28 In general I can't get this project to do anything useful, so help
29 maintaining and/or testing this welcome, if it has any actual users.
30 Or even letting me know how to get this going properly (I do have
31 a DVB-T USB device and some terrestial channels available).
32
33 Closes: https://bugs.gentoo.org/701202
34 Package-Manager: Portage-2.3.84, Repoman-2.3.20
35 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
36
37 .../gnome-dvb-daemon-0.2.90-r1.ebuild | 53 ++++++++++++++++++++++
38 1 file changed, 53 insertions(+)
39
40 diff --git a/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.90-r1.ebuild b/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.90-r1.ebuild
41 new file mode 100644
42 index 00000000000..f5d50bf32b3
43 --- /dev/null
44 +++ b/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.90-r1.ebuild
45 @@ -0,0 +1,53 @@
46 +# Copyright 1999-2020 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI="6"
50 +PYTHON_COMPAT=( python3_{6,7} )
51 +
52 +inherit gnome2 python-single-r1
53 +
54 +DESCRIPTION="Setup your DVB devices, record and watch TV shows and browse EPG using GStreamer"
55 +HOMEPAGE="https://wiki.gnome.org/Projects/DVBDaemon"
56 +
57 +LICENSE="GPL-3+"
58 +SLOT="0"
59 +KEYWORDS="~amd64"
60 +IUSE=""
61 +
62 +RDEPEND=">=dev-libs/glib-2.32.0:2
63 + dev-libs/libgudev:0
64 + >=media-libs/gstreamer-1.4.0:1.0
65 + >=media-libs/gst-plugins-good-1.4.0:1.0
66 + >=media-libs/gst-plugins-bad-1.4.0:1.0
67 + >=dev-libs/libgee-0.8:0.8
68 + >=dev-db/sqlite-3.4:3
69 + >=media-libs/gst-rtsp-server-1.4.5:1.0
70 + media-plugins/gst-plugins-dvb:1.0
71 + dev-python/gst-python:1.0
72 + >=dev-python/pygobject-3.2.1:3
73 + >=dev-libs/gobject-introspection-1.44.0:=
74 + x11-libs/pango[introspection]
75 + x11-libs/gtk+:3[introspection]
76 + ${PYTHON_DEPS}"
77 +DEPEND="${RDEPEND}
78 + >=dev-util/intltool-0.40.0
79 + >=dev-libs/libltdl-2.2.6:0
80 + virtual/pkgconfig:0
81 + >=sys-devel/gettext-0.18.1
82 +"
83 +
84 +src_prepare() {
85 + gnome2_src_prepare
86 + python_fix_shebang .
87 +}
88 +
89 +src_configure() {
90 + # Prevent sandbox violations, bug #569992
91 + addpredict /dev
92 + gnome2_src_configure --disable-totem-plugin
93 +}
94 +
95 +src_install() {
96 + gnome2_src_install
97 + python_optimize
98 +}