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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (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.3: +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.5.ebuild,v 1.3 2012/05/05 06:25:17 jdhore Exp $
4
5 EAPI="3"
6
7 inherit eutils python gnome2 multilib
8
9 DESCRIPTION="Setup your DVB devices, record and watch TV shows and browse EPG using GStreamer"
10 HOMEPAGE="http://live.gnome.org/DVBDaemon"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64"
15 IUSE="nls totem vala"
16
17 RDEPEND=">=dev-libs/glib-2.28.5
18 >=media-libs/gstreamer-0.10.29
19 >=media-libs/gst-plugins-good-0.10.14
20 >=media-libs/gst-plugins-bad-0.10.13
21 >=dev-libs/libgee-0.5:0
22 >=dev-db/sqlite-3.4
23 >=media-libs/gst-rtsp-server-0.10.7
24 media-plugins/gst-plugins-dvb
25 >=dev-lang/python-2.5
26 dev-python/gst-python
27 dev-python/pygobject:3
28 >=dev-libs/gobject-introspection-0.10.8
29 || ( sys-fs/udev[gudev] sys-fs/udev[extras] )
30 vala? ( >=dev-lang/vala-0.14 )
31 totem? ( media-video/totem )"
32 DEPEND="${RDEPEND}
33 >=dev-lang/perl-5.8.1
34 >=dev-util/intltool-0.40.0
35 virtual/pkgconfig
36 nls? ( >=sys-devel/gettext-0.18.1 )
37 >=sys-devel/libtool-2.2.6"
38
39 pkg_setup() {
40 G2CONF="${G2CONF} \
41 $(use_enable nls)
42 $(use_enable totem totem-plugin)"
43 use totem && G2CONF="${G2CONF} \
44 --with-totem-plugin-dir=/usr/$(get_libdir)/totem/plugins"
45 # configure looks for 'valac', but we have 'valac-<version>'
46 use vala && G2CONF="${G2CONF} \
47 VALAC=${EPREFIX}/usr/bin/valac-0.14"
48 python_set_active_version 2
49 python_pkg_setup
50 }
51
52 src_prepare() {
53 # Disable byte-compilation of Python modules.
54 mv py-compile py-compile.orig
55 ln -s $(type -P true) py-compile || die
56
57 gnome2_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