code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def setup():
    shelltools.system("./configure --prefix=/usr \
                            --mandir=/usr/share/man \
                            --disable-debug \
                            --disable-static \
                            --disable-stripping \
                            --enable-avfilter \
                            --enable-avresample \
                            --enable-fontconfig \
                            --enable-gnutls \
                            --enable-gpl \
                            --enable-libass \
                            --enable-libbluray \
                            --enable-libfreetype \
                            --enable-libgsm \
                            --enable-libmodplug \
                            --enable-libmp3lame \
                            --enable-libopencore_amrnb \
                            --enable-libopencore_amrwb \
                            --enable-libopenjpeg \
                            --enable-libopus \
                            --enable-libpulse \
                            --enable-librtmp \
                            --enable-libschroedinger \
                            --enable-libspeex \
                            --enable-libtheora \
                            --enable-libv4l2 \
                            --enable-libvorbis \
                            --enable-libvpx \
                            --enable-libx264 \
                            --enable-libx265 \
                            --enable-libxvid \
                            --enable-pic \
                            --enable-postproc \
                            --enable-runtime-cpudetect \
                            --enable-shared \
                            --enable-swresample \
                            --enable-vdpau \
                            --enable-version3 \
                            --enable-libdc1394 \
                            --enable-libnut \
                            --enable-libcelt \
                            --enable-frei0r \
                            --enable-libcdio \
                            --enable-libvo-amrwbenc \
                            --enable-nonfree")

def build():
    autotools.make()
    autotools.make('tools/qt-faststart')
    autotools.make("doc/ff{mpeg,play,server}.1")

def install():
    autotools.rawInstall("DESTDIR=%s install-man" % get.installDIR())
    pisitools.dobin("tools/qt-faststart")
    pisitools.dodoc("Changelog", "README.md", "LICENSE.md", "COPYING*")


code:
--- libavcodec/libx265.c~	2014-03-23 23:07:50.000000000 +0100
+++ libavcodec/libx265.c	2014-04-05 19:28:05.566614823 +0200
@@ -38,8 +38,6 @@

     x265_encoder *encoder;
     x265_param   *params;
-    uint8_t      *header;
-    int           header_size;

     char *preset;
     char *tune;
@@ -66,7 +64,6 @@
     libx265Context *ctx = avctx->priv_data;

     av_frame_free(&avctx->coded_frame);
-    av_freep(&ctx->header);

     x265_param_free(ctx->params);

@@ -80,11 +77,8 @@
 {
     libx265Context *ctx = avctx->priv_data;
     x265_nal *nal;
-    uint8_t *buf;
     int sar_num, sar_den;
     int nnal;
-    int ret;
-    int i;

     if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL &&
         !av_pix_fmt_desc_get(avctx->pix_fmt)->log2_chroma_w &&
@@ -121,11 +115,11 @@
     av_reduce(&sar_num, &sar_den,
               avctx->sample_aspect_ratio.num,
               avctx->sample_aspect_ratio.den, 4096);
-    ctx->params->bEnableVuiParametersPresentFlag = 1;
-    ctx->params->bEnableAspectRatioIdc           = 1;
-    ctx->params->aspectRatioIdc                  = 255;
-    ctx->params->sarWidth                        = sar_num;
-    ctx->params->sarHeight                       = sar_den;
+    ctx->params->vui.bEnableVuiParametersPresentFlag = 1;
+    ctx->params->vui.bEnableAspectRatioIdc           = 1;
+    ctx->params->vui.aspectRatioIdc                  = 255;
+    ctx->params->vui.sarWidth                        = sar_num;
+    ctx->params->vui.sarHeight                       = sar_den;

     if (x265_max_bit_depth == 8)
         ctx->params->internalBitDepth = 8;
@@ -148,6 +142,9 @@
         ctx->params->rc.rateControlMode = X265_RC_ABR;
     }

+    if (!(avctx->flags & CODEC_FLAG_GLOBAL_HEADER))
+        ctx->params->bRepeatHeaders = 1;
+
     if (ctx->x265_opts) {
         AVDictionary *dict    = NULL;
         AVDictionaryEntry *en = NULL;
@@ -180,35 +177,23 @@
         return AVERROR_INVALIDDATA;
     }

