Cygport Reference Manual

### TABLE OF CONTENTS

- gst-plugins.cygclass

- GST_PLUGINS_ENABLE
- GST_PLUGINS_DISABLE
- SUMMARY (gst-plugins)
- gst_plugins_autoreconf
- gst_plugins_compile
- gst_plugins_install
- src_compile (gst-plugins)
- src_install (gst-plugins)

## gst-plugins.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

      GST_PLUGINS_ENABLE=...
      [GST_PLUGINS_DISABLE=...]
      inherit gst-plugins

DESCRIPTION

For an introduction to GStreamer, see gstreamer.cygclass.

Since the 0.9/0.10 series, GStreamer ships most of their plugins in four bundles (base, good, bad, and ugly), each of which contain a number of plugins, some with external dependencies and some without. There also exist several packages which contain a single plugin or a very few related plugins.

This Cygclass handles GStreamer's unique build system requirements, as well as the de/selection of plugins with external dependencies.

INHERITS

autotools.cygclass, gstreamer.cygclass

## GST_PLUGINS_ENABLE

[ Top ] [ gst-plugins.cygclass ] [ Variables ]

DESCRIPTION

This variable controls which plugins with external dependencies will be built. It must be defined as a string, with plugins indicated by their configure argument.

Because the name of the plugin often corresponds to its configure argument (e.g. ogg -> libgstogg.la), these plugins can easily be packaged separately with a 'for' loop with this variable as the iterator collection.

SEE ALSO

GST_PLUGINS_DISABLE

## GST_PLUGINS_DISABLE

[ Top ] [ gst-plugins.cygclass ] [ Variables ]

DESCRIPTION

This variable controls which plugins will not be built, even if their dependencies are present. It must be defined as a string, with plugins indicated by their configure argument.

SEE ALSO

GST_PLUGINS_ENABLE

## SUMMARY (gst-plugins)

[ Top ] [ gst-plugins.cygclass ] [ Overloads ]

DEFINITION

    SUMMARY="${gst_pn} plugin for the GStreamer multimedia framework"

## gst_plugins_autoreconf

[ Top ] [ gst-plugins.cygclass ] [ Compile Functions ]

DESCRIPTION

Alias for gstreamer_autoreconf.

## gst_plugins_compile

[ Top ] [ gst-plugins.cygclass ] [ Compile Functions ]

DESCRIPTION

First, cygconf is called with several GStreamer-specific arguments which apply to all plugin packages, as well as the necessary arguments to enable or disable plugins with external dependencies, per the value of GST_PLUGINS_ENABLE and GST_PLUGINS_DISABLE. Then cygmake is called to build the package.

gst_plugins_compile optionally accepts additional configure flags as arguments, which are passed to cygconf.

## gst_plugins_install

[ Top ] [ gst-plugins.cygclass ] [ Install Functions ]

DESCRIPTION

Alias for cyginstall.

## src_compile (gst-plugins)

[ Top ] [ gst-plugins.cygclass ] [ Overloads ]

DEFINITION

    src_compile() {
            cd ${S}
            gst_plugins_autoreconf
            cd ${B}
            gst_plugins_compile
    }

## src_install (gst-plugins)

[ Top ] [ gst-plugins.cygclass ] [ Overloads ]

DEFINITION

    src_install() {
            cd ${B}
            gst_plugins_install
    }