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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Fri Mar 29 22:34:46 2013 UTC (6 years, 10 months ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Clean up old revision.

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 mattst88 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 eva 1.5 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-dvb-daemon/gnome-dvb-daemon-0.2.9.ebuild,v 1.4 2012/12/11 09:27:56 ssuominen Exp $
4 mattst88 1.1
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 ago 1.2 KEYWORDS="amd64"
17 mattst88 1.1 IUSE="nls totem vala"
18    
19     RDEPEND=">=dev-libs/glib-2.32.0
20 tetromino 1.3 >=media-libs/gstreamer-0.10.29:0.10
21     >=media-libs/gst-plugins-good-0.10.14:0.10
22     >=media-libs/gst-plugins-bad-0.10.13:0.10
23 mattst88 1.1 >=dev-libs/libgee-0.5:0
24     >=dev-db/sqlite-3.4
25 tetromino 1.3 >=media-libs/gst-rtsp-server-0.10.7:0.10
26     media-plugins/gst-plugins-dvb:0.10
27     dev-python/gst-python:0.10
28 mattst88 1.1 >=dev-python/pygobject-3.2.1:3
29     >=dev-libs/gobject-introspection-0.10.8
30 ssuominen 1.4 virtual/udev[gudev]
31 mattst88 1.1 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