-    ret = x265_encoder_headers(ctx->encoder, &nal, &nnal);
-    if (ret < 0) {
-        av_log(avctx, AV_LOG_ERROR, "Cannot encode headers.\n");
-        libx265_encode_close(avctx);
-        return AVERROR_INVALIDDATA;
-    }
-
-    for (i = 0; i < nnal; i++)
-        ctx->header_size += nal[i].sizeBytes;
-
-    ctx->header = av_malloc(ctx->header_size + FF_INPUT_BUFFER_PADDING_SIZE);
-    if (!ctx->header) {
-        av_log(avctx, AV_LOG_ERROR,
-               "Cannot allocate HEVC header of size %d.\n", ctx->header_size);
-        libx265_encode_close(avctx);
-        return AVERROR(ENOMEM);
-    }
+    if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) {
+        avctx->extradata_size = x265_encoder_headers(ctx->encoder, &nal, &nnal);
+        if (avctx->extradata_size <= 0) {
+            av_log(avctx, AV_LOG_ERROR, "Cannot encode headers.\n");
+            libx265_encode_close(avctx);
+            return AVERROR_INVALIDDATA;
+        }

-    buf = ctx->header;
-    for (i = 0; i < nnal; i++) {
-        memcpy(buf, nal[i].payload, nal[i].sizeBytes);
-        buf += nal[i].sizeBytes;
-    }
+        avctx->extradata = av_malloc(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE);
+        if (!avctx->extradata) {
+            av_log(avctx, AV_LOG_ERROR,
+                   "Cannot allocate HEVC header of size %d.\n", avctx->extradata_size);
+            libx265_encode_close(avctx);
+            return AVERROR(ENOMEM);
+        }

-    if (avctx->flags & CODEC_FLAG_GLOBAL_HEADER) {
-        avctx->extradata_size = ctx->header_size;
-        avctx->extradata = ctx->header;
-        ctx->header_size = 0;
-        ctx->header = NULL;
+        memcpy(avctx->extradata, nal[0].payload, avctx->extradata_size);
     }

     return 0;
@@ -250,8 +235,6 @@
     for (i = 0; i < nnal; i++)
         payload += nal[i].sizeBytes;

-    payload += ctx->header_size;
-
     ret = ff_alloc_packet(pkt, payload);
     if (ret < 0) {
         av_log(avctx, AV_LOG_ERROR, "Error getting output packet.\n");
@@ -259,14 +242,6 @@
     }
     dst = pkt->data;

-    if (ctx->header) {
-        memcpy(dst, ctx->header, ctx->header_size);
-        dst += ctx->header_size;
-
-        av_freep(&ctx->header);
-        ctx->header_size = 0;
-    }
-
     for (i = 0; i < nnal; i++) {
         memcpy(dst, nal[i].payload, nal[i].sizeBytes);
         dst += nal[i].sizeBytes;

repo_name: ayhanyalcinsoy/main


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ffmpeg</Name>
        <Homepage>http://ffmpeg.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <License>LGPLv2</License>
        <License>LGPLv3</License>
        <IsA>app:console</IsA>
        A command-line tool to record, convert and stream audio and video
        <Description>FFmpeg is a complete solution to record, convert and stream audio and video.</Description>
        <Archive sha1sum="bc729e38c313ad381a56ffd29a61a7b985a49ea4" type="tarxz">http://ffmpeg.org/releases/ffmpeg-3.3.6.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>freetype-devel</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>x265-devel</Dependency>
            <Dependency>libva-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libass-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>celt-devel</Dependency>
            <Dependency>gsm-devel</Dependency>
            <Dependency>libbluray-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>openjpeg-devel</Dependency>
            <Dependency>frei0r-plugins-devel</Dependency>
            <Dependency>rtmpdump-devel</Dependency>
            <Dependency>schroedinger-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>yasm-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>libvo-amrwbenc-devel</Dependency>
            <Dependency>libvo-aacenc-devel</Dependency>
            <Dependency>xvid-devel</Dependency>
            <Dependency>libdc1394-devel</Dependency>
            <Dependency>libnut-devel</Dependency>
            <Dependency>libcdio-paranoia-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libidn-devel</Dependency>
        </BuildDependencies>

    </Source>

    <Package>
        <Name>ffmpeg</Name>
        <RuntimeDependencies>
            <Dependency>gsm</Dependency>
            <Dependency>celt</Dependency>
            <Dependency>faac</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>x265</Dependency>
            <Dependency>xvid</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libva</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libnut</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libxcb</Dependency>
            <Dependency>libass</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>openjpeg</Dependency>
            <Dependency>rtmpdump</Dependency>
            <Dependency>libbluray</Dependency>
            <Dependency>libdc1394</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>libmodplug</Dependency>
            <Dependency>libvo-aacenc</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>schroedinger</Dependency>
            <Dependency>libvo-amrwbenc</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libcdio-paranoia</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/ffmpeg</Path>
        </Files>
    </Package>

    <Package>
        <Name>ffmpeg-devel</Name>
        Development files for ffmpeg
        <RuntimeDependencies>
            <Dependency release="current">ffmpeg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-02-18</Date>
            <Version>3.3.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2018-01-13</Date>
            <Version>3.3.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-01-04</Date>
            <Version>3.3.6</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>3.2.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-13</Date>
            <Version>3.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.8.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-16</Date>
            <Version>2.8.6</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>ffmpeg</Name>
        FFmpeg ses ve görüntü dosyalarını kaydedebilen, dönüştürebilen ve açabilen yazılımdır
        FFmpeg to kompletne rozwiązanie nagrywania, konwersji i transmisji strumieni dźwięku i obrazu
        <Description xml:lang="tr">FFmpeg ses ve görüntü dosyalarını kaydedebilen,dönüştürebilen ve açabilen komple bir çözüm. libavcodec ve birçok popüler ses/görüntü codeclerini içerir.</Description>
        <Description xml:lang="pl">FFmpeg to kompletne rozwiązanie nagrywania, konwersji i transmisji strumieni dźwięku i obrazu. Jest to działające z linii poleceń narzędzie do konwersji obrazu z jednego formatu do innego. Obsługuje także przechwytywanie i kodowanie w czasie rzeczywistym z karty telewizyjnej.</Description>
    </Source>

    <Package>
        <Name>ffmpeg-devel</Name>
        ffmpeg için geliştirme dosyaları
        Pliki nagłówkowe ffmpeg
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--with-package-name='PisiLinux gst-libav package' \
                         --with-package-origin='http://www.pisilinux.org' \
                         --enable-ffmpeg")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("README","NEWS","ChangeLog")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-libav-next</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Gstreamer plugin for the libav codec</Summary>
        <Description>Gstreamer plugin for the libav codec.</Description>
        <Archive sha1sum="88d1dafb9d0e9868cf8438e6d95319933f1c2f41" type="tarxz">https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>yasm-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-libav-next</Name>
        <RuntimeDependencies>
            <Dependency>bzip2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
    </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-29</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-libav</Name>
        <Summary xml:lang="tr">Gstreamer için FFmpeg desteği</Summary>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-bad package' \
                         --with-package-origin='http://www.pisilinux.org'")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("ABOUT-NLS", "AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "RELEASE", "REQUIREMENTS")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-bad-next</Name>
        <Homepage>http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html</Homepage>
        <Packager>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A set of GStreamer plug-ins that aren't up to par compared to the rest
        <Description>GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.</Description>
        <Archive sha1sum="bd04b95d86be0cb4827970fccfafe90f02f96032" type="tarxz">https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>gsm-devel</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>x265-devel</Dependency>
            <Dependency>faad2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>libdca-devel</Dependency>
            <Dependency>jasper-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>libexif-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>wayland-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>wayland-cursor</Dependency>
            <Dependency>libmpeg2-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libdvdnav-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>mjpegtools-devel</Dependency>
            <Dependency>soundtouch-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
            <Dependency>schroedinger-devel</Dependency>
            <Dependency>libvo-aacenc-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libvo-amrwbenc-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-plugins-bad-next</Name>
        <RuntimeDependencies>
            <Dependency>gsm</Dependency>
            <Dependency>orc</Dependency>
            <Dependency>faac</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>x265</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>faad2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libdca</Dependency>
            <Dependency>libdrm</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libkms</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency versionFrom="1.7.7">DirectFB</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>libdvdnav</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>mjpegtools</Dependency>
            <Dependency>soundtouch</Dependency>
            <Dependency>libvo-aacenc</Dependency>
            <Dependency>schroedinger</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>libvo-amrwbenc</Dependency>
            <Dependency>wayland-client</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/gstreamer-1.0</Path>
            <Path fileType="data">/usr/share/gst-plugins-bad/1.0/</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/gir-1.0/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>gst-plugins-bad-next-devel</Name>
        Development files for gst-plugins-bad
        <RuntimeDependencies>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
            <Dependency release="current">gst-plugins-bad-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2018-02-18</Date>
            <Version>1.10.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-03-05</Date>
            <Version>1.10.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-13</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-12</Date>
            <Version>1.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-31</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-bad-next</Name>
        Diğer eklentilerle karşılaştırıldığında çok iyi durumda olmayan gstreamer eklentileri
        <Description xml:lang="tr">gst-plugins-bad, iyiye yakın kalitede olan ancak gerçek bir geliştirici, belgelendirme, test seti gibi eksikleri bulunan eklentilerdir.</Description>
    </Source>

    <Package>
        <Name>gst-plugins-bad-next-devel</Name>
        gst-plugins-bad için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    shelltools.export("AUTOPOINT", "true")
    pisitools.dosed("autogen.sh", "tool_run.*autopoint --force.*")

    pisitools.dosed("ext/modplug/gstmodplug.cc", "stdafx.h", "libmodplug/stdafx.h")
    pisitools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")

    shelltools.export("NOCONFIGURE", "1")
    shelltools.system("./autogen.sh")

    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-bad package' \
                         --with-package-origin='http://www.pisilinux.org'")

    # for fix unused dependency
    pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("ABOUT-NLS", "AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "RELEASE", "REQUIREMENTS")


code:
diff -ur gst-plugins-bad-0.10.23.orig/ext/directfb/dfb-example.c gst-plugins-bad-0.10.23/ext/directfb/dfb-example.c
--- ext/directfb/dfb-example.c	2011-12-11 20:49:11.000000000 +0200
+++ ext/directfb/dfb-example.c	2012-11-07 20:57:47.614763209 +0200
@@ -1,7 +1,7 @@

-#include <directfb.h>
 #include <stdio.h>
 #include <gst/gst.h>
+#include <directfb.h>

 static IDirectFB *dfb = NULL;
 static IDirectFBSurface *primary = NULL;


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-bad</Name>
        <Homepage>http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A set of GStreamer plug-ins that aren't up to par compared to the rest
        <Description>GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.</Description>
        <Archive sha1sum="46208d7bcebaac31310e2a884cc840c51034781a" type="tarbz2">http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gsm-devel</Dependency>-->
            <Dependency>orc-devel</Dependency>
            <Dependency>celt-devel</Dependency>
            <Dependency>faac-devel</Dependency>
            <Dependency>xvid-devel</Dependency>
            <Dependency>faad2-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>jasper-devel</Dependency>
            <Dependency>libdca-devel</Dependency>-->
            <Dependency>openal-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>rtmpdump-devel</Dependency>
            <Dependency>libdc1394-devel</Dependency>
            <Dependency>libdvdnav-devel</Dependency> -->
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>libmodplug-devel</Dependency>
            <Dependency>mjpegtools-devel</Dependency>-->
            <Dependency>libsndfile-devel</Dependency>-->
            <Dependency>soundtouch-devel</Dependency>
            <Dependency>libcdaudio-devel</Dependency>
            <Dependency>schroedinger-devel</Dependency>
            <Dependency>libvo-aacenc-devel</Dependency>
            <Dependency>libvo-amrwbenc-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>directfb.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gst-plugins-bad</Name>
        <RuntimeDependencies>
            <Dependency>gsm</Dependency>
            <Dependency>orc</Dependency>
            <Dependency>celt</Dependency>
            <Dependency>faac</Dependency>
            <Dependency>xvid</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>faad2</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>jasper</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libdca</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>openal</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>libvdpau</Dependency>
            <Dependency>rtmpdump</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>libdc1394</Dependency>
            <Dependency>libdvdnav</Dependency>
            <Dependency>libcdaudio</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>libmodplug</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>mjpegtools</Dependency>
            <Dependency>soundtouch</Dependency>
            <Dependency>libvo-aacenc</Dependency>
            <Dependency>schroedinger</Dependency>
            <Dependency>libvo-amrwbenc</Dependency>
            <Dependency>gst-plugins-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/gstreamer-0.10</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/glib-2.0/schemas</Path>
        </Files>
    </Package>

    <Package>
        <Name>gst-plugins-bad-devel</Name>
        Development files for gst-plugins-bad
        <RuntimeDependencies>
            <Dependency release="current">gst-plugins-bad</Dependency>
            <Dependency>gstreamer-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-03-05</Date>
            <Version>0.10.23</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>0.10.23</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>0.10.23</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-14</Date>
            <Version>0.10.23</Version>
            <Comment>rebuild</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-31</Date>
            <Version>0.10.23</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-bad</Name>
        Diğer eklentilerle karşılaştırıldığında çok iyi durumda olmayan gstreamer eklentileri
        <Description xml:lang="tr">gst-plugins-bad, iyiye yakın kalitede olan ancak gerçek bir geliştirici, belgelendirme, test seti gibi eksikleri bulunan eklentilerdir.</Description>
    </Source>

    <Package>
        <Name>gst-plugins-bad-devel</Name>
        gst-plugins-bad için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-base package' \
                         --with-package-origin='http://www.pisilinux.org'")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-base-next</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Basepack of plugins for gstreamer
        <Description>GStreamer base plugins are a well-groomed and well-maintained collection of GStreamer plugins and elements, spanning the range of possible types of elements one would want to write for GStreamer. It also contains helper libraries and base classes useful for writing elements. A wide range of video and audio decoders, encoders, and filters are included.</Description>
        <Archive sha1sum="3cbea626ed3f9154b67aa9fbbaa20fb01ec9e4ba" type="tarxz">https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>cdparanoia</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libopus-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvisual-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-plugins-base-next</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libopus</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libvisual</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>cdparanoia</Dependency>
            <Dependency>gstreamer-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/gst-plugins-base/1.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>gst-plugins-base-next-devel</Name>
        Development files for gst-plugins-base
        <RuntimeDependencies>
            <Dependency release="current">gst-plugins-base-next</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>

            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-08</Date>
            <Version>1.8.1</Version>
            <Comment>Version Bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-29</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-base</Name>
        Gstreamer için temel eklentiler paketi
        <Description xml:lang="tr">Bu paket, Gstreamer'ın rahatlıkla genişleyebilmesini sağlayan ve bakımları sürekli yapılan temel eklentileri içerir. Program parçacığı yazmak için yardımcı kütüphaneler ve temel sınıflar da bulunur.</Description>
        <Description xml:lang="fr">Les plug-ins (greffons) de base GStreamer est une collection bien peaufinée et bien maintenues de plug-ins et d'éléments GStreamer, couvrant l'éventail des types d'éléments que quelqu'un pourrait vouloir écrire pour GStreamer. Il contient également des librairies d'aide ainsi que les classes de bases utiles pour l'écriture d'éléments. Un grand nombre de décodeurs, d'encodeurs et de filtres audio et vidéos sont également inclus.</Description>
    </Source>

    <Package>
        <Name>gst-plugins-base-devel</Name>
        gst-plugins-base için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def setup():
    pisitools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")
    opts = {
            "introspection": "no" if get.buildTYPE() == "emul32" else "yes",
           }

    autotools.configure("--enable-introspection=%(introspection)s \
                         --with-package-name='PisiLinux gstreamer-plugins-base package' \
                         --with-package-origin='http://www.pisilinux.org' \
                        " % opts)

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-base</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Basepack of plugins for gstreamer
        <Description>GStreamer base plugins are a well-groomed and well-maintained collection of GStreamer plugins and elements, spanning the range of possible types of elements one would want to write for GStreamer. It also contains helper libraries and base classes useful for writing elements. A wide range of video and audio decoders, encoders, and filters are included.</Description>
        <Archive sha1sum="2c4b34245107395bc9103649bb2af1c1088a3f7c" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/gst-plugins-base/0.10/gst-plugins-base-0.10.36.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvisual-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>cdparanoia-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-plugins-base</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>libvisual</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>cdparanoia</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/girepository-1.0</Path>
            <Path fileType="library">/usr/lib/gstreamer-0.10</Path>
            <Path fileType="library">/usr/lib/libgst*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/gst-plugins-base</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <Package>
        <Name>gst-plugins-base-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for gst-plugins-base
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>orc-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libXv-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libtheora-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
            <Dependency>libvisual-32bit</Dependency>
            <Dependency>gstreamer-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">gst-plugins-base</Dependency>
            <Dependency>orc-32bit</Dependency>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>cairo-32bit</Dependency>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>libXv-32bit</Dependency>
            <Dependency>pango-32bit</Dependency>
            <Dependency>libogg-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libxml2-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>libtheora-32bit</Dependency>
            <Dependency>libvorbis-32bit</Dependency>
            <Dependency>libvisual-32bit</Dependency>
            <Dependency>gstreamer-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/gstreamer-0.10</Path>
            <Path fileType="library">/usr/lib32/libgst*</Path>
        </Files>
    </Package>

    <Package>
        <Name>gst-plugins-base-devel</Name>
        Development files for gst-plugins-base
        <RuntimeDependencies>
            <Dependency release="current">gst-plugins-base</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig/gstreamer*.pc</Path>

            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>0.10.36</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>0.10.36</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-25</Date>
            <Version>0.10.36</Version>
            <Comment>Release bump</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>0.10.36</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-good package' \
                         --with-package-origin='http://www.pisilinux.org'")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("AUTHORS", "README", "RELEASE")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-good-next</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>A set of good-quality plugins for GStreamer</Summary>
        <Description>gst-plugins-good contains a set of mature plugins and elements for GStreamer.</Description>
        <Archive sha1sum="71292f888b7919a25b5e1ef9282d4f4951fb60da" type="tarxz">https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libdv-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>libsoup-devel</Dependency>
            <Dependency>libcaca-devel</Dependency>
            <Dependency>libshout-devel</Dependency>
            <Dependency>libXfixes-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>
            <Dependency>libavc1394-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-plugins-good-next</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>aalib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libdv</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>libvpx</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libcaca</Dependency>
            <Dependency>libsoup</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>libshout</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libavc1394</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/gconf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/gstreamer-1.0/presets</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-03-05</Date>
            <Version>1.10.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-29</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-good</Name>
        Gstreamer için temel eklentiler paketi
        Ensemble de plug-ins (greffons) de bonne qualité sous la licence préférée de gstreamer.
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    pisitools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")
    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-good package' \
                         --with-package-origin='http://www.pisilinux.org' \
                         --with-gtk=3.0")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("AUTHORS", "README", "RELEASE")


code:
From 4cd9255f0a8a9e15d81561f00f02d275b5095f70 Mon Sep 17 00:00:00 2001
From: Oleksij Rempel (Alexey Fisher) <bug-track@fisher-privat.net>
Date: Thu, 01 Mar 2012 13:15:29 +0000
Subject: v4l2src: fix v4l2_munmap() for compressed formats

Make sure we always call munmap() with the same size we called mmap()
with before.

Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF
and v4l2_munmap calls. The problem is that the video buffer size (length)
may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if
we pass the pointer of a v4l2_buffer. This is why we should avoid using
same variable for mmap and video buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=671126
---
(limited to 'sys/v4l2')

diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index b81c6a4..51419ff 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -106,9 +106,9 @@ gst_v4l2_buffer_finalize (GstV4l2Buffer * buffer)
   if (!resuscitated) {
     GST_LOG_OBJECT (pool->v4l2elem,
         "buffer %p (data %p, len %u) not recovered, unmapping",
-        buffer, GST_BUFFER_DATA (buffer), buffer->vbuffer.length);
+        buffer, GST_BUFFER_DATA (buffer), buffer->mmap_length);
     gst_mini_object_unref (GST_MINI_OBJECT (pool));
-    v4l2_munmap ((void *) GST_BUFFER_DATA (buffer), buffer->vbuffer.length);
+    v4l2_munmap ((void *) GST_BUFFER_DATA (buffer), buffer->mmap_length);

     GST_MINI_OBJECT_CLASS (v4l2buffer_parent_class)->finalize (GST_MINI_OBJECT
         (buffer));
@@ -183,6 +183,7 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
   GST_LOG_OBJECT (pool->v4l2elem, "  length:    %u", ret->vbuffer.length);
   GST_LOG_OBJECT (pool->v4l2elem, "  input:     %u", ret->vbuffer.input);

+  ret->mmap_length = ret->vbuffer.length;
   data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
       PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd,
       ret->vbuffer.m.offset);
diff --git a/sys/v4l2/gstv4l2bufferpool.h b/sys/v4l2/gstv4l2bufferpool.h
index caad9ac..36ea323 100644
--- a/sys/v4l2/gstv4l2bufferpool.h
+++ b/sys/v4l2/gstv4l2bufferpool.h
@@ -70,6 +70,9 @@ struct _GstV4l2Buffer {
   GstBuffer   buffer;

   struct v4l2_buffer vbuffer;
+  /* warning: the size of mmap buffer and
+   * the actual frame-buffer can be different. */
+  size_t mmap_length;

   /* FIXME: have GstV4l2Src* instead, as this has GstV4l2BufferPool* */
   /* FIXME: do we really want to fix this if GstV4l2Buffer/Pool is shared
--
cgit v0.9.0.2-2-gbebe


code:
From fa21c0bb253213c9dc48ce72faaf7090dc8a3554 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Thu, 2 May 2013 16:16:46 -0400
Subject: [PATCH] sys/v4l2: Some blind compilation fixes

---
 sys/v4l2/gstv4l2bufferpool.c |    1 -
 sys/v4l2/v4l2_calls.c        |   12 ++++--------
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index a0b4c84..3916815 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
     GST_LOG_OBJECT (pool->v4l2elem, "  MMAP offset:  %u",
         ret->vbuffer.m.offset);
   GST_LOG_OBJECT (pool->v4l2elem, "  length:    %u", ret->vbuffer.length);
-  GST_LOG_OBJECT (pool->v4l2elem, "  input:     %u", ret->vbuffer.input);

   ret->mmap_length = ret->vbuffer.length;
   data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index 309bfb6..ee3ff9f 100644
--- a/sys/v4l2/v4l2_calls.c
+++ b/sys/v4l2/v4l2_calls.c
@@ -53,14 +53,6 @@

 #include "gst/gst-i18n-plugin.h"

-/* Those are ioctl calls */
-#ifndef V4L2_CID_HCENTER
-#define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED
-#endif
-#ifndef V4L2_CID_VCENTER
-#define V4L2_CID_VCENTER V4L2_CID_VCENTER_DEPRECATED
-#endif
-
 GST_DEBUG_CATEGORY_EXTERN (v4l2_debug);
 #define GST_CAT_DEFAULT v4l2_debug

@@ -294,8 +286,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
         break;
       case V4L2_CID_HFLIP:
       case V4L2_CID_VFLIP:
+#ifdef V4L2_CID_HCENTER
       case V4L2_CID_HCENTER:
+#endif
+#ifdef V4L2_CID_VCENTER
       case V4L2_CID_VCENTER:
+#endif
 #ifdef V4L2_CID_PAN_RESET
       case V4L2_CID_PAN_RESET:
 #endif
--
1.7.1


code:
From 6f707fcbca2c60aed565247567bafdd168980161 Mon Sep 17 00:00:00 2001
From: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date: Sat, 03 Mar 2012 13:04:48 +0000
Subject: v4l2: clear DISCONT flag when recycling buffers into the buffer pool

The base class may have set the DISCONT flag on the first buffer pushed
out. We need to clear that when recycling buffers back into the buffer
pool, otherwise we constantly push out buffers with the discont flag
set, which might upset downstream elements, esp. for compressed
formats like mpeg-ts.
---
(limited to 'sys/v4l2')

diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
index 51419ff..a0b4c84 100644
--- a/sys/v4l2/gstv4l2bufferpool.c
+++ b/sys/v4l2/gstv4l2bufferpool.c
@@ -98,6 +98,7 @@ gst_v4l2_buffer_finalize (GstV4l2Buffer * buffer)
     GST_LOG_OBJECT (pool->v4l2elem, "reviving buffer %p, %d", buffer, index);
     gst_buffer_ref (GST_BUFFER (buffer));
     GST_BUFFER_SIZE (buffer) = 0;
+    GST_BUFFER_FLAG_UNSET (buffer, GST_BUFFER_FLAG_DISCONT);
     pool->buffers[index] = buffer;
   }

--
cgit v0.9.0.2-2-gbebe


code:
--- gst-plugins-good-0.10.31/sys/v4l2/gstv4l2object.c	2011-12-30 14:59:13.000000000 +0100
+++ gst-plugins-good-0.10.31.fixed/sys/v4l2/gstv4l2object.c	2012-06-05 23:45:16.670981047 +0200
@@ -1583,6 +1583,7 @@

   if (ival.type == V4L2_FRMIVAL_TYPE_DISCRETE) {
     GValue rate = { 0, };
+    guint i;

     g_value_init (&rates, GST_TYPE_LIST);
     g_value_init (&rate, GST_TYPE_FRACTION);
@@ -1602,7 +1603,16 @@

       /* swap to get the framerate */
       gst_value_set_fraction (&rate, denom, num);
-      gst_value_list_append_value (&rates, &rate);
+      /* avoid duplicate framerates, yes some hw reports duplicates :( */
+      for (i = 0; i < gst_value_list_get_size(&rates); i++) {
+        const GValue *val = gst_value_list_get_value(&rates, i);
+        if (gst_value_compare(val, &rate) == GST_VALUE_EQUAL) {
+          break;
+        }
+      }
+      if (i == gst_value_list_get_size(&rates)) {
+        gst_value_list_append_value(&rates, &rate);
+      }

       ival.index++;
     } while (v4l2_ioctl (fd, VIDIOC_ENUM_FRAMEINTERVALS, &ival) >= 0);


code:
From fefa084bde0850447ca5ed84775c094fcf0b2351 Mon Sep 17 00:00:00 2001
From: Hans de Goede <hdegoede@redhat.com>
Date: Fri, 8 Jun 2012 20:38:34 +0200
Subject: [PATCH] v4l2object: Don't probe UVC devices for being interlaced

UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them
causes expensive and slow USB IO, so don't probe them for interlaced.

This shaves 2 seconds of the startup time of cheese with a Logitech
Webcam Pro 9000.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 sys/v4l2/gstv4l2object.c |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
index 6564b91..ce52547 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -1561,10 +1561,18 @@ gst_v4l2_object_probe_caps_for_format_and_size (GstV4l2Object * v4l2object,
   gint int_width = width;
   gint int_height = height;

-  /* interlaced detection using VIDIOC_TRY/S_FMT */
-  if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,
-          &int_width, &int_height, &interlaced))
-    return NULL;
+  if (!strcmp((char *)v4l2object->vcap.driver, "uvcvideo")) {
+    /*
+     * UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them
+     * causes expensive and slow USB IO, so don't probe them for interlaced
+     */
+     interlaced = FALSE;
+  } else {
+    /* Interlaced detection using VIDIOC_TRY/S_FMT */
+    if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,
+            &int_width, &int_height, &interlaced))
+      return NULL;
+  }

   memset (&ival, 0, sizeof (struct v4l2_frmivalenum));
   ival.index = 0;
