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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Dec 31 19:05:25 2011 UTC (8 years ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Version bump, make it work when python3 is main interpreter, remove old.

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.2.ebuild,v 1.6 2011/10/20 01:14:01 mattst88 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-2.28.4:2
28 >=dev-libs/gobject-introspection-0.10.8
29 || ( sys-fs/udev[gudev] sys-fs/udev[extras] )
30 vala? ( >=dev-lang/vala-0.12 )
31 totem? ( media-video/totem )"
32 DEPEND="${RDEPEND}
33 >=dev-lang/perl-5.8.1
34 >=dev-util/intltool-0.40.0
35 >=dev-util/pkgconfig-0.9
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 python_set_active_version 2
46 python_pkg_setup
47 }
48
49 src_prepare() {
50 # Disable byte-compilation of Python modules.
51 mv py-compile py-compile.orig
52 ln -s $(type -P true) py-compile || die
53
54 gnome2_src_prepare
55 }
56
57 pkg_postinst() {
58 python_mod_optimize gnomedvb
59 if use totem; then
60 python_mod_optimize "/usr/$(get_libdir)/totem/plugins"
61 fi
62 gnome2_pkg_postinst
63 }
64
65 pkg_postrm() {
66 python_mod_cleanup gnomedvb
67 if use totem; then
68 python_mod_cleanup "/usr/$(get_libdir)/totem/plugins"
69 fi
70 gnome2_pkg_postrm
71 }

  ViewVC Help
Powered by ViewVC 1.1.20