summaryrefslogtreecommitdiff
path: root/packages/media-plugins/gst-plugins-base/gst-plugins-base-0.10.32.exheres-0
blob: 65442eac345366348ee6385489d1bf5f24973116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Copyright 2008-2009 Saleem Abdulrasool <compnerd@compnerd.org>
# Distributed under the terms of the GNU General Purpose License v2

SUMMARY="Core plugins for GStreamer"
HOMEPAGE="http://gstreamer.freedesktop.org/"
DOWNLOADS="http://gstreamer.freedesktop.org/src/${PN}/${PNV}.tar.bz2"

LICENCES="LGPL-2"
SLOT="0.10"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="doc gobject-introspection udev
    udev [[ description = [ Enable GUdev-based device detection for V4L ] ]]
    gstreamer_plugins:
        alsa      [[ description = [ Audio input, output and mixing with ALSA ] ]]
        cdda      [[ description = [ Robust CD audio extraction using cdparanoia ] ]]
        libvisual [[ description = [ Audio visualization using libvisual ] ]]
        ogg       [[ description = [ Ogg multimedia container format support ] ]]
        pango     [[ description = [ Pango-based text rendering and video overlaying (needed to display subtitles) ] ]]
        theora    [[ description = [ Theora video encoding and decoding using libtheora ] ]]
        vorbis    [[ description = [ Vorbis audio support using libvorbis ] ]]
        xv        [[ description = [ Video output using the XVideo extension ] ]]
"

DEPENDENCIES="
    build:
        dev-util/pkg-config[>=0.20]
        doc? ( dev-doc/gtk-doc[>=1.3] )
        gobject-introspection? ( gnome-desktop/gobject-introspection:1[>=0.9.12] )
    build+run:
        media-libs/gstreamer:0.10[>=0.10.31][gobject-introspection?]
        dev-libs/libxml2[>=2.6]
        dev-libs/glib:2[>=2.22]
        dev-libs/orc:0.4[>=0.4.11]
        media-libs/freetype:2[>=2.0.9]
        app-text/iso-codes
        udev? ( sys-fs/udev[>=145][glib] )
        gstreamer_plugins:alsa? ( sys-sound/alsa-lib[>=0.9.1] )
        gstreamer_plugins:cdda? ( media/cdparanoia[>=0.10.2] )
        gstreamer_plugins:libvisual? ( media-libs/libvisual )
        gstreamer_plugins:ogg? ( media-libs/libogg[>=1.0] )
        gstreamer_plugins:pango? ( x11-libs/pango[>=1.16] )
        gstreamer_plugins:theora? ( media-libs/libtheora[>=1.1] )
        gstreamer_plugins:vorbis? ( media-libs/libvorbis[>=1.0] )
        gstreamer_plugins:xv? ( x11-libs/libXv )
"

DEFAULT_SRC_CONFIGURE_PARAMS=(
'--enable-experimental'
# core plugins
'--enable-adder'
'--enable-app'
'--enable-audioconvert'
'--enable-audiorate'
'--enable-audiotestsrc'
'--enable-encoding'
'--enable-ffmpegcolorspace'
'--enable-gdp'
'--enable-playback'
'--enable-audioresample'
'--enable-subparse'
'--enable-tcp'
'--enable-typefind'
'--enable-videotestsrc'
'--enable-videorate'
'--enable-videoscale'
'--enable-volume'
'--enable-iso-codes'

# deprecated vfs
'--disable-gnome_vfs'

# already have the dependencies
'--enable-gio'

'--enable-gst_v4l'

'--enable-orc'
)

DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( 'doc gtk-doc'
'gobject-introspection introspection'

# optional plugins
'gstreamer_plugins:alsa'
'gstreamer_plugins:cdda cdparanoia'
'gstreamer_plugins:libvisual'
'gstreamer_plugins:pango'
'gstreamer_plugins:theora'
'gstreamer_plugins:xv xvideo'
'gstreamer_plugins:xv xshm'
'gstreamer_plugins:ogg ogg'
'gstreamer_plugins:vorbis vorbis'
)

DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
    'udev gudev'
    'gstreamer_plugins:xv x'
)