--
1.7.10.2


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-good</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>A set of good-quality plugins for GStreamer</Summary>
        <Description>gst-plugins-good contains a set of mature plugins and elements for GStreamer.</Description>
        <Archive sha1sum="b45fc01b133fc23617fa501dd9307a90f467b396" type="tarbz2">http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-0.10.31.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>libdv-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libv4l-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>libcaca-devel</Dependency>
            <Dependency>libsoup-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>libsoup-gnome</Dependency>
            <Dependency>libshout-devel</Dependency>
            <Dependency>libavc1394-devel</Dependency>
            <Dependency>libraw1394-devel</Dependency>
            <Dependency>libiec61883-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-fix-v4l2_munmap.patch</Patch>
            <Patch level="1">0002-clear_DISCONT_flag.patch</Patch>
            <Patch level="1">0003-v4l2src-fix.patch</Patch>
            <Patch level="1">0004-v4l2object-Don-t-probe-UVC-devices-for-being-interla.patch</Patch>
            <Patch level="1">0001-sys-v4l2-Some-blind-compilation-fixes.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gst-plugins-good</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>aalib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libXv</Dependency>
            <Dependency>libdv</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libv4l</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>libcaca</Dependency>
            <Dependency>libsoup</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>libshout</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>libXfixes</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXdamage</Dependency>
            <Dependency>libavc1394</Dependency>
            <Dependency>libraw1394</Dependency>
            <Dependency>libiec61883</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libsoup-gnome</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>jack-audio-connection-kit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/gconf</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/gstreamer-0.10/presets</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-05</Date>
            <Version>0.10.31</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.10.31</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>0.10.31</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-28</Date>
            <Version>0.10.31</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--with-package-name='PisiLinux gstreamer-plugins-ugly package' \
                         --with-package-origin='http://www.pisilinux.org/eng'")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("README", "COPYING", "AUTHORS", "NEWS")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-ugly-next</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Other plugins for gstreamer</Summary>
        <Description>GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and correct functionality, but distributing them might pose problems. The license on either the plugins or the supporting libraries might not be how we'd like. The code might be widely known to present patent problems.</Description>
        <Archive sha1sum="47a965570a9fc07d058e7ecb85e0026251129911" type="tarxz">https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>a52dec-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>twolame-devel</Dependency>
            <Dependency>libmpeg2-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gst-plugins-ugly-next</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>a52dec</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>twolame</Dependency>
            <Dependency>libmpeg2</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gstreamer-1.0</Path>
            <Path fileType="doc">/usr/share/doc/gst-plugins-ugly-next</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="data">/usr/share/gstreamer-1.0</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2018-02-18</Date>
            <Version>1.10.3</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2017-03-05</Date>
            <Version>1.10.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-10</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-12</Date>
            <Version>1.8.1</Version>
            <Comment>Version bumpe</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-29</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-ugly-next</Name>
        <Summary xml:lang="tr">Gstreamer için diğer eklentiler</Summary>
        <Description xml:lang="tr">GStreamer Ugly Plug-in'leri kaliteli ve güzel çalışan eklentiler içerir. Fakat bu eklentilerin lisanslarla ilgili sorunları bulunabilir.</Description>
        <Description xml:lang="fr">les Plug-ins (greffons) Ugly (horribles) de GStreamer est un ensemble de plug-ins de bonne qualité et fonctionnant correctement, mais dont la distribution pose problème. La licence du plug-in ou de librairies nécessaires au plug-in n'est pas forcément tel que  l'on aimerait qu'elle soit. Le code peut également être notoirement connu pour présenter un problème patent.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    shelltools.export("AUTOPOINT", "true")
    pisitools.dosed("configure.ac", "AM_CONFIG_HEADER", "AC_CONFIG_HEADERS")

    shelltools.export("NOCONFIGURE", "1")
    shelltools.system("./autogen.sh")

    autotools.configure("--with-package-name=\"PisiLinux gstreamer-plugins-ugly package\" \
                         --with-package-origin=\"http://www.pisilinux.org/eng\"")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.dodoc("README", "COPYING", "AUTHORS", "NEWS")


