/[gentoo-x86]/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.10.ebuild
Gentoo

Contents of /gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jul 24 18:38:15 2014 UTC (5 years, 5 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
Use virtual/libgudev instead of virtual/udev.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.10.ebuild,v 1.5 2013/03/25 15:49:28 ago Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 PYTHON_DEPEND="2:2.5"
8 VALA_MIN_API_VERSION="0.16"
9
10 inherit eutils python gnome2 multilib vala
11
12 DESCRIPTION="Setup your DVB devices, record and watch TV shows and browse EPG using GStreamer"
13 HOMEPAGE="https://live.gnome.org/DVBDaemon"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="amd64"
18 IUSE="nls totem vala"
19
20 RDEPEND=">=dev-libs/glib-2.32.0:2
21 >=media-libs/gstreamer-0.10.29:0.10
22 >=media-libs/gst-plugins-good-0.10.14:0.10
23 >=media-libs/gst-plugins-bad-0.10.13:0.10
24 >=dev-libs/libgee-0.5:0
25 >=dev-db/sqlite-3.4
26 >=media-libs/gst-rtsp-server-0.10.7:0.10
27 media-plugins/gst-plugins-dvb:0.10
28 dev-python/gst-python:0.10
29 >=dev-python/pygobject-3.2.1:3
30 >=dev-libs/gobject-introspection-0.10.8
31 x11-libs/gtk+:3[introspection]
32 virtual/libgudev
33 vala? ( $(vala_depend) )
34 totem? ( media-video/totem )"
35 DEPEND="${RDEPEND}
36 >=dev-lang/perl-5.8.1
37 >=dev-util/intltool-0.40.0
38 virtual/pkgconfig
39 nls? ( >=sys-devel/gettext-0.18.1 )
40 >=sys-devel/libtool-2.2.6"
41
42 pkg_setup() {
43 G2CONF="${G2CONF} \
44 $(use_enable nls)
45 $(use_enable totem totem-plugin)"
46 use totem && G2CONF="${G2CONF} \
47 --with-totem-plugin-dir=/usr/$(get_libdir)/totem/plugins"
48
49 python_set_active_version 2
50 python_pkg_setup
51 }
52
53 src_prepare() {
54 python_clean_py-compile_files
55 python_convert_shebangs -r 2 .
56 gnome2_src_prepare
57 use vala && vala_src_prepare
58 }
59
60 pkg_postinst() {
61 python_mod_optimize gnomedvb
62 if use totem; then
63 python_mod_optimize "/usr/$(get_libdir)/totem/plugins"
64 fi
65 gnome2_pkg_postinst
66 }
67
68 pkg_postrm() {
69 python_mod_cleanup gnomedvb
70 if use totem; then
71 python_mod_cleanup "/usr/$(get_libdir)/totem/plugins"
72 fi
73 gnome2_pkg_postrm
74 }

  ViewVC Help
Powered by ViewVC 1.1.20