code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>jansson</Name>
        <Summary xml:lang="en">Jansson is a C library for encoding, decoding and manipulating JSON data.</Summary>
        <Description xml:lang="en">It features: Simple and intuitive API and data model, Comprehensive documentation, No dependencies on other libraries, Full Unicode support (UTF-8), Extensive test suite.</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/copyleft/gpl.txt.

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

def setup():
    autotools.autoreconf("-vfi")
    autotools.configure("--enable-fontconfig \
                         --disable-static \
                         --enable-enca \
                         --enable-png")

def build():
    autotools.make()

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

    pisitools.dodoc("Changelog", "COPYING")

repo_name: ayhanyalcinsoy/main


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libass</Name>
        <Homepage>http://code.google.com/p/libass/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Subtitle rendering library
        <Description>libass is a portable subtitle rendering library for the ASS/SSA.</Description>
        <Archive sha1sum="c11da6214fdbbaaf145862d215a77fa243126e3e" type="tarxz">https://github.com/libass/libass/releases/download/0.13.6/libass-0.13.6.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="2.12.1">fontconfig-devel</Dependency>
            <Dependency versionFrom="2.7.1">freetype-devel</Dependency>
            <Dependency versionFrom="0.19.7">fribidi-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libass</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="2.12.1">fontconfig</Dependency>
            <Dependency versionFrom="2.7.1">freetype</Dependency>
            <Dependency versionFrom="0.19.7">fribidi</Dependency>
            <Dependency>harfbuzz</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/libass</Path>
        </Files>
    </Package>

    <Package>
        <Name>libass-devel</Name>
        Development files for libass
        <RuntimeDependencies>
            <Dependency release="current">libass</Dependency>
            <Dependency versionFrom="2.12.1">fontconfig-devel</Dependency>
            <Dependency versionFrom="2.7.1">freetype-devel</Dependency>
            <Dependency versionFrom="0.19.7">fribidi-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>0.13.6</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.13.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-06</Date>
            <Version>0.13.1</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libass</Name>
        Altyazı çizim kitaplığı
        <Description xml:lang="tr">libass ASS/SSA altyazı çizim kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>libass-devel</Name>
        libass 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/copyleft/gpl.txt.

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

shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")

def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--disable-static \
                         --disable-bdjava")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libbluray</Name>
        <Homepage>http://www.videolan.org/developers/libbluray.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        Library to access Blu-Ray disks for video playback
        <Description>Libbluray package is aiming to provide a full portable free open source bluray library, which can be plugged into popular media players to allow full bluray navigation and playback on Linux. It will eventually be compatible with all current titles, and will be easily portable and embeddable in standard players such as mplayer and vlc.</Description>
        <Archive sha1sum="0d993610b2bd4b69d98828f69675aa613d870798" type="tarbz2">ftp://ftp.videolan.org/pub/videolan/libbluray/0.9.3/libbluray-0.9.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libtool</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>pkgconfig</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libbluray</Name>
        <RuntimeDependencies>
            <Dependency>libxml2</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>fontconfig</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libbluray-docs</Name>
        document files for libbluray
        <RuntimeDependencies>
            <Dependency release="current">libbluray</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>0.9.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.9.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-04</Date>
            <Version>0.9.2</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libbluray</Name>
        Blu-Ray disklere ulaşmak için kitaplık
        <Description xml:lang="tr">Libbluray kitaplığı, Linux üzerinde bluray oynatmak için tam destek sağlayan, popüler çokluortam oynatıcılarına taşınabilir bir bağımsız açık kaynak bluray kitaplığı olma amacıyla ortaya çıkmıştır. Zaman içerisinde bütün güncel başlıklar ile uyumlu olması, kolay taşınabilmesi ve mplayer, vlc gibi standart oynatıcılara gömülebilir olması amaçlanmaktadır.</Description>
    </Source>

    <Package>
        <Name>libbluray-devel</Name>
        Libbluray 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/copyleft/gpl.txt.

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

def setup():
    autotools.configure("--disable-static \
                         --without-docs")

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

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libcdr</Name>
        <Homepage>http://www.freedesktop.org/wiki/Software/libcdr</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <License>GPLv2</License>
        <License>MPLv1.1</License>
        <IsA>library</IsA>
        Library parsing the Corel cdr documents
        <Description>Libcdr is library providing ability to interpret and import Corel Draw drawings into various applications.</Description>
        <Archive sha1sum="59148610e572d1a79c4f3494a01d020944f0e1c1" type="tarxz">http://dev-www.libreoffice.org/src/libcdr/libcdr-0.1.4.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>doxygen</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>icu4c-devel</Dependency>
            <Dependency>libwpd-devel</Dependency>
            <Dependency>boost-devel</Dependency>
            <Dependency>librevenge-devel</Dependency>
            <Dependency>cppunit-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libcdr</Name>
        <RuntimeDependencies>
            <Dependency>lcms2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>librevenge</Dependency>
            <Dependency>cppunit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc/libcdr</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="4">
            <Date>2018-01-31</Date>
            <Version>0.1.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-15</Date>
            <Version>0.1.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.1.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-02</Date>
            <Version>0.1.1</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libcdr</Name>
        Library parsing the Corel cdr documents
        <Description xml:lang="en">Libcdr is library providing ability to interpret and import Corel Draw drawings into various applications.</Description>
    </Source>

    <Package>
        <Name>libcdr-devel</Name>
        libcdr 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

def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --disable-doc \
                         --disable-dependency-tracking")

def build():
    autotools.make()

def install():
    autotools.install()

    #pisitools.dohtml("doc/*.html")
    pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdvdcss</Name>
        <Homepage>http://www.videolan.org/libdvdcss/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        A portable abstraction library for DVD decryption
        <Description>libdvdcss is a simple and library portable abstraction library designed for accessing DVDs like a block device without having to bother about the decryption. A DVD player can be built around the libdvdcss API using no more than 4 or 5 library calls.</Description>
        <Archive sha1sum="4872a7c7e5c170c6c1787573b2f900b36a1ba974" type="tarbz2">http://download.videolan.org/pub/videolan/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>libdvdcss</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>1.4.0</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.4.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-05</Date>
            <Version>1.4.0</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libdvdcss</Name>
        DVD çözmek için soyutlanmış taşınabilir bir kütüphane
        <Description xml:lang="tr">Libdvdcss, şifre çözme konusunda zahmete girmeden bir blok aygıt gibi DVD'lere erişim için düzenlenmiş basit ve soyutlanmış taşınabilir  bir kütüphanedir. Bir DVD çalıcısı libdvdcss API etrafında 4 veya 5'ten fazla olmaksızın kütüphane çağrısı kullanarak kurulabilir.</Description>
        <Description xml:lang="fr">libdvdcss est une librairie simple et portable d'abstraction conçue pour accéder auxDVDs comme des périphériques par blocs sans avoir à se soucier du décodage. On peut construire un lecteur DVD à partir de l'API de libdvdcss en 4 ou 5 appels.</Description>
        <Description xml:lang="es">libdvdcss es una liraría simple y portable de abstracción para acceder a DVDs como a dispositivos de bloques, sin preocuparse de decriptación. Se puede construir un reproductor DVD alrededor el API libdvdcss con no más de 4 o 5 llamadas de librería.</Description>
    </Source>

    <Package>
        <Name>libdvdcss-devel</Name>
        libdvdcss 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