code:
From 649bd92cd2600719862ad5189899212409dd0a67 Mon Sep 17 00:00:00 2001
From: Leon Merten Lohse <leon@green-side.de>
Date: Thu, 03 May 2012 22:50:30 +0000
Subject: cdio: compensate for libcdio's recent cd-text api changes

https://bugzilla.gnome.org/show_bug.cgi?id=675112

Conflicts:

	ext/cdio/gstcdiocddasrc.c
---
diff --git a/ext/cdio/gstcdio.c b/ext/cdio/gstcdio.c
index 2f58d18..483ebf5 100644
--- a/ext/cdio/gstcdio.c
+++ b/ext/cdio/gstcdio.c
@@ -30,12 +30,16 @@
 GST_DEBUG_CATEGORY (gst_cdio_debug);

 void
-gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext,
+gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext, track_t track,
     cdtext_field_t field, const gchar * gst_tag, GstTagList ** p_tags)
 {
   const gchar *txt;

+#if LIBCDIO_VERSION_NUM > 83
+  txt = cdtext_get_const (cdtext, field, track);
+#else
   txt = cdtext_get_const (field, cdtext);
+#endif
   if (txt == NULL || *txt == '\0') {
     GST_DEBUG_OBJECT (src, "empty CD-TEXT field %u (%s)", field, gst_tag);
     return;
@@ -57,6 +61,12 @@ gst_cdio_add_cdtext_field (GstObject * src, cdtext_t * cdtext,
 }

 GstTagList *
+#if LIBCDIO_VERSION_NUM > 83
+gst_cdio_get_cdtext (GstObject * src, cdtext_t * t, track_t track)
+{
+  GstTagList *tags = NULL;
+
+#else
 gst_cdio_get_cdtext (GstObject * src, CdIo * cdio, track_t track)
 {
   GstTagList *tags = NULL;
@@ -67,14 +77,22 @@ gst_cdio_get_cdtext (GstObject * src, CdIo * cdio, track_t track)
     GST_DEBUG_OBJECT (src, "no CD-TEXT for track %u", track);
     return NULL;
   }
+#endif

-  gst_cdio_add_cdtext_field (src, t, CDTEXT_PERFORMER, GST_TAG_ARTIST, &tags);
-  gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_TITLE, &tags);
+  gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_PERFORMER,
+      GST_TAG_ARTIST, &tags);
+  gst_cdio_add_cdtext_field (src, t, track, CDTEXT_FIELD_TITLE, GST_TAG_TITLE,
+      &tags);

   return tags;
 }

 void
