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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 6 06:37:52 2012 UTC (7 years, 3 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump, drop old.

(Portage version: 2.1.11.24/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.8.ebuild,v 1.2 2012/05/05 06:25:17 jdhore Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 PYTHON_DEPEND="2:2.5"
8
9 inherit eutils python gnome2 multilib
10
11 DESCRIPTION="Setup your DVB devices, record and watch TV shows and browse EPG using GStreamer"
12 HOMEPAGE="http://live.gnome.org/DVBDaemon"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="nls totem vala"
18
19 RDEPEND=">=dev-libs/glib-2.32.0
20 >=media-libs/gstreamer-0.10.29
21 >=media-libs/gst-plugins-good-0.10.14
22 >=media-libs/gst-plugins-bad-0.10.13
23 >=dev-libs/libgee-0.5:0
24 >=dev-db/sqlite-3.4
25 >=media-libs/gst-rtsp-server-0.10.7
26 media-plugins/gst-plugins-dvb
27 dev-python/gst-python
28 >=dev-python/pygobject-3.0.4:3
29 >=dev-libs/gobject-introspection-0.10.8
30 || ( sys-fs/udev[gudev] sys-fs/udev[extras] )
31 vala? ( >=dev-lang/vala-0.16:0.16 )
32 totem? ( media-video/totem )"
33 DEPEND="${RDEPEND}
34 >=dev-lang/perl-5.8.1
35 >=dev-util/intltool-0.40.0
36 virtual/pkgconfig
37 nls? ( >=sys-devel/gettext-0.18.1 )
38 >=sys-devel/libtool-2.2.6"
39
40 pkg_setup() {
41 G2CONF="${G2CONF} \
42 $(use_enable nls)
43 $(use_enable totem totem-plugin)"
44 use totem && G2CONF="${G2CONF} \
45 --with-totem-plugin-dir=/usr/$(get_libdir)/totem/plugins"
46 # configure looks for 'valac', but we have 'valac-<version>'
47 use vala && G2CONF="${G2CONF} \
48 VALAC=${EPREFIX}/usr/bin/valac-0.16"
49
50 python_set_active_version 2
51 python_pkg_setup
52 }
53
54 src_prepare() {
55 # Disable byte-compilation of Python modules.
56 echo '#!/bin/sh' > py-compile
57 gnome2_src_prepare
58 python_convert_shebangs -r 2 .
59 }
60
61 pkg_postinst() {
62 python_mod_optimize gnomedvb
63 if use totem; then
64 python_mod_optimize "/usr/$(get_libdir)/totem/plugins"
65 fi
66 gnome2_pkg_postinst
67 }
68
69 pkg_postrm() {
70 python_mod_cleanup gnomedvb
71 if use totem; then
72 python_mod_cleanup "/usr/$(get_libdir)/totem/plugins"
73 fi
74 gnome2_pkg_postrm
75 }

  ViewVC Help
Powered by ViewVC 1.1.20