#
# taken from
# svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav

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

def setup():
    libtools.libtoolize("--force --install")
    autotools.autoreconf("-fi")

    autotools.configure("--with-libdvdcss=/usr \
                         --disable-static")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdvdnav</Name>
        <Homepage>http://www.mplayerhq.hu/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        libdvdnav is a library for developers of multimedia applications
        <Description>libdvdnav is a library for developers of multimedia applications. It allows easy use of sophisticated DVD navigation features such as DVD menus, multiangle playback and even interactive DVD games.</Description>
        <Archive sha1sum="e3ec3277e37dd1714e7dc7d205b8fd084125b51a" type="tarbz2">http://download.videolan.org/pub/videolan/libdvdnav/5.0.3/libdvdnav-5.0.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdvdread-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libdvdnav</Name>
        <RuntimeDependencies>
            <Dependency>libdvdread</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/libdvdnav</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdvdnav-devel</Name>
        Development files for libdvdnav
        <RuntimeDependencies>
            <Dependency release="current">libdvdnav</Dependency>
            <Dependency>libdvdread-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>5.0.3</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.0.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-31</Date>
            <Version>5.0.3</Version>
            <Comment>First release</Comment>
            <Name>Hakan Yıldız</Name>
            <Email>hknyldz93@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libdvdnav</Name>
        libdvdnav çokluortam uyguamaları geliştiricileri için bir kütüphane
        <Description xml:lang="tr">libdvdnav çokluortam uyguamaları geliştiricileri için bir kütüphane. libdvdnav ile karmaşık DVD dolaşmalarını Örn: DVD menüleri, değişik açılı gösterimleri ve hatta etkileşimli DVD oyunlarını kullanabilirsiniz</Description>
        <Description xml:lang="fr">libdvdnav est une librairie pour les développeur d'applications multimédia. Elle permet l'utilisation de fonctionnalités sophistiquées de navigation DVD tels que les menus DVD, la lecture multi-angle et même des jeux interactifs DVD.</Description>
        <Description xml:lang="es">libdvdnav es una librería para desarrollo de aplicaciones multimedia. Permite uso fácil de navegación avanzada en DVDs como en menús de DVDs, reproducción multi-ángulo, e incluso DVDs con juegos interactivos.</Description>
    </Source>

    <Package>
        <Name>libdvdnav-devel</Name>
        libdvdnav 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
#
# taken from
# svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread

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