+#if LIBCDIO_VERSION_NUM > 83
+gst_cdio_add_cdtext_album_tags (GstObject * src, cdtext_t * t,
+    GstTagList * tags)
+{
+#else
 gst_cdio_add_cdtext_album_tags (GstObject * src, CdIo * cdio, GstTagList * tags)
 {
   cdtext_t *t;
@@ -84,11 +102,14 @@ gst_cdio_add_cdtext_album_tags (GstObject * src, CdIo * cdio, GstTagList * tags)
     GST_DEBUG_OBJECT (src, "no CD-TEXT for album");
     return;
   }
+#endif

-  /* FIXME: map CDTEXT_PERFORMER to GST_TAG_ALBUM_ARTIST once we have that */
-  gst_cdio_add_cdtext_field (src, t, CDTEXT_TITLE, GST_TAG_ALBUM, &tags);
-  gst_cdio_add_cdtext_field (src, t, CDTEXT_GENRE, GST_TAG_GENRE, &tags);
-
+  gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_PERFORMER,
+      GST_TAG_ALBUM_ARTIST, &tags);
+  gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_TITLE, GST_TAG_ALBUM,
+      &tags);
+  gst_cdio_add_cdtext_field (src, t, 0, CDTEXT_FIELD_GENRE, GST_TAG_GENRE,
+      &tags);
   GST_DEBUG ("CD-TEXT album tags: %" GST_PTR_FORMAT, tags);
 }

