Ticket #266: freesmartphone-framework-20090704.ebuild

File freesmartphone-framework-20090704.ebuild, 1.7 KB (added by aelia, 3 years ago)

added USEs for mp3 vorbis ivorbis sid and dep over gst-plugins-alsa

Line 
1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5inherit distutils
6inherit git
7
8EAPI=2
9
10DESCRIPTION="The FreeSmartPhone.org framework APIs."
11HOMEPAGE="http://www.freesmartphone.org/"
12
13EGIT_REPO_URI="git://git.freesmartphone.org/framework.git"
14EGIT_PROJECT="framework"
15EGIT_TREE="116599e055df9833fcf050311cdedf54074f25ae"
16
17LICENSE="GPL-2"
18SLOT="0"
19KEYWORDS="~arm"
20IUSE="gsm gps readline vorbis ivorbis mp3 sid"
21DOCS="README"
22
23RDEPEND="dev-python/dbus-python
24    vorbis? (
25          !ivorbis? (
26            media-plugins/gst-plugins-vorbis
27            media-plugins/gst-plugins-ogg
28           )
29         )
30    ivorbis? (
31          media-plugins/gst-plugins-ivorbis
32          media-plugins/gst-plugins-ogg
33         )
34        mp3? (
35          media-plugins/gst-plugins-mad
36         )
37        sid? (
38      media-plugins/gst-plugins-sidplay
39         )
40
41        media-plugins/gst-plugins-alsa
42
43        dev-python/gst-python
44        dev-python/pygobject
45        dev-python/pyyaml
46        dev-python/pyserial
47        dev-python/pyrtc
48        dev-python/pyalsaaudio
49        dev-lang/python[threads]
50        virtual/alsa-scenarios
51        gsm? (
52                ( || ( sys-mobilephone/gsm0710muxd sys-mobilephone/fso-abyss ) )
53                net-dialup/ppp
54        )
55        gps? ( || ( sci-geosciences/fso-gpsd sci-geosciences/gpsd ) )
56        readline? ( sys-libs/readline )"
57
58DEPEND="dev-python/cython
59        dev-python/setuptools"
60
61src_prepare() {
62        # Change the paths for setup.py and add the example config file
63        epatch "${FILESDIR}/${P}-setup-paths.patch"
64}
65
66src_install() {
67        distutils_src_install
68        newinitd "${FILESDIR}/frameworkd" frameworkd
69        insinto /etc
70        doins conf/example/frameworkd.conf
71}
72
73pkg_postinst() {
74        einfo "An example configuration file was installed to /etc/frameworkd.conf,"
75        einfo "please modify this configuration file to your needs!"
76}