def setup():
    libtools.libtoolize("--force --install")
    autotools.autoreconf("-vfi")

    autotools.configure("--with-libdvdcss=/usr \
                         --disable-static")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdvdread</Name>
        <Homepage>http://www.mplayerhq.hu/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        Provides a simple foundation for reading DVD-Video images
        <Description>A DVD player for the Solaris, Linux and BSD environments released under the GNU Public License (GPL).  It is includes bookmarks, time skipping, multichannel audio, SPDIF output, crop and zoom video. It supports DVD menus and navigation, reads from mounted, unmounted DVDs and hard drive and reads encrypted and unencrypted DVDs using libdvdread/libdvdcss.</Description>
        <Archive sha1sum="3cda64c06ca9b617d976c490651db4391a162e1f" type="tarbz2">http://download.videolan.org/pub/videolan/libdvdread/5.0.3/libdvdread-5.0.3.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libdvdcss-devel</Dependency>
            <Dependency>git</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libdvdread</Name>
        <RuntimeDependencies>
            <Dependency>libdvdcss</Dependency>
            <Dependency>glibc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/libdvdread</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>5.0.3</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.0.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-05</Date>
            <Version>5.0.3</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libdvdread</Name>
        DVD videolarını okumak için basit bir kütüphane
        <Description xml:lang="tr">GNU Public License (GPL) altındaki Solaris, Linux ve BSD ortamları için bir DVD oynatıcısıdır. Yerimi, zaman atlatma, çoklukanal ses çıktı, SPDIF çıktı, video kırpma ve büyütme özellikleri içerir. DVD menüleri ve dolaşma özelliğini destekler, bağlanmış (mount) ve bağlanmamış sabit diskleri okur ve libdvdread / libdvdcss kullanan şifreli ve şifresiz DVDleri oynatabilir.</Description>
        <Description xml:lang="fr">Un lecteur DVD pour les environnements Solaris, Linux et BSD publié sous la licence publique GNU (GPL). Il gère les signets, les sauts dans le temps, les sorties audio sur plusieurs canaux, sortie SPDIF, le zoom et le crop (vision exclusive d'une zone) vidéo. Il gère également les menus DVD et la navigation, permet de lire depuis les DVD montés ou non montés, depuis un disque dur. Il peut lire les DVDs cryptés et non cryptés grâce à libdvdread/libdvdcss.</Description>
        <Description xml:lang="es">DVD player para Solaris, Linux y BSD  liberado bajo la licencia GNU Public License (GPL).  incluye marcadores (bookmarks), time skipping, multichannel audio, salida SPDIF, video crop y zoom. soporta menús DVD y navegación, lee de DVDs y discos rígidos montados y no-montados y lee DVDs encriptados y no-encriptados usando libdvdread/libdvdcss.</Description>
    </Source>

    <Package>
        <Name>libdvdread-devel</Name>
        libdvdread 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("CFLAGS", "%s -fPIC" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -fPIC" % get.CXXFLAGS())
    autotools.configure()

def build():
    autotools.make("PREFIX=/usr")

def install():
    autotools.install("libdir=%s/usr/lib" % get.installDIR())

    # No static libs
    pisitools.remove("/usr/lib/*.a")

    pisitools.dodoc("LICENSE.*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libebml</Name>
        <Homepage>http://www.matroska.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Extensible binary format library (kinda like XML)
        <Description>Extensible Binary Meta Language access library A library for reading and writing files with the Extensible Binary Meta Language, a binary pendant to XML.</Description>
        <Archive sha1sum="27a505f7bcece68f57daa2704ebdacbddfa188b3" type="tarbz2">https://dl.matroska.org/downloads/libebml/libebml-1.3.4.tar.bz2</Archive>
    </Source>

    <Package>
        <Name>libebml</Name>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

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

    <History>
        <Update release="3">
            <Date>2017-02-03</Date>
            <Version>1.3.4</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-20</Date>
            <Version>1.3.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libebml</Name>
        Genişletilebilir ikilik biçimlendirme kütüphanesi
        Librairie de format binaire extensible (un peu comme XML).
    </Source>

    <Package>
        <Name>libebml-devel</Name>
        libebml 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

def setup():
    autotools.configure("--enable-nls \
                         --disable-static")

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
--- libexif.pc.in
+++ libexif.pc.in
@@ -1,7 +1,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 libdir=@libdir@
-includedir=@includedir@
+includedir=@includedir@/libexif

 Name: libexif
 Description: Library for easy access to EXIF data


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libexif</Name>
        <Homepage>http://libexif.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Library for parsing, editing, and saving EXIF data
        <Description>Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. The EXIF library allows you to parse an EXIF file and read the data from those tags.</Description>
        <Archive sha1sum="a52219b12dbc8d33fc096468591170fda71316c0" type="tarbz2">mirrors://sourceforge/libexif/libexif-0.6.21.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>libexif-0.6.13-pkgconfig.patch</Patch>
        </Patches>
   </Source>

    <Package>
        <Name>libexif</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <Package>
        <Name>libexif-devel</Name>
        Development files for libexif
        <RuntimeDependencies>
            <Dependency release="current">libexif</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc/libexif/libexif-api.html</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.6.21</Version>
            <Comment>Rebuild.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.6.21</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-24</Date>
            <Version>0.6.21</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>libexif</Name>
        EXIF verilerini işlemek, değiştirmek ve kaydetmek için bir kütüphane
        Librairie pour analyser, éditer et sauvegarder des données EXIF.
    </Source>

    <Package>
        <Name>libexif-devel</Name>
        libexif 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/copyleft/gpl.txt

from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

def setup():
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr")

def build():
    cmaketools.make()

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

    pisitools.dodoc("license.txt", "readme.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libgme</Name>
        <Homepage>https://bitbucket.org/mpyne/game-music-emu</Homepage>
        <Packager>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>LGPL</License>
        Video game music file emulation/playback library
        <Description>Video game music file emulation/playback library</Description>
        <Archive type="tarbz2" sha1sum="8850ec2a1c22bee065114fd3c190892dcc4510be">https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>libgcc</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>libgme</Name>
        Video game music file emulation/playback library
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="1">
            <Date>2017-01-30</Date>
            <Version>0.6.1</Version>
            <Comment>First Release</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@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
from pisi.actionsapi import get

def setup():
    autotools.configure("--with-gnu-ld \
                         --disable-debugging \
                         --disable-static")

def build():
    autotools.make()

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

    pisitools.dodoc("CHANGES", "COPYRIGHT", "CREDITS", "README", "TODO", "VERSION")


code:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: id3tag
Description: ID3 tag reading library
Requires:
Version: 0.15.1b
Libs: -L${libdir} -lid3tag -lz
Cflags: -L${includedir}


code:
diff -urNad libid3tag-0.15.1b~/compat.gperf libid3tag-0.15.1b/compat.gperf
--- libid3tag-0.15.1b~/compat.gperf	2004-01-23 09:41:32.000000000 +0000
+++ libid3tag-0.15.1b/compat.gperf	2007-01-14 14:36:53.000000000 +0000
@@ -236,6 +236,10 @@

     encoding = id3_parse_uint(&data, 1);
     string   = id3_parse_string(&data, end - data, encoding, 0);
+    if (!string)
+    {
+	continue;
+    }

     if (id3_ucs4_length(string) < 4) {
       free(string);
diff -urNad libid3tag-0.15.1b~/parse.c libid3tag-0.15.1b/parse.c
--- libid3tag-0.15.1b~/parse.c	2004-01-23 09:41:32.000000000 +0000
+++ libid3tag-0.15.1b/parse.c	2007-01-14 14:37:34.000000000 +0000
@@ -165,6 +165,9 @@
   case ID3_FIELD_TEXTENCODING_UTF_8:
     ucs4 = id3_utf8_deserialize(ptr, length);
     break;
+  default:
+  	/* FIXME: Unknown encoding! Print warning? */
+	return NULL;
   }

   if (ucs4 && !full) {


code:
--- libid3tag-0.15.1b/utf16.c
+++ libid3tag-0.15.1b/utf16.c
@@ -282,5 +282,18 @@

   free(utf16);

+  if (end == *ptr && length % 2 != 0)
+  {
+     /* We were called with a bogus length.  It should always
+      * be an even number.  We can deal with this in a few ways:
+      * - Always give an error.
+      * - Try and parse as much as we can and
+      *   - return an error if we're called again when we
+      *     already tried to parse everything we can.
+      *   - tell that we parsed it, which is what we do here.
+      */
+     (*ptr)++;
+  }
+
   return ucs4;
 }


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libid3tag</Name>
        <Homepage>http://mad.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>The MAD id3tag library</Summary>
        <Description>libid3tag is a library for reading and (eventually) writing ID3 tags, both ID3v1 and the various versions of ID3v2.</Description>
        <Archive sha1sum="4d867e8a8436e73cd7762fe0e85958e35f1e4306" type="targz">mirrors://sourceforge/mad/libid3tag-0.15.1b.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>libid3tag-0.15.1b-fix_overflow.patch</Patch>
            <Patch level="1">libid3tag-0.15.1b-unknown-encoding.patch</Patch>
            <Patch level="1">libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libid3tag</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        </Package>

    <Package>
        <Name>libid3tag-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">libid3tag</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/pkgconfig/id3tag.pc">id3tag.pc</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-05</Date>
            <Version>0.15.1b</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.15.1b</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-20</Date>
            <Version>0.15.1b</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libid3tag</Name>
        MAD id3tag kütüphanesi
        La librairie id3tag MAD.
        Die MAD id3tag Bibliothek
    </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 get

def setup():
    pisitools.dosed("configure", "HAVE_PYTHON=yes", "HAVE_PYTHON=no")
    autotools.configure("--enable-static=no")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libkate</Name>
        <Homepage>http://code.google.com/p/libkate</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        A text codec for embedding in Ogg
        <Description>Kate is a codec for karaoke and text encapsulation for Ogg.</Description>
        <Archive sha1sum="87fd8baaddb7120fb4d20b0a0437e44ea8b6c9d8" type="targz">https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/libkate/libkate-0.4.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libkate</Name>
        <RuntimeDependencies>
            <Dependency>libogg</Dependency>
            <Dependency>libpng</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libkate-docs</Name>
        API documentation for libkate
        <RuntimeDependencies>
            <Dependency release="current">libkate</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/libkate/html</Path>
            <Path fileType="doc">/usr/share/doc/libkate/examples</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-04</Date>
            <Version>0.4.1</Version>
            <Comment>Rebuild for new Toolchain.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.4.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-24</Date>
            <Version>0.4.1</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>libkate</Name>
        Ogg için karaoke ve metin kitaplığı
        <Description xml:lang="tr">Kate, karaoke ve metinleri ogg dosyalara gömmek için kullanılan kitaplık ve konsol uygulamaları içerir.</Description>
    </Source>

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

    <Package>
        <Name>libkate-docs</Name>
        libkate paketine ait API belgeleri
    </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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "%s-1-%s" % (get.srcNAME(), get.srcVERSION())

def setup():
    autotools.configure("--disable-static")

def build():
    autotools.make()

def install():
    autotools.install()

    pisitools.removeDir("/usr/share/man")

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>liblqr</Name>
        <Homepage>http://liblqr.wikidot.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <License>LGPLv3</License>
        <IsA>library</IsA>
        An easy to use C/C++ seam carving library
        <Description>liblqr is a free, open source implementation of a seam carving algorithm which aims at resizing pictures non uniformly while preserving their features.</Description>
        <Archive sha1sum="69639f7dc56a084f59a3198f3a8d72e4a73ff927" type="tarbz2">http://liblqr.wdfiles.com/local--files/en:download-page/liblqr-1-0.4.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>liblqr</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>0.4.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.4.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-24</Date>
            <Version>0.4.2</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>liblqr</Name>
        Görüntü boyutlandırma kütüphanesi
        <Description xml:lang="tr">liblqr, yeniden boyutlandırılacak resimlerin özelliklerini koruyan liquid rescale algoritmasının bir gerçeklemesidir.</Description>
    </Source>

    <Package>
        <Name>liblqr-devel</Name>
        liblqr 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 shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import get

WorkDir = "."

def setup():
    shelltools.cd("MediaInfoLib/Project/GNU/Library")
    libtools.libtoolize("--automake")
    autotools.aclocal()
    autotools.automake("-afc")
    autotools.autoconf()
    autotools.configure("--enable-shared \
                         --disable-static \
                         --with-libcurl \
                         --with-libmms")

def build():
    shelltools.cd("MediaInfoLib/Project/GNU/Library")
    autotools.make()

def install():
    shelltools.cd("MediaInfoLib/Project/GNU/Library")
    autotools.install()
    pisitools.dosed("libmediainfo.pc", "^(Version:)\s+$", r"\1 %s\n" % get.srcVERSION())
    pisitools.dosed("libmediainfo.pc", "^Libs_Static.*$", "")
    pisitools.dodir("/usr/lib/pkgconfig")
    pisitools.insinto("/usr/lib/pkgconfig", "libmediainfo.pc")
    shelltools.cd("../../../")
    pisitools.dodoc("*.txt")
    pisitools.dohtml("*.html")
    for it in ["MediaInfo", "MediaInfoDLL"]:
        pisitools.dodir("/usr/include/%s" % it)
        pisitools.insinto("/usr/include/%s" % it, "Source/%s/*.h" % it)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libmediainfo</Name>
        <Homepage>http://mediaarea.net/en/MediaInfo</Homepage>
        <Packager>
            <Name>Pisi Linux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv3</License>
        <IsA>library</IsA>
        <Summary>shared library for mediainfo</Summary>
        <Description>shared library for mediainfo</Description>
        <Archive sha1sum="94aed4d109645f96047e043cc85d2928f930ad2d" type="tarbz2">https://mediaarea.net/download/source/libmediainfo/0.7.94/libmediainfo_0.7.94.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>autoconf</Dependency>
            <Dependency>automake</Dependency>
            <Dependency>libtool</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libzen-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>libmms-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libmediainfo</Name>
        <RuntimeDependencies>
            <Dependency>curl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libzen</Dependency>
            <Dependency>libmms</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/</Path>
            <Path fileType="library">/usr/lib/</Path>
        </Files>
    </Package>

    <Package>
        <Name>libmediainfo-devel</Name>
        <RuntimeDependencies>
            <Dependency>libzen-devel</Dependency>
            <Dependency release="current">libmediainfo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/MediaInfo</Path>
            <Path fileType="header">/usr/include/MediaInfoDLL</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-09</Date>
            <Version>0.7.94</Version>
            <Comment>Version bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-11-24</Date>
            <Version>0.7.90</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-12-20</Date>
            <Version>0.7.65</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libmediainfo</Name>
        <Summary xml:lang="tr">shared library for mediainfo</Summary>
        <Description xml:lang="tr">shared library for mediainfo</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("CFLAGS", "%s -O2" % get.CFLAGS())
    autotools.configure("--disable-static \
                         --disable-gtk-doc")

def build():
    autotools.make("-j1")

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

    pisitools.dodoc("AUTHORS", "BUG-REPORTING", "HACKING", "NEWS", "README")
    pisitools.removeDir("/usr/share/gtk-doc")


code:
From 705916007fba0a845229a02dc6474cb523eff150 Mon Sep 17 00:00:00 2001
From: David Schleef <ds@schleef.org>
Date: Tue, 20 Jul 2010 21:05:26 +0000
Subject: x86: Fix cpuid function on x86-64

Fixes: #28956.
---
diff --git a/liboil/liboilcpu-x86.c b/liboil/liboilcpu-x86.c
index e7a1978..ef4d3f2 100644
--- a/liboil/liboilcpu-x86.c
+++ b/liboil/liboilcpu-x86.c
@@ -162,13 +162,10 @@ get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d)
 static void
 get_cpuid (uint32_t op, uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d)
 {
+  *a = op;
   __asm__ (
-      "  pushq %%rbx\n"
       "  cpuid\n"
-      "  mov %%ebx, %%esi\n"
-      "  popq %%rbx\n"
-      : "=a" (*a), "=S" (*b), "=c" (*c), "=d" (*d)
-      : "0" (op));
+      : "+a" (*a), "=b" (*b), "=c" (*c), "=d" (*d));
 }
 #endif

@@ -185,7 +182,7 @@ oil_cpu_detect_cpuid (void)
 {
   uint32_t eax, ebx, ecx, edx;
   uint32_t level;
-  char vendor[13] = { 0 };
+  char vendor[13+4] = { 0 };
   int ret;

   oil_fault_check_enable ();
--
cgit v0.8.3-6-g21f6


code:
From 064d11051f477cd2c398e5d4e3cb1301daf683eb Mon Sep 17 00:00:00 2001
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 17 Aug 2010 22:30:49 +0200
Subject: [PATCH] fix stride tc on amd64. i386 and powerpc

the stride tc segfauls with

|diff --git a/testsuite/stride.c b/testsuite/stride.c
|index abc521e..debc340 100644
|--- a/testsuite/stride.c
|+++ b/testsuite/stride.c
|@@ -74,8 +74,8 @@ int main (int argc, char *argv[])
|       continue;
|     }
|     oil_test_set_iterations (test, 1);
|-    test->n = 1 + oil_rand_u8();
|-    test->m = 1 + oil_rand_u8();
|+    test->n = 1;
|+    test->m = 33;
|
|     oil_test_check_impl (test, klass->reference_impl);
|     for(j=0;j<OIL_ARG_LAST;j++){

as random numers. This was reported as Debian bug #483352.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 liboil/amd64/wavelet.c   |    3 +++
 liboil/i386/wavelet.c    |    2 ++
 liboil/powerpc/rgb2bgr.c |    2 ++
 3 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/liboil/amd64/wavelet.c b/liboil/amd64/wavelet.c
index 6b1946a..353471f 100644
--- a/liboil/amd64/wavelet.c
+++ b/liboil/amd64/wavelet.c
@@ -18,6 +18,9 @@ deinterleave2_asm (int16_t *d1, int16_t *d2, int16_t *s_2xn, int n)
     n--;
   }

+  if (!n)
+	  return;
+
   asm volatile ("\n"
       "  sub $2, %%rcx\n"
       "1:\n"
diff --git a/liboil/i386/wavelet.c b/liboil/i386/wavelet.c
index a382a22..d8d61a6 100644
--- a/liboil/i386/wavelet.c
+++ b/liboil/i386/wavelet.c
@@ -117,6 +117,8 @@ deinterleave2_asm (int16_t *d1, int16_t *d2, int16_t *s_2xn, int n)
     s_2xn+=2;
     n--;
   }
+  if (!n)
+	  return;

   asm volatile ("\n"
       "  mov %3, %%ecx\n"
diff --git a/liboil/powerpc/rgb2bgr.c b/liboil/powerpc/rgb2bgr.c
index 8787d66..419b8e1 100644
--- a/liboil/powerpc/rgb2bgr.c
+++ b/liboil/powerpc/rgb2bgr.c
@@ -50,6 +50,8 @@ rgb2bgr_ppc (uint8_t *dest, uint8_t* src, int n)
   n /= 4;
   dest -= 4;
   src -= 4;
+  if (!n)
+	  return ;
   asm volatile (
 	"	mtctr %2		\n"
 	"1:	lwzu r10, 4(%1)		\n" /* rgbr x */
--
1.5.6.5


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>liboil</Name>
        <Homepage>http://www.schleef.org/liboil/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Liboil is a library of simple functions that are optimized for various CPUs
        <Description>Liboil is a library of simple functions that are optimized for various CPUs. These functions are generally loops implementing simple algorithms, such as converting an array of N integers to floating-point numbers or multiplying and summing an array of N numbers.</Description>
        <Archive sha1sum="f9d7103a3a4a4089f56197f81871ae9129d229ed" type="targz">http://liboil.freedesktop.org/download/liboil-0.3.17.tar.gz</Archive>
        <Patches>
            <Patch level="1">02_amd64-cpuid.patch</Patch>
            <Patch level="1">03_stride-segfaults.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>liboil</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>0.3.17</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.3.17</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-24</Date>
            <Version>0.3.17</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>liboil</Name>
        Liboil, farklı işlemciler için optimize edilmiş temel fonksiyonlardan oluşan bir kütüphanedir
        <Description xml:lang="tr">liboil çeşitli CPU 'lar için en iyilenmiş basit fonksiyon kütüphanesidir. Bu fonksiyonlar genellikle döngüler için gerçekleştirilen yalın algoritmalardır, örneğin ; N integer elemanı olan bir diziyi float elemanlı diziye dönüştürmek yada N elemanlı bir dizi ile toplama yada çarpma yapmak gibi.</Description>
        <Description xml:lang="fr">Liboil est une librairie de fonctions simples optimisées pour différents processeurs. Ces fonction sont en général des boucles implémentant des algorithmes simples, tel que convertir un tableau de N entiers en nombres à virgule flottante ou multiplier et additionner un tableau de N nombres.</Description>
        <Description xml:lang="es">Liboil es una librería con funciones simples, optimizados para múltiples CPUs. Estas funciones son generalmente bucles realizando simples algoritmos, como conversión de arrays de N enteros a números de punto flotante o multiplicación y suma de un array de N números.</Description>
    </Source>

    <Package>
        <Name>liboil-devel</Name>
        liboil 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/copyleft/gpl.txt.

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

def setup():
    autotools.autoreconf("-vif")
    autotools.configure("--enable-custom-modes \
                         --disable-static \
                         --disable-doc")

def build():
    autotools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libopus</Name>
        <Homepage>http://www.opus-codec.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        Opus is a totally open, royalty-free, highly versatile audio codec
        <Description>Opus is unmatched for interactive speech and music transmission over the Internet, but is also intended for storage and streaming applications. It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.</Description>
        <Archive sha1sum="c7ecd67321c0e72c928ffc1013d725fc537e633f" type="targz">http://downloads.xiph.org/releases/opus/opus-1.1.4.tar.gz</Archive>
    </Source>

    <Package>
        <Name>libopus</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libopus-docs</Name>
        document files for libopus
        <RuntimeDependencies>
            <Dependency release="current">libopus</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-25</Date>
            <Version>1.1.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-22</Date>
            <Version>1.1</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libopus</Name>
        Açık kaynak, telif ücretsiz, çok yönlü ses codec bileşenidir
        <Description xml:lang="tr">Opus Internet üzerinde etkileşimli ses ve müzik iletimi için eşsiz olan, ama aynı zamanda saklama ve akış uygulamaları için tasarlanmıştır.
Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 olarak Internet Engineering Task Force (IETF) tarafından standartlaştırılmıştır.</Description>
    </Source>

    <Package>
        <Name>libopus-devel</Name>
        Libopus 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

def setup():
    autotools.configure("--disable-static \
                         --without-java")

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

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libpano13</Name>
        <Homepage>http://sourceforge.net/projects/panotools</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        Library for manipulating panoramic images
        <Description>libpano13 is a library which provides very high quality manipulation, correction and stitching of panoramic photographs.</Description>
        <Archive sha1sum="85d8d94c96780fa5b6df2c2e4929f8d20557f128" type="targz">mirrors://sourceforge/panotools/libpano13-2.9.19.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libpano13</Name>
        <RuntimeDependencies>
            <Dependency>tiff</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <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/man1</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-04-08</Date>
            <Version>2.9.19</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.9.19</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-11-10</Date>
            <Version>2.9.19</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libpano13</Name>
        Panoramik görüntü kitaplığı
        <Description xml:lang="tr">libpano13 panoramik görüntüleri yüksek kalitede düzeltip birleştirebilen bir kitaplıktır.</Description>
    </Source>

    <Package>
        <Name>libpano13-devel</Name>
        libpano13 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 libtools
from pisi.actionsapi import get

WorkDir = "SDL-%s" % get.srcVERSION()
docdir = "%s/%s" % (get.docDIR(), get.srcNAME())

def setup():
    shelltools.export("CFLAGS", "%s -fPIC -O3" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -fPIC -O3" % get.CXXFLAGS())

    # for libtool version matching
    #shelltools.copy("/usr/share/aclocal/ltversion.m4", "acinclude/")
    shelltools.system("./autogen.sh")

    #libtools.libtoolize("--force --copy")

    options = "--enable-events \
               --enable-cpuinfo \
               --enable-cdrom \
               --enable-threads \
               --enable-timers \
               --enable-file \
               --enable-alsa \
               --enable-oss \
               --enable-nasm \
               --enable-video-aalib \
               --enable-video-caca \
               --enable-video-directfb \
               --enable-video-fbcon \
               --enable-video-dummy \
               --enable-video-opengl \
               --enable-video-x11 \
               --enable-video-x11-xv \
               --enable-video-x11-xinerama \
               --enable-video-x11-xrandr \
               --with-x \
               --disable-rpath \
               --disable-arts \
               --disable-dga \
               --disable-esd \
               --disable-nas \
               --disable-video-dga \
               --disable-video-ggi \
               --disable-video-svga \
               --disable-video-x11-xme \
               --disable-static"

    if get.buildTYPE() == "emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/emul32/bin \
                     --mandir=/emul32/man \
                     --disable-video-aalib \
                     --disable-video-caca \
                     --disable-video-directfb"

        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        shelltools.export("CFLAGS", "%s -fPIC -O3 -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -fPIC -O3 -m32" % get.CXXFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())

    autotools.configure(options)

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

def build():
    autotools.make()

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

    for i in ["html", "images", "index.html"]:
        pisitools.insinto(docdir, "docs/%s" % i)

    pisitools.dodoc("BUGS", "CREDITS", "README", "README-SDL.txt", "TODO", "WhatsNew")


code:
diff -up SDL-1.2.13/include/SDL_stdinc.h~ SDL-1.2.13/include/SDL_stdinc.h
--- SDL-1.2.13/include/SDL_stdinc.h~	2007-12-31 05:48:36.000000000 +0100
+++ SDL-1.2.13/include/SDL_stdinc.h	2009-02-13 11:01:34.000000000 +0100
@@ -320,7 +320,7 @@ do {								\
 #define SDL_memcpy4(dst, src, len)	SDL_memcpy(dst, src, (len) << 2)
 #endif

-#if defined(__GNUC__) && defined(i386)
+#if 0
 #define SDL_revcpy(dst, src, len)			\
 do {							\
 	int u0, u1, u2;					\


code:
--- SDL-1.2.14/sdl.pc.in.no_lpthread	2009-10-13 01:07:20.000000000 +0200
+++ SDL-1.2.14/sdl.pc.in	2009-11-08 14:52:47.000000000 +0100
@@ -10,6 +10,6 @@
 Version: @SDL_VERSION@
 Requires:
 Conflicts:
-Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
+Libs: -L${libdir} @SDL_RLD_FLAGS@ -lSDL
 Libs.private: @SDL_STATIC_LIBS@
 Cflags: -I${includedir}/SDL @SDL_CFLAGS@


code:
--- SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c.noproc	2009-10-17 09:45:42.000000000 +0200
+++ SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c	2009-11-08 14:58:36.000000000 +0100
@@ -364,7 +364,10 @@
 		}
 		fclose(fp);
 	}
-	return(progname);
+	if (progname)
+		return(progname);
+	else
+		return SDL_strdup ("SDL");
 #elif defined(__NetBSD__)
 	return getprogname();
 #else


code:
--- src/joystick/linux/SDL_sysjoystick.c.org	2012-06-06 18:03:56.700819599 +0300
+++ src/joystick/linux/SDL_sysjoystick.c	2012-06-06 18:04:31.473143816 +0300
@@ -1106,6 +1106,10 @@ static __inline__ void EV_HandleEvents(S
 				}
 				break;
 			    case EV_ABS:
+				if (code >= ABS_MISC) {
+				    break;
+				}
+
 				switch (code) {
 				    case ABS_HAT0X:
 				    case ABS_HAT0Y:


code:
--- src/video/x11/SDL_x11events.c.orig		Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11events.c		Mon Mar 26 12:26:52 2012 +1300
@@ -57,12 +57,6 @@
 static SDLKey MISC_keymap[256];
 SDLKey X11_TranslateKeycode(Display *display, KeyCode kc);

-/*
- Pending resize target for ConfigureNotify (so outdated events don't
- cause inappropriate resize events)
-*/
-int X11_PendingConfigureNotifyWidth = -1;
-int X11_PendingConfigureNotifyHeight = -1;

 #ifdef X_HAVE_UTF8_STRING
 Uint32 Utf8ToUcs4(const Uint8 *utf8)
@@ -825,16 +819,6 @@
 #ifdef DEBUG_XEVENTS
 printf("ConfigureNotify! (resize: %dx%d)\n", xevent.xconfigure.width, xevent.xconfigure.height);
 #endif
-		if ((X11_PendingConfigureNotifyWidth != -1) &&
-		    (X11_PendingConfigureNotifyHeight != -1)) {
-		    if ((xevent.xconfigure.width != X11_PendingConfigureNotifyWidth) &&
-			(xevent.xconfigure.height != X11_PendingConfigureNotifyHeight)) {
-			    /* Event is from before the resize, so ignore. */
-			    break;
-		    }
-		    X11_PendingConfigureNotifyWidth = -1;
-		    X11_PendingConfigureNotifyHeight = -1;
-		}
 		if ( SDL_VideoSurface ) {
 		    if ((xevent.xconfigure.width != SDL_VideoSurface->w) ||
 		        (xevent.xconfigure.height != SDL_VideoSurface->h)) {
diff -r c787fb1b5699 src/video/x11/SDL_x11events_c.h
--- src/video/x11/SDL_x11events_c.h.orig	Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11events_c.h		Mon Mar 26 12:26:52 2012 +1300
@@ -27,8 +27,3 @@
 extern void X11_InitOSKeymap(_THIS);
 extern void X11_PumpEvents(_THIS);
 extern void X11_SetKeyboardState(Display *display, const char *key_vec);
-
-/* Variables to be exported */
-extern int X11_PendingConfigureNotifyWidth;
-extern int X11_PendingConfigureNotifyHeight;
-
diff -r c787fb1b5699 src/video/x11/SDL_x11video.c
--- src/video/x11/SDL_x11video.c.orig		Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11video.c		Mon Mar 26 12:26:52 2012 +1300
@@ -1182,8 +1182,6 @@
 			current = NULL;
 			goto done;
 		}
-		X11_PendingConfigureNotifyWidth = width;
-		X11_PendingConfigureNotifyHeight = height;
 	} else {
 		if (X11_CreateWindow(this,current,width,height,bpp,flags) < 0) {
 			current = NULL;


code:
--- sdl-config.in.orig
+++ sdl-config.in
@@ -44,7 +44,12 @@
       echo -I@includedir@/SDL @SDL_CFLAGS@
       ;;
 @ENABLE_SHARED_TRUE@    --libs)
-@ENABLE_SHARED_TRUE@      echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
+@ENABLE_SHARED_TRUE@      if test x"${prefix}" != x"/usr" ; then
+@ENABLE_SHARED_TRUE@          libdirs="-L@libdir@"
+@ENABLE_SHARED_TRUE@      else
+@ENABLE_SHARED_TRUE@          libdirs=""
+@ENABLE_SHARED_TRUE@      fi
+@ENABLE_SHARED_TRUE@      echo $libdirs @SDL_RLD_FLAGS@ @SDL_LIBS@
 @ENABLE_SHARED_TRUE@      ;;
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@    --static-libs)
 @ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@    --libs|--static-libs)


code:
# and another one from FS#26020

--- a/src/video/SDL_yuv_sw.c    2009-10-13 06:07:15.000000000 +0700
+++ b/src/video/SDL_yuv_sw.c    2011-09-20 19:26:30.247742620 +0700
@@ -89,6 +89,8 @@
 #include "SDL_yuvfuncs.h"
 #include "SDL_yuv_sw_c.h"

+#undef __OPTIMIZE__
+
 /* The functions used to manipulate software video overlays */
 static struct private_yuvhwfuncs sw_yuvfuncs = {
    SDL_LockYUV_SW,


code:
--- src/video/x11/SDL_x11sym.h-orig 2013-07-16 23:56:46.718523385 -0600
+++ src/video/x11/SDL_x11sym.h  2013-07-16 23:58:27.025186485 -0600
@@ -165,7 +165,8 @@
  */
 #ifdef LONG64
 SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
 #endif


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libsdl</Name>
        <Homepage>http://www.libsdl.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Simple Direct Media Layer
        <Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
        <Archive sha1sum="0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c" type="targz">http://www.libsdl.org/release/SDL-1.2.15.tar.gz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="1.7.7">DirectFB-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libusb-compat-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">sdl-1.2.14-disable-mmx.patch</Patch>
            <Patch level="0">sdl_x11sym.patch</Patch>
            <Patch level="1">SDL-1.2.14-dont-propagate-lpthread.patch</Patch>
            <Patch level="1">SDL-1.2.14-noproc.patch</Patch>
            <Patch level="1">SDL-1.2.13-rh484362.patch</Patch>
            <Patch level="0">libsdl-1.2.15-sdl-config.patch</Patch>
            <Patch level="0">libsdl-1.2.15-resizing.patch</Patch>
            <Patch level="0">libsdl-1.2.15-joystick.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libsdl-docs</Name>
        libsdl reference documents
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="1.7.1">DirectFB</Dependency>
            <Dependency>aalib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl-devel</Name>
        Development files for libsdl
        <RuntimeDependencies>
            <Dependency release="current">libsdl</Dependency>
            <Dependency versionFrom="1.7.1">DirectFB-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>aalib-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libusb-compat-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/libSDLmain.a</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for libsdl
        <BuildType>emul32</BuildType>
        <BuildDependencies>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">libsdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-12-12</Date>
            <Version>1.2.15</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-02-16</Date>
            <Version>1.2.15</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.2.15</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>1.2.15</Version>
            <Comment>Release bump</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-27</Date>
            <Version>1.2.15</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libsdl</Name>
        Basit bir direk ortam erişim katmanı
        Simple Direct Media Layer (Couche Média Simple et Directe).
        Einfachee direkte Medien-Schicht
        <Description xml:lang="tr">libsdl; ses, klavye, fare, oyun çubuğu, OpenGL ile 3B donanımsal hızlandırma, 2B görüntü belleğine direkt erişim sağlayan birden çok platform destekleyen bir çokluortam kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>libsdl-docs</Name>
        libsdl başvuru belgeleri
    </Package>

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

    <Package>
        <Name>libsdl-32bit</Name>
        libsdl 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/licenses/gpl.txt

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

WorkDir = "SDL2-%s" % get.srcVERSION()
docdir = "%s/%s" % (get.docDIR(), get.srcNAME())

def setup():
    shelltools.export("CFLAGS", "%s -fPIC -O3" % get.CFLAGS())
    shelltools.export("CXXFLAGS", "%s -fPIC -O3" % get.CXXFLAGS())

    # for libtool version matching
    #shelltools.copy("/usr/share/aclocal/ltversion.m4", "acinclude/")
    shelltools.system("./autogen.sh")

    #libtools.libtoolize("--force --copy")

    options = "--enable-sdl-dlopen \
               --disable-arts \
               --disable-esd \
               --disable-nas \
               --enable-pulseaudio-shared \
               --enable-alsa \
               --disable-rpath"

    if get.buildTYPE() == "emul32":
        options += " --libdir=/usr/lib32 \
                     --bindir=/emul32/bin \
                     --mandir=/emul32/man \
                     "

        shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
        shelltools.export("CFLAGS", "%s -fPIC -O3 -m32" % get.CFLAGS())
        shelltools.export("CXXFLAGS", "%s -fPIC -O3 -m32" % get.CXXFLAGS())
        shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())

    autotools.configure(options)

def build():
    autotools.make()

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

    pisitools.dodoc("BUGS.txt", "CREDITS.txt", "COPYING.txt", "README.txt", "README-SDL.txt", "TODO.txt", "WhatsNew.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libsdl2</Name>
        <Homepage>http://www.libsdl.org/</Homepage>
        <Packager>
            <Name>Mathias Freire</Name>
            <Email>mathiasfreire45@gmail.com</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        Simple Direct Media Layer 2.0 series
        <Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
        <Archive sha1sum="c4f87580630387796df4ac87c362b4f9a721457e" type="targz">http://www.libsdl.org/release/SDL2-2.0.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>dbus-devel</Dependency>
            <Dependency>ibus-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>libXv-devel</Dependency>
            <Dependency>libXt-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>DirectFB-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>audiofile-devel</Dependency>
            <Dependency>libXrandr-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libsdl2-docs</Name>
        libsdl2 reference documents
        <RuntimeDependencies>
            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2</Name>
        <RuntimeDependencies>
            <Dependency>mesa</Dependency>
            <Dependency>libXt</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>DirectFB</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>audiofile</Dependency>
            <Dependency>libXrandr</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2-devel</Name>
        Development files for libsdl2
        <RuntimeDependencies>
            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="library">/usr/lib/libSDL2main.a</Path>
            <Path fileType="library">/usr/lib32/libSDL2main.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsdl2-32bit</Name>
        <PartOf>emul32</PartOf>
        32-bit shared libraries for libsdl2
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>audiofile-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libXt-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>alsa-lib-32bit</Dependency>
            <Dependency>audiofile-32bit</Dependency>
            <Dependency>libXrandr-32bit</Dependency>
            <Dependency>libXrender-32bit</Dependency>
            <Dependency>libXinerama-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>libXScrnSaver-32bit</Dependency>
            <Dependency>pulseaudio-libs-32bit</Dependency>

            <Dependency release="current">libsdl2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-12-12</Date>
            <Version>2.0.5</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>2.0.5</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.0.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-11</Date>
            <Version>2.0.4</Version>
            <Comment>First release</Comment>
            <Name>Mathias Freire</Name>
            <Email>mathiasfreire45@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>libsdl2</Name>
        Basit bir direk ortam erişim katmanı 2.0 serisi
        Simple Direct Media Layer (Couche Média Simple et Directe).
        Einfachee direkte Medien-Schicht
        <Description xml:lang="tr">libsdl; ses, klavye, fare, oyun çubuğu, OpenGL ile 3B donanımsal hızlandırma, 2B görüntü belleğine direkt erişim sağlayan birden çok platform destekleyen bir çokluortam kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>libsdl2-docs</Name>
        libsdl2 başvuru belgeleri
    </Package>

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

    <Package>
        <Name>libsdl2-32bit</Name>
        libsdl2 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 autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--disable-static \
                         --enable-theora \
                         --enable-speex")

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

def build():
    autotools.make()

def install():
    autotools.install()

    #pisitools.removeDir("/usr/bin")


code:
diff -Naur libshout-2.2.2.orig/m4/acx_pthread.m4 libshout-2.2.2/m4/acx_pthread.m4
--- libshout-2.2.2.orig/m4/acx_pthread.m4	2009-04-23 03:28:22.000000000 +0300
+++ libshout-2.2.2/m4/acx_pthread.m4	2009-04-23 04:01:37.000000000 +0300
@@ -62,7 +62,7 @@
 # pthread-config: use pthread-config program (for GNU Pth library)

 case "${host_cpu}-${host_os}" in
-        *solaris*)
+        *solaris*|*linux*)

         # On Solaris (at least, for some versions), libc contains stubbed
         # (non-functional) versions of the pthreads routines, so link-based


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libshout</Name>
        <Homepage>http://www.icecast.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2+</License>
        <IsA>library</IsA>
        A library for communicating with and sending data to an icecast server
        <Description>Libshout is a library for communicating with and sending data to an icecast server.  It handles the socket connection, the timing of the data, and prevents bad data from getting to the icecast server.</Description>
        <Archive sha1sum="cca5606f38e84a4c46223796b06cf7483abaa32f" type="targz">http://downloads.us.xiph.org/releases/libshout/libshout-2.4.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>speex-devel</Dependency>
        </BuildDependencies>
        <Patches>

            <Patch level="1">pthread_flag.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libshout</Name>
        <RuntimeDependencies>
            <Dependency>libvorbis</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libtheora</Dependency>
            <Dependency>speex</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libshout-devel</Name>
        Development files for libshout
        <RuntimeDependencies>
            <Dependency release="current">libshout</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libogg-devel</Dependency>
            <Dependency>speex-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="doc">/usr/share/doc/*.c</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-17</Date>
            <Version>2.4.1</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.3.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-25</Date>
            <Version>2.3.1</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>libshout</Name>
        Icecast sunucusuyla veri alış verişini sağlayan bir kütüphane
        <Description xml:lang="tr">Libshout, Icecast sunucusuyla iletişimi ve veri alış verişini sağlar. Verilerin zamanlamasını ve gerekli soket bağlantılarını kontrol ederek, sunucu üzerinde hatalı veri transferini önler.</Description>
    </Source>

    <Package>
        <Name>libshout-devel</Name>
        libshout 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 get

def setup():
    autotools.configure("--prefix=/usr \
                         --disable-debug")

def build():
    autotools.make()

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

    #pisitools.insinto("/usr/lib/", "*.so*")
    #pisitools.dosym("libspnav.so.0.1", "/usr/lib/libspnav.so.0")
    #pisitools.domove("/usr/lib/libspnav.so.0.1", "/usr/lib", "libspnav.so")
    #pisitools.insinto("/usr/lib/", "*.so*")
    #pisitools.insinto("/usr/include/", "*.h")

    pisitools.dodoc("README")


code:
--- libspnav-0.2.3/Makefile.in~	2015-01-10 09:08:35.043417955 +0000
+++ libspnav-0.2.3/Makefile.in	2015-01-10 09:09:00.833315269 +0000
@@ -54,8 +54,8 @@
 	cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
 	[ -n "$(soname)" ] && \
 		rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \
-		ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
-		ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
+		ln -s $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
+		ln -s $(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
 		true
 	for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done