diff --git a/ext/cdio/gstcdio.h b/ext/cdio/gstcdio.h
index ef31ed0..c6da580 100644
--- a/ext/cdio/gstcdio.h
+++ b/ext/cdio/gstcdio.h
@@ -24,22 +24,38 @@
 #include <gst/gst.h>
 #include <cdio/cdio.h>
 #include <cdio/cdtext.h>
+#include <cdio/version.h>
+
+#if LIBCDIO_VERSION_NUM <= 83
+  #define CDTEXT_FIELD_PERFORMER CDTEXT_PERFORMER
+  #define CDTEXT_FIELD_GENRE     CDTEXT_GENRE
+  #define CDTEXT_FIELD_TITLE     CDTEXT_TITLE
+#endif

 GST_DEBUG_CATEGORY_EXTERN (gst_cdio_debug);
 #define GST_CAT_DEFAULT gst_cdio_debug

 void     gst_cdio_add_cdtext_field (GstObject      * src,
                                     cdtext_t       * cdtext,
+                                    track_t          track,
                                     cdtext_field_t   field,
                                     const gchar    * gst_tag,
                                     GstTagList    ** p_tags);

 GstTagList  * gst_cdio_get_cdtext  (GstObject      * src,
+#if LIBCDIO_VERSION_NUM > 83
+                                    cdtext_t       * t,
+#else
                                     CdIo           * cdio,
+#endif
                                     track_t          track);

 void      gst_cdio_add_cdtext_album_tags (GstObject  * src,
+#if LIBCDIO_VERSION_NUM > 83
+                                          cdtext_t   * t,
+#else
                                           CdIo       * cdio,
+#endif
                                           GstTagList * tags);

 #endif /* __GST_CDIO_H__ */
diff --git a/ext/cdio/gstcdiocddasrc.c b/ext/cdio/gstcdiocddasrc.c
index 615a0c8..830839e 100644
--- a/ext/cdio/gstcdiocddasrc.c
+++ b/ext/cdio/gstcdiocddasrc.c
@@ -206,6 +206,9 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device)
   GstCdioCddaSrc *src;
   discmode_t discmode;
   gint first_track, num_tracks, i;
+#if LIBCDIO_VERSION_NUM > 83
+  cdtext_t *cdtext;
+#endif

   src = GST_CDIO_CDDA_SRC (audiocdsrc);

@@ -232,8 +235,18 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device)
   if (src->read_speed != -1)
     cdio_set_speed (src->cdio, src->read_speed);

+#if LIBCDIO_VERSION_NUM > 83
+  cdtext = cdio_get_cdtext (src->cdio);
+
+  if (NULL == cdtext)
+    GST_DEBUG_OBJECT (src, "no CD-TEXT on disc");
+  else
+    gst_cdio_add_cdtext_album_tags (GST_OBJECT_CAST (src), cdtext,
+        cddabasesrc->tags);
+#else
   gst_cdio_add_cdtext_album_tags (GST_OBJECT_CAST (src), src->cdio,
       cddabasesrc->tags);
+#endif

   GST_LOG_OBJECT (src, "%u tracks, first track: %d", num_tracks, first_track);

@@ -250,8 +263,14 @@ gst_cdio_cdda_src_open (GstAudioCdSrc * audiocdsrc, const gchar * device)
      * the right thing here (for cddb id calculations etc. as well) */
     track.start = cdio_get_track_lsn (src->cdio, i + first_track);
     track.end = track.start + len_sectors - 1;  /* -1? */
+#if LIBCDIO_VERSION_NUM > 83
+    if (NULL != cdtext)
+      track.tags = gst_cdio_get_cdtext (GST_OBJECT (src), cdtext,
+          i + first_track);
+#else
     track.tags = gst_cdio_get_cdtext (GST_OBJECT (src), src->cdio,
         i + first_track);
+#endif

     gst_audio_cd_src_add_track (GST_AUDIO_CD_SRC (src), &track);
   }
--
cgit v0.9.0.2-2-gbebe


code:
--- ext/amrnb/amrnbdec.h.orig	2012-03-12 16:49:14.417405139 +0000
+++ ext/amrnb/amrnbdec.h	2012-03-12 16:49:35.393899419 +0000
@@ -22,7 +22,7 @@

 #include <gst/gst.h>
 #include <gst/audio/gstaudiodecoder.h>
-#include <interf_dec.h>
+#include <opencore-amrnb/interf_dec.h>

 G_BEGIN_DECLS

--- ext/amrnb/amrnbenc.h.orig	2012-03-12 16:49:23.833996062 +0000
+++ ext/amrnb/amrnbenc.h	2012-03-12 16:49:46.597141876 +0000
@@ -21,7 +21,7 @@
 #define __GST_AMRNBENC_H__

 #include <gst/gst.h>
-#include <interf_enc.h>
+#include <opencore-amrnb/interf_enc.h>
 #include <gst/audio/gstaudioencoder.h>

 G_BEGIN_DECLS
--- ext/amrwbdec/amrwbdec.h.orig	2012-03-12 16:47:48.658100992 +0000
+++ ext/amrwbdec/amrwbdec.h	2012-03-12 16:48:12.177910733 +0000
@@ -22,8 +22,8 @@

 #include <gst/gst.h>
 #include <gst/audio/gstaudiodecoder.h>
-#include <dec_if.h>
-#include <if_rom.h>
+#include <opencore-amrwb/dec_if.h>
+#include <opencore-amrwb/if_rom.h>

 G_BEGIN_DECLS


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gst-plugins-ugly</Name>
        <Homepage>http://gstreamer.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Other plugins for gstreamer</Summary>
        <Description>GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and correct functionality, but distributing them might pose problems. The license on either the plugins or the supporting libraries might not be how we'd like. The code might be widely known to present patent problems.</Description>
        <Archive sha1sum="a28e4e8962f1fe385a098b13249a2b817c44fe63" type="tarbz2">http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-0.10.19.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>orc-devel</Dependency>
            <Dependency>lame-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>a52dec-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>libmpeg2-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>libdvdread-devel</Dependency>
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">cdio-cd-text-api.patch</Patch>
            <Patch>opencore-amr.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gst-plugins-ugly</Name>
        <RuntimeDependencies>
            <Dependency>orc</Dependency>
            <Dependency>x264</Dependency>
            <Dependency>lame</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>a52dec</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>libmpeg2</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>libdvdread</Dependency>
            <Dependency>opencore-amr</Dependency>
            <Dependency>gst-plugins-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gstreamer-0.10</Path>
            <Path fileType="doc">/usr/share/doc/gst-plugins-ugly</Path>
            <Path fileType="data">/usr/share/gstreamer-0.10</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-18</Date>
            <Version>0.10.19</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>0.10.19</Version>
            <Comment>Rebuild and edit.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>0.10.19</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-10</Date>
            <Version>0.10.19</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gst-plugins-ugly</Name>
        <Summary xml:lang="tr">Gstreamer için diğer eklentiler</Summary>
        <Description xml:lang="tr">GStreamer Ugly Plug-in'leri kaliteli ve güzel çalışan eklentiler içerir. Fakat bu eklentilerin lisanslarla ilgili sorunları bulunabilir.</Description>
        <Description xml:lang="fr">les Plug-ins (greffons) Ugly (horribles) de GStreamer est un ensemble de plug-ins de bonne qualité et fonctionnant correctement, mais dont la distribution pose problème. La licence du plug-in ou de librairies nécessaires au plug-in n'est pas forcément tel que  l'on aimerait qu'elle soit. Le code peut également être notoirement connu pour présenter un problème patent.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    options = '--with-package-name="GStreamer for PisiLinux" \
               --with-package-origin="http://www.pisilinux.org" \
               --disable-gtk-doc'

    if get.buildTYPE() == "emul32":
        options += " --bindir=/usr/bin32 \
                     --libdir=/usr/lib32 \
                     --libexecdir=/usr/libexec32 \
                     --with-bash-completion-dir=no \
                     --disable-introspection"

        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")

    autotools.configure(options)

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    if get.buildTYPE() == "emul32":
        pisitools.removeDir("/usr/bin32")
        pisitools.removeDir("/usr/libexec32")

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gstreamer-next</Name>
        <Homepage>http://gstreamer.freedesktop.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        GStreamer streaming media framework runtime
        <Description>GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related.</Description>
        <Archive sha1sum="15f0f75739fdf690ddde52d69745c4866185d7e2" type="tarxz">https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.10.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gsl-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>gstreamer-next</Name>
        <RuntimeDependencies>
             <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/libgstbase*</Path>
            <Path fileType="library">/usr/lib/libgstcheck*</Path>
            <Path fileType="library">/usr/lib/libgstcontroller*</Path>
            <Path fileType="library">/usr/lib/libgstnet*</Path>
            <Path fileType="library">/usr/lib/libgstreamer*</Path>
            <Path fileType="library">/usr/lib/gstreamer-1.0</Path>
            <Path fileType="library">/usr/lib/girepository-1.0</Path>
            <Path fileType="executable">/usr/libexec</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/bash-completion</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>gstreamer-next-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for gstreamer
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>glib2-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>glib2-32bit</Dependency>
            <Dependency release="current">gstreamer-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/libgstbase*</Path>
            <Path fileType="library">/usr/lib32/libgstcheck*</Path>
            <Path fileType="library">/usr/lib32/libgstcontroller*</Path>
            <Path fileType="library">/usr/lib32/libgstnet*</Path>
            <Path fileType="library">/usr/lib32/libgstreamer*</Path>
            <Path fileType="library">/usr/lib32/gstreamer-1.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>gstreamer-next-devel</Name>
        Development files for gstreamer
        <RuntimeDependencies>
            <Dependency release="current">gstreamer-next</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-02-17</Date>
            <Version>1.10.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>1.8.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-02</Date>
            <Version>1.8.1</Version>
            <Comment>rebuild</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-02</Date>
            <Version>1.8.1</Version>
            <Comment>Version bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-30</Date>
            <Version>1.6.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>gstreamer-next</Name>
        GStreamer ses yayın altyapısı
        <Description xml:lang="tr">gstreamer bir ses yayın altyapısı kütüphanesidir. Bu kütüphaneyi kullanan uygulamalar, gerçek zamanlı ses işleme, görüntü oynatma gibi çokluortam ile ilgili birçok işlem gerçekleştirebilirler.</Description>
        <Description xml:lang="fr">GStreamer est la librairies principale. Elle contient les entêtes, les fichiers et les éléments centraux.</Description>
    </Source>

    <Package>
        <Name>gstreamer-next-devel</Name>
        gstreamer için geliştirme dosyaları
    </Package>

    <Package>
        <Name>gstreamer-next-32bit</Name>
        gstreamer için 32-bit paylaşımlı kitaplıklar
    </Package>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.

from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--prefix=/usr \
                         --with-package-name='GStreamer VAAPI Plugins (Pisi Linux)' \
                         --with-package-origin='http://www.pisilinux.org/'")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS", "COPYING.LIB")