code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>a52dec</Name>
        DVD'de kullanılan ATSC A/52 akımını çözen kütüphane
        <Description xml:lang="tr">liba52 ATSC A/52 yayınlarının kodlarını çözen ücretsiz bir kütüphanedir. A/52 standart dijital televizyon ve DVD programlarını da içeren çeşitli uygulamalar tarafından kullanılmaktadır.</Description>
    </Source>

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


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

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

shelltools.export("XDG_DATA_DIRS", get.workDIR())

def setup():
    shelltools.system("sed -i -e 's|PATH_SUFFIXES lastfm5|PATH_SUFFIXES lastfm|' cmake/modules/FindLibLastFm.cmake")
    kde5.configure("-DCMAKE_BUILD_TYPE=Release \
                    -DCMAKE_INSTALL_PREFIX=/usr \
                    -DLIB_INSTALL_DIR=lib \
                    -DPLUGIN_INSTALL_DIR=/usr/lib/qt5/plugins \
                    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
                    -DBUILD_TESTING=OFF \
                    -DKDE_DISTRIBUTION_TEXT='PisiLinux'")

def build():
    kde5.make()

def install():
    kde5.install()

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

repo_name: ayhanyalcinsoy/main


code:
diff --git a/src/musicbrainz/MusicDNSAudioDecoder.cpp b/src/musicbrainz/MusicDNSAudioDecoder.cpp
index 6216e5ce26cc3461b89aea560943ad7a79101af9..65a92fb43811d0cbdde5e2442880496b3417da68 100644
--- a/src/musicbrainz/MusicDNSAudioDecoder.cpp
+++ b/src/musicbrainz/MusicDNSAudioDecoder.cpp
@@ -243,7 +243,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
             {
                 if( !decodedFrame )
                 {
-                    decodedFrame = avcodec_alloc_frame();
+                    decodedFrame = av_frame_alloc();
                     if( !decodedFrame )
                     {
                         warning() << "Unable to allocate enough memory to decode file.";
@@ -251,7 +251,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
                         break;
                     }
                     else
-                        avcodec_get_frame_defaults( decodedFrame );
+                        av_frame_unref( decodedFrame );
                 }

                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
@@ -287,7 +287,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c

     avcodec_close( pCodecCtx );
     avformat_close_input( &pFormatCtx );
-    av_free( decodedFrame );
+    av_frame_free( &decodedFrame );

     return data->duration();
 }
@@ -361,7 +361,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
             {
                 if( !decodedFrame )
                 {
-                    decodedFrame = avcodec_alloc_frame();
+                    decodedFrame = av_frame_alloc();
                     if( !decodedFrame )
                     {
                         warning() << "Unable to allocate enough memory to decode file.";
@@ -369,7 +369,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
                         break;
                     }
                     else
-                        avcodec_get_frame_defaults( decodedFrame );
+                        av_frame_unref( decodedFrame );
                 }

                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
@@ -405,7 +405,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c

     avcodec_close( pCodecCtx );
     avformat_close_input( &pFormatCtx );
-    av_free( decodedFrame );
+    av_frame_free( &decodedFrame );

     return data->duration();
 }
@@ -479,7 +479,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
             {
                 if( !decodedFrame )
                 {
-                    decodedFrame = avcodec_alloc_frame();
+                    decodedFrame = av_frame_alloc();
                     if( !decodedFrame )
                     {
                         warning() << "Unable to allocate enough memory to decode file.";
@@ -487,7 +487,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c
                         break;
                     }
                     else
-                        avcodec_get_frame_defaults( decodedFrame );
+                        av_frame_unref( decodedFrame );
                 }

                 decoderRet = avcodec_decode_audio4( pCodecCtx, decodedFrame, &gotFrame, &avpkt );
@@ -523,7 +523,7 @@ MusicDNSAudioDecoder::decode( const QString &fileName, DecodedAudioData *data, c

     avcodec_close( pCodecCtx );
     av_close_input_file( pFormatCtx );
-    av_free( decodedFrame );
+    av_frame_free( &decodedFrame );

     return data->duration();
 }


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>amarok</Name>
        <Homepage>http://amarok.kde.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>amarok</Icon>
        <IsA>app:gui</IsA>
        <Summary>Amarok audio player</Summary>
        <Description>Amarok is a feature-rich audio player for the KDE desktop.</Description>
        <Archive sha1sum="9957b4df666a1e19fc6d9fd411d48b5d11f88a65" type="zip">https://github.com/KDE/amarok/archive/0b2b243b2b70471c32d282157624379da5214051.zip</Archive>
        <BuildDependencies>
            <Dependency>extra-cmake-modules</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>qt5-script-devel</Dependency>
            <Dependency>qt5-sql-mysql</Dependency>
            <Dependency>qt5-sql-odbc</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qt5-declarative-devel</Dependency>
            <Dependency>qt5-webkit-devel</Dependency>
            <Dependency>kcoreaddons-devel</Dependency>
            <Dependency>solid-devel</Dependency>
            <Dependency>kdelibs4-support-devel</Dependency>
            <Dependency>kcodecs-devel</Dependency>
            <Dependency>ki18n-devel</Dependency>
            <Dependency>threadweaver-devel</Dependency>
            <Dependency>plasma-framework-devel</Dependency>
            <Dependency>kcmutils-devel</Dependency>
            <Dependency>knewstuff-devel</Dependency>
            <Dependency>ktexteditor-devel</Dependency>
            <Dependency>kglobalaccel-devel</Dependency>
            <Dependency>kio-devel</Dependency>
            <Dependency>knotifyconfig-devel</Dependency>
            <Dependency>karchive-devel</Dependency>
            <Dependency>kdnssd-devel</Dependency>
            <Dependency>kdesignerplugin</Dependency>
            <Dependency>kdoctools-devel</Dependency>
            <Dependency>kemoticons-devel</Dependency>
            <Dependency>kitemmodels-devel</Dependency>
            <Dependency>kinit-devel</Dependency>
            <Dependency>kunitconversion-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>libqjson-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>libmtp-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>liblastfm-devel</Dependency>
            <Dependency>qca2-qt5-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libofa-devel</Dependency>
            <Dependency>clamz</Dependency>
            <Dependency>ifuse</Dependency>
            <Dependency>loudmouth-devel</Dependency>
            <Dependency>libgpod-devel</Dependency>
            <Dependency>libmygpo-qt-devel</Dependency>
            <Dependency>taglib-extras-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
            <Dependency>gst-plugins-bad-next-devel</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>mariadb-client</Dependency>
            <Dependency>mariadb-server</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">rb126682.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>amarok</Name>
        <RuntimeDependencies>
            <Dependency>kio</Dependency>
            <Dependency>ki18n</Dependency>
            <Dependency>solid</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libofa</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>kcodecs</Dependency>
            <Dependency>kconfig</Dependency>
            <Dependency>kxmlgui</Dependency>
            <Dependency>qt5-svg</Dependency>
            <Dependency>karchive</Dependency>
            <Dependency>kcmutils</Dependency>
            <Dependency>kservice</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>knewstuff</Dependency>
            <Dependency>liblastfm</Dependency>
            <Dependency>kguiaddons</Dependency>
            <Dependency>kitemviews</Dependency>
            <Dependency>qt5-phonon</Dependency>
            <Dependency>qt5-script</Dependency>
            <Dependency>kcompletion</Dependency>
            <Dependency>kcoreaddons</Dependency>
            <Dependency>kdbusaddons</Dependency>
            <Dependency>kiconthemes</Dependency>
            <Dependency>ktexteditor</Dependency>
            <Dependency>mariadb-lib</Dependency>
            <Dependency>kglobalaccel</Dependency>
            <Dependency>ktextwidgets</Dependency>
            <Dependency>threadweaver</Dependency>
            <Dependency>kwindowsystem</Dependency>
            <Dependency>taglib-extras</Dependency>
            <Dependency>kconfigwidgets</Dependency>
            <Dependency>knotifications</Dependency>
            <Dependency>kwidgetsaddons</Dependency>
            <Dependency>kdelibs4-support</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/amarok</Path>
            <Path fileType="data">/usr/share/appdata</Path>
            <Path fileType="data">/usr/share/applications/</Path>
            <Path fileType="config">/usr/share/config.kcfg</Path>
            <Path fileType="data">/usr/share/dbus-1/interfaces</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/kconf_update</Path>
            <Path fileType="data">/usr/share/knotifications5</Path>
            <Path fileType="data">/usr/share/kservices5</Path>
            <Path fileType="data">/usr/share/kservicetypes5</Path>
            <Path fileType="data">/usr/share/solid</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-01-07</Date>
            <Version>2.8.83</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>amarok</Name>
        KDE için müzik çalıcısı
        Amarok Audio-Player
        Odtwarzacz muzyczny Amarok
        Reproductor de música para KDE
        Amarok Audio-speler
        <Description xml:lang="tr">Amarok, pek çok yeni özelliklere sahip yeni nesil bir müzik çalıcısıdır</Description>
        <Description xml:lang="fr">Lecteur audio riche en fonctionnalité pour le système KDE.</Description>
        <Description xml:lang="pl">Amarok to bogaty w funkcje odtwarzacz audio dedykowany środowisku graficznemu KDE.</Description>
        <Description xml:lang="es">Amarok es un potente reproductor de música con una interfaz intuitiva</Description>
        <Description xml:lang="nl">Amarok is een feature-rijke audio-speler voor het KDE-bureaublad.</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 get

def setup():
    # Don't build examples
    pisitools.dosed("Makefile.am", "^(SRC_SUBDIRS.*?) examples", r"\1")

    autotools.autoreconf("-vfi")
    autotools.configure("--disable-static \
                         --disable-werror \
                         --enable-largefile")

def build():
    autotools.make()

def check():
    autotools.make()

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

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


code:
From 28cfdbbcb96a69087c3d21faf69b5eae7bcf6d69 Mon Sep 17 00:00:00 2001
From: Hodorgasm <nsane457@gmail.com>
Date: Wed, 11 May 2016 21:42:07 -0400
Subject: [PATCH] Cast to unsigned while left bit-shifting

GCC-6 now treats the left bitwise-shift of a negative integer as nonconformant so explicitly cast to an unsigned int while bit-shifting.

Downloaded from upstream PR:
https://github.com/mpruett/audiofile/pull/28

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 libaudiofile/modules/SimpleModule.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libaudiofile/modules/SimpleModule.h b/libaudiofile/modules/SimpleModule.h
index 03c6c69..4014fb2 100644
--- a/libaudiofile/modules/SimpleModule.h
+++ b/libaudiofile/modules/SimpleModule.h
@@ -123,7 +123,7 @@ struct signConverter
 	typedef typename IntTypes<Format>::UnsignedType UnsignedType;

 	static const int kScaleBits = (Format + 1) * CHAR_BIT - 1;
-	static const int kMinSignedValue = -1 << kScaleBits;
+	static const int kMinSignedValue = static_cast<signed>(static_cast<unsigned>(-1) << kScaleBits);;

 	struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType>
 	{


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>audiofile</Name>
        <Homepage>http://www.68k.org/~michael/audiofile/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        An elegant API for accessing audio files
        <Description>audiofile provides a uniform and elegant API for accessing a variety of audio file formats, such as AIFF/AIFF-C, WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual Research, Amiga IFF/8SVX, and NIST SPHERE.</Description>
        <Archive sha1sum="3aba3ef724b1b5f88cfc20ab9f8ce098e6c35a0e" type="targz">http://audiofile.68k.org/audiofile-0.3.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>flac-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>unsigned-gcc6.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>audiofile</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="doc">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>audiofile-devel</Name>
        Development files for audiofile
        <RuntimeDependencies>
            <Dependency release="current">audiofile</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/audiofile-config</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>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-16</Date>
            <Version>0.3.6</Version>
            <Comment>Version fix</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.3.4</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.3.4</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>audiofile</Name>
        Ses dosyalarına erişim için zarif bir UPA
        <Description xml:lang="tr">audiofile; AIFF/AIFF-C, WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual Research, Amiga IFF/8SVX ve NIST SPHERE gibi çeşitli ses dosyası biçimlerine erişim için düzenli ve gelişmiş bir uygulama programlama arayüzü sağlar.</Description>
    </Source>

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

    <Package>
        <Name>audiofile-32bit</Name>
        audiofile 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 pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools

def setup():
    #shelltools.system("svn up")
    cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DENABLE_TOUCH_SUPPORT=ON")

def build():
    cmaketools.make()

def install():
    cmaketools.install()

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

    pisitools.insinto("/usr/share/pixmaps/", "streams/icons/stream.png", "cantata.png")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cantata</Name>
        <Homepage>http://code.google.com/p/cantata</Homepage>
        <Packager>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <Icon>cantata</Icon>
        <Summary>Qt5 client for the music player daemon </Summary>
        <Description>Cantata is a graphical client for MPD</Description>
        <Archive sha1sum="90a80b412a21aed72d1b7cc578f0c2ffa62c243c" type="tarbz2">https://github.com/CDrummond/cantata/releases/download/v2.0.1/cantata-2.0.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>qt5-assistant-devel</Dependency>
            <Dependency>qt5-designer-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>qt5-qdbusviewer</Dependency>
            <Dependency>qt5-sql-mysql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qt5-sql-odbc</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>libcddb-devel</Dependency>
            <Dependency>musicbrainz5-devel</Dependency>
            <Dependency>cdparanoia-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>solid-devel</Dependency>
            <Dependency>udisks2-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>eudev-devel</Dependency>
            <Dependency>speex-devel</Dependency>
            <Dependency>libmtp-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libqjson-devel</Dependency>
            <Dependency>vlc-devel</Dependency>
            <Dependency>perl-URI</Dependency>
            <Dependency>taglib-extras-devel</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>cantata</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt5-svg</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libcddb</Dependency>
            <Dependency>cdparanoia</Dependency>
            <Dependency>musicbrainz5</Dependency>
            <Dependency>perl-URI</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>vlc-libs</Dependency>
            <Dependency>speex</Dependency>
            <Dependency>libmtp</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libqjson</Dependency>
            <Dependency>taglib-extras</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc/</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/cantata</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="locale">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-05-02</Date>
            <Version>2.0.1</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-12-07</Date>
            <Version>2.0.1</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>cantata</Name>
        <Summary xml:lang="en">Qt4 / KDE4 Music Player Client</Summary>
        <Description xml:lang="en">Cantata is a graphical client for MPD</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

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

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>celt</Name>
        <Homepage>http://www.celt-codec.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        An audio codec for use in low-delay speech and audio communication
        <Description>CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio codec designed for realtime transmission of high quality speech and audio. This is meant to close the gap between traditional speech codecs (such as Speex) and traditional audio codecs (such as Vorbis).</Description>
        <Archive sha1sum="7730b96a6615183505e5ff23cd9b4fea83540e15" type="targz">http://downloads.us.xiph.org/releases/celt/celt-0.11.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>celt</Name>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        <RuntimeDependencies>
            <Dependency>libogg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>celt-devel</Name>
        <IsA>library</IsA>
        Development files for celt
        <RuntimeDependencies>
            <Dependency release="current">celt</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-17</Date>
            <Version>0.11.3</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.11.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-15</Date>
            <Version>0.11.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>celt</Name>
        Düşük gecikmeli konuşma ve ses iletişimde kullanılmak üzere tasarlanan ses kodeği
        <Description xml:lang="tr">CELT (Constrained Energy Lapped Transform) yüksek kalitede konuşma ve ses görüşmesinin gerçek zamanlı iletiminde kullanılmak üzere tasarlanmış bir ses kodeğidir.</Description>
    </Source>

    <Package>
        <Name>celt-devel</Name>
        celt 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    shelltools.system("sed -i 's|lastfm5/ws.h|lastfm/ws.h|g' CMakeLists.txt")
    shelltools.system("sed -i 's|lastfm5/Track.h|lastfm/Track.h|g' CMakeLists.txt")
    shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmcompat.h")
    shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmservice.cpp")
    shelltools.system("sed -i 's|<lastfm5/|<lastfm/|g' src/internet/lastfm/lastfmsettingspage.cpp")
    shelltools.system("sed -i 's|<lastfm5/Track.h>|<lastfm/Track.h>|g' src/core/song.cpp")
    shelltools.system("sed -i 's|Exec=clementine %U|Exec=clementine|g' dist/clementine.desktop")
    cmaketools.configure(" \
                          -DCMAKE_INSTALL_PREFIX=/usr \
                          -DCMAKE_BUILD_TYPE=Release \
                          -DENABLE_VK=ON")

def build():
    cmaketools.make()

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

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


code:
--- a/src/core/database.cpp
+++ b/src/core/database.cpp
@@ -265,7 +265,17 @@
   StaticInit();

   {
-    QSqlQuery set_fts_tokenizer(db);
+#ifdef SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER
+    QVariant v = db.driver()->handle();
+    if (v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0) {
+      sqlite3* handle = *static_cast<sqlite3**>(v.data());
+      if (handle) {
+        sqlite3_db_config(handle, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, NULL);
+      }
+    }
+#endif
+
+     QSqlQuery set_fts_tokenizer("SELECT fts3_tokenizer(:name, :pointer)", db);
     set_fts_tokenizer.prepare("SELECT fts3_tokenizer(:name, :pointer)");
     set_fts_tokenizer.bindValue(":name", "unicode");
     set_fts_tokenizer.bindValue(


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>clementine</Name>
        <Homepage>http://www.clementine-player.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>GPLv3</License>
        <Icon>clementine</Icon>
        <IsA>app:gui</IsA>
        <Summary>A cross-platform music player based on Amarok 1.4</Summary>
        <Description>Clementine is a modern music player and library organiser. Clementine is a port of Amarok 1.4, with some features rewritten to take advantage of Qt4.</Description>
        <Archive sha1sum="3d08f1fd25930ceb50993ab8442fd7c129716c2f" type="zip">https://github.com/clementine-player/Clementine/archive/03428b53c2cd59569860f5b831ee096a9e635131.zip</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-webkit-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>qt5-assistant-devel</Dependency>
            <Dependency>qt5-designer-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>qt5-qdbusviewer</Dependency>
            <Dependency>qt5-sql-mysql</Dependency>
            <Dependency>qt5-sql-odbc</Dependency>
            <Dependency>qt5-sql-postgresql</Dependency>
            <Dependency>qt5-sql-sqlite</Dependency>
            <Dependency>qca2-qt5-devel</Dependency>
            <Dependency>glew-devel</Dependency>
            <Dependency>icon-theme-hicolor</Dependency>
            <Dependency>boost-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libmygpo-qt-devel</Dependency>
            <Dependency>fftw3-devel</Dependency>
            <Dependency>libmtp-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>taglib-devel</Dependency>
            <Dependency>libgpod-devel</Dependency>
            <Dependency>libplist-devel</Dependency>
            <Dependency>libqjson-devel</Dependency>
            <Dependency>protobuf-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>liblastfm-devel</Dependency>
            <Dependency>libechonest-devel</Dependency>
            <Dependency>google-sparsehash</Dependency>
            <Dependency>libchromaprint-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>libimobiledevice-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
            <Dependency>gst-plugins-bad-next-devel</Dependency>
            <Dependency>gst-plugins-ugly-next</Dependency>
            <Dependency>gst-plugins-good-next</Dependency>
            <Dependency>libkvkontakte-devel</Dependency>
            <Dependency>crypto++-devel</Dependency>
            <Dependency>libcdio-paranoia-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">tokenizer.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>clementine</Name>
        <RuntimeDependencies>
            <Dependency>glew</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>fftw3</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libmtp</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>taglib</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>libgpod</Dependency>
            <Dependency>protobuf</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>liblastfm</Dependency>
            <Dependency>libmygpo-qt</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>libchromaprint</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-03-08</Date>
            <Version>1.3.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2017-01-07</Date>
            <Version>1.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>clementine</Name>
        Amarok 1.4 tabanlı müzik oynatıcı
        Nowoczesny i prosty w obsłudze odtwarzacz muzyki
        Reproductor de música basado en Amarok 1.4
         Een cross-platform muziekspeler op basis van Amarok 1.4
        <Description xml:lang="tr">Clementine, Amarok 1.4 esas alınarak Qt4 ile yeniden yazılmış modern bir müzik oynatıcıdır.</Description>
        <Description xml:lang="pl">Clementine to port Amaroka 1.4 - popularnego odtwarzacza muzycznego dla systemu Linux.</Description>
        <Description xml:lang="es">Clementine es un moderno reproductor de música escrito en QT4 y basado en Amarok 1.4.</Description>
        <Description xml:lang="nl"> Clementine is een moderne muziekspeler. Clementine is een port van Amarok 1.4, met een aantal functies herschreven om te profiteren van Qt 4.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>multimedia.sound</Name>
</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

def setup():
    #if compile against gtk3=yes then a libtool compile error, so now build against gtk2
    shelltools.system("./autogen.sh")
    autotools.configure("--enable-gtk3=no --enable-staticlink=no")

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

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
diff --git a/plugins/vfs_zip/vfs_zip.c b/plugins/vfs_zip/vfs_zip.c
index 752e7f5..f146867 100644
--- a/plugins/vfs_zip/vfs_zip.c
+++ b/plugins/vfs_zip/vfs_zip.c
@@ -54,7 +54,7 @@ typedef struct {
     int buffer_remaining;
     int buffer_pos;
 #endif
-} zip_file_t;
+} ddb_zip_file_t;

 static const char *scheme_names[] = { "zip://", NULL };

@@ -108,8 +108,8 @@ vfs_zip_open (const char *fname) {
         return NULL;
     }

-    zip_file_t *f = malloc (sizeof (zip_file_t));
-    memset (f, 0, sizeof (zip_file_t));
+    ddb_zip_file_t *f = malloc (sizeof (ddb_zip_file_t));
+    memset (f, 0, sizeof (ddb_zip_file_t));
     f->file.vfs = &plugin;
     f->z = z;
     f->zf = zf;
@@ -122,7 +122,7 @@ vfs_zip_open (const char *fname) {
 void
 vfs_zip_close (DB_FILE *f) {
     trace ("vfs_zip: close\n");
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
     if (zf->zf) {
         zip_fclose (zf->zf);
     }
@@ -134,7 +134,7 @@ vfs_zip_close (DB_FILE *f) {

 size_t
 vfs_zip_read (void *ptr, size_t size, size_t nmemb, DB_FILE *f) {
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
 //    printf ("read: %d\n", size*nmemb);

     size_t sz = size * nmemb;
@@ -167,7 +167,7 @@ vfs_zip_read (void *ptr, size_t size, size_t nmemb, DB_FILE *f) {

 int
 vfs_zip_seek (DB_FILE *f, int64_t offset, int whence) {
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
 //    printf ("seek: %lld (%d)\n", offset, whence);

     if (whence == SEEK_CUR) {
@@ -242,13 +242,13 @@ vfs_zip_seek (DB_FILE *f, int64_t offset, int whence) {

 int64_t
 vfs_zip_tell (DB_FILE *f) {
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
     return zf->offset;
 }

 void
 vfs_zip_rewind (DB_FILE *f) {
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
     zip_fclose (zf->zf);
     zf->zf = zip_fopen_index (zf->z, zf->index, 0);
     assert (zf->zf); // FIXME: better error handling?
@@ -260,7 +260,7 @@ vfs_zip_rewind (DB_FILE *f) {

 int64_t
 vfs_zip_getlength (DB_FILE *f) {
-    zip_file_t *zf = (zip_file_t *)f;
+    ddb_zip_file_t *zf = (ddb_zip_file_t *)f;
     return zf->size;
 }


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>deadbeef</Name>
        <Homepage>http://deadbeef.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLİnux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>deadbeef</Icon>
        <IsA>app:gui</IsA>
        <PartOf>multimedia.sound</PartOf>
        <Summary>Audio player for GNU/Linux systems with X11</Summary>
        <Description>DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11 (though now it also runs in plain console without X, in FreeBSD, and in OpenSolaris).</Description>
        <Archive sha1sum="5db2c1676f69654bee8bfb8f0995148d68673d90" type="targz">https://github.com/Alexey-Yakovenko/deadbeef/archive/0.7.2.tar.gz</Archive>
        <!--<Patches>
            <Patch level="1">plugins_vfs_zip_vfs_zip_c.patch</Patch>
        </Patches>-->
        <BuildDependencies>
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>flac-devel</Dependency>
            <Dependency>faad2-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>ffmpeg-devel</Dependency>
            <Dependency>libmad-devel</Dependency>
            <Dependency>libzip-devel</Dependency>
            <Dependency>imlib2-devel</Dependency>
            <Dependency>wavpack-devel</Dependency>
            <Dependency>libcddb-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>cdparanoia-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libsamplerate-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>libcdio-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>jansson-devel</Dependency>
            <Dependency>mpg123-devel</Dependency>
            <Dependency>intltool</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>deadbeef</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>flac</Dependency>
            <Dependency>faad2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>ffmpeg</Dependency>
            <Dependency>libmad</Dependency>
            <Dependency>libzip</Dependency>
            <Dependency>imlib2</Dependency>
            <Dependency>wavpack</Dependency>
            <Dependency>libcddb</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>libvorbis</Dependency>
            <Dependency>cdparanoia</Dependency>
            <Dependency>libogg</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libsamplerate</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>libcdio</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>jansson</Dependency>
            <Dependency>mpg123</Dependency>
            <Dependency>libX11</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/deadbeef</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/deadbeef</Path>
            <Path fileType="doc">/usr/share/doc/deadbeef</Path>
            <Path fileType="data">/usr/share/icons/hicolor/*/apps</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-18</Date>
            <Version>0.7.20</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>0.7.20</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-17</Date>
            <Version>0.7.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-12-25</Date>
            <Version>0.6.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>deadbeef</Name>
        X1 ile GNU / Linux sistemleri için ses çalar
        Lkki i przejrzysty odtwarzacz plików muzycznych
        <Description xml:lang="tr">DeaDBeeF (0xDEADBEEF gibi) X11 ile GNU / Linux sistemleri (şimdi olsa da FreeBSD, X olmaksızın düz konsolda çalışır ve OpenSolaris) için bir ses oynatıcısıdır.</Description>
        <Description xml:lang="pl">DeaDBeeF Program pozwala odtwarzać najpopularniejsze formaty muzyki, a także płyty Audio-CD i strumienie audio emitowane za pośrednictwem Internetu. Jego ogromną zaletą jest prostota, dopracowanie oraz minimalne zapotrzebowanie na zasoby systemowe.</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 get
from pisi.actionsapi import pisitools

def build():
    autotools.make()

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

    pisitools.dodoc("doc/ChangeLog", "doc/LICENCE")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>decibel-audio-player</Name>
        <Homepage>http://decibel.silent-blade.org/</Homepage>
        <Packager>
            <Name>Yoyo Fernández</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <PartOf>multimedia.sound</PartOf>
        <IsA>app:gui</IsA>
        <Summary>Decibel Audio Player es un reproductor de audio escrito en GTK+ de código abierto (GPL) para GNU/Linux</Summary>
        <Description>Decibel Audio Player es un reproductor de audio escrito en GTK+ de código abierto (GPL) para GNU/Linux. Está especialmente dirigido a Gnome aunque puede usarse en KDE</Description>
        <Archive sha1sum="b611bfc724ccef8f5517ebab218e70bf2975c857" type="targz">http://decibel.silent-blade.org/uploads/Main/decibel-audio-player-1.08.tar.gz</Archive>
        <Patches>
            <Patch level="1">prefix.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>decibel-audio-player</Name>
        <RuntimeDependencies>
            <Dependency>dbus-python</Dependency>
            <Dependency>gst-python</Dependency>
            <Dependency>python-gtk</Dependency>
            <Dependency>python-imaging</Dependency>
            <Dependency>python-mutagen</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="man">/usr/share/man/man1</Path>
            <Path fileType="data">/usr/share/decibel-audio-player</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="locadata">/usr/share/locale/</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-02-18</Date>
            <Version>1.08</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-12-07</Date>
            <Version>1.08</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>decibel-audio-player</Name>
        Decibel Audio Player is a GTK+ open-source (GPL) audio player for GNU/Linux
	Decibel Audio Player es un reproductor de audio escrito en GTK+ de código abierto (GPL) para GNU/Linux
        <Description xml:lang="en">Decibel Audio Player is a GTK+ open-source (GPL) audio player for GNU/Linux. It is very straightforward to use thanks to a clean and user-friendly interface. It is especially targeted at Gnome and follows the Gnome HIG.</Description>
	<Description xml:lang="es">Decibel Audio Player es un reproductor de audio escrito en GTK+ de código abierto (GPL) para GNU/Linux. Está especialmente dirigido a Gnome aunque puede usarse en KDE.</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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

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

def build():
    cmaketools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>drumstick</Name>
        <Homepage>http://drumstick.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2+</License>
        <Icon>drumstick</Icon>
        <IsA>app:console</IsA>
        <IsA>app:gui</IsA>
        Qt5/C++ wrapper for ALSA Sequencer
        <Description>Drumstick library is a C++ wrapper around the ALSA library sequencer interface, using Qt5 objects, idioms and style.</Description>
        <Archive sha1sum="ec581dad0151a756af28f43f5a46379252d3fd54" type="tarbz2">mirrors://sourceforge/drumstick/1.1.0/drumstick-1.1.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-svg-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>fluidsynth-devel</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>shared-mime-info</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>drumstick</Name>
        <RuntimeDependencies>
            <Dependency release="current">drumstick-libs</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>qt5-svg</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>alsa-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>drumstick-libs</Name>
        <IsA>library</IsA>
        Libraries for Drumstick
        <Description>drumstick-libs provides libraries for Drumstick based applications.</Description>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>fluidsynth</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/drumstick</Path>
            <Path fileType="library">/usr/lib/libdrum*</Path>
        </Files>
    </Package>

    <Package>
        <Name>drumstick-devel</Name>
        <IsA>data</IsA>
        Development files for Drumstick
        <Description>drumstick-devel provides development files for Drumstick libraries.</Description>
        <RuntimeDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency release="current">drumstick-libs</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-18</Date>
            <Version>1.1.0</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.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-05-17</Date>
            <Version>1.0.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>drumstick</Name>
        ALSA ardıştırıcısı için Qt5/C++ kitaplığı
        <Description xml:lang="tr">Drumstick, ALSA ardıştırıcı arayüzü için Qt5 nesnelerini, deyimlerini ve tarzını kullanan bir C++ ara kitaplığıdır.</Description>
    </Source>

    <Package>
        <Name>drumstick-libs</Name>
        Drumstick kitaplıkları
        <Description xml:lang="tr">drumstick-libs, Drumstick temelli uygulamalar için kitaplık dosyaları sunar.</Description>
    </Package>

    <Package>
        <Name>drumstick-devel</Name>
        Drumstick kitaplığı için geliştirme dosyaları
        <Description xml:lang="tr">drumstick-devel, Drumstick kitaplığı için geliştirme dosyaları sunar.</Description>
    </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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "espeak-%s-source" % get.srcVERSION()

def setup():
    # Build against portaudio v19
    shelltools.copy("src/portaudio19.h", "src/portaudio.h")

    # Remove binary voice dictionaries, we'll build them
    shelltools.system("rm -rf espeak-data/*_dict")

def build():
    autotools.make("-C src CXXFLAGS='%s' CFLAGS='%s' LDFLAGS='%s'" % (get.CXXFLAGS(), get.CFLAGS(), get.LDFLAGS()))

    shelltools.system("./compile-voices")

def install():
    shelltools.cd("src")
    autotools.rawInstall("DESTDIR=%s BINDIR=/usr/bin INCDIR=/usr/include/espeak LIBDIR=/usr/lib" % get.installDIR())
    shelltools.cd("..")

    pisitools.dodoc("ReadMe", "ChangeLog.txt", "License.txt")


code:
#!/bin/bash

cd dictsource
export ESPEAK_DATA_PATH=..
for voice in $(../src/speak --voices | awk '{print $2}{print $5}' | egrep -v Language\|File\|/ | uniq); do \
    ../src/speak --compile=$voice; \
done


code:
diff -uNr espeak-1.23-source/src/Makefile espeak-1.23-source-mod/src/Makefile
--- espeak-1.23-source/src/Makefile	2007-04-21 19:05:23.000000000 +0200
+++ espeak-1.23-source-mod/src/Makefile	2007-04-24 07:50:46.000000000 +0200
@@ -86,7 +86,7 @@
 	# Install shared library
 	$(INSTALL) -m 755 $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)
 	# Install static library
-	$(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
+	#$(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR)
 	$(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION)
 	$(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/$(LIB_NAME)
 	# Install development headers


code:
diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp
--- a/src/tr_languages.cpp
+++ b/src/tr_languages.cpp
@@ -198,7 +198,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = {
 	0x200d,  1, // zero width joiner
 	0, 0 };

-const char string_ordinal[] = {0xc2,0xba,0};  // masculine ordinal character, UTF-8
+const char string_ordinal[] = {'\xc2','\xba',0};  // masculine ordinal character, UTF-8

 static Translator* NewTranslator(void)


code:
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH ESPEAK 1 "July 25, 2007"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
espeak \- A multi-lingual software speech synthesizer.
.SH SYNOPSIS
.B espeak
.RI [ options ]\ [ "<words>" ]
.SH DESCRIPTION
.B espeak
is a software speech synthesizer for English, and some other languages.
.SH OPTIONS
.TP
.B \-h
Show summary of options.
.TP
.B \-f <text file>
Text file to speak
.TP
.B \-\-stdin
Read text input from stdin instead of a file
.TP
If neither -f nor --stdin, <words> are spoken, or if none then text is spoken from stdin, each line separately.
.TP
.B \-q
Quiet, don't produce any speech (may be useful with -x)
.TP
.B \-a <integer>
Amplitude, 0 to 20, default is 10
.TP
.B \-l <integer>
Line length. If not zero (which is the default), consider
lines less than this length as and-of-clause
.TP
.B \-p <integer>
Pitch adjustment, 0 to 99, default is 50
.TP
.B -s <integer>
Speed in words per minute, default is 160
.TP
.B \-v <voice name>
Use voice file of this name from espeak-data/voices
.TP
.B -b
Input text is 8-bit encoding
.TP
.B -m
Indicates that the text contains SSML (Speech Synthesis Markup Language) tags or other XML tags. Those SSML tags which are supported are interpreted. Other tags, including HTML, are ignored, except that some HTML tags such as <hr> <h2> and <li> ensure a break in the speech.
.TP
.B \-w <wave file name>
Write output to this WAV file, rather than speaking it directly
.TP
.B \-x
Write phoneme mnemonics to stdout
.TP
.B \-X
Write phonemes mnemonics and translation trace to stdout. If rules files have been built with --compile=debug, line numbers will also be displayed.
.TP
.B \-\-stdout
Write speech output to stdout
.TP
.B \-\-compile=<voice name>
Compile the pronunciation rules and dictionary in the current directory. =<voice name> is optional and specifies which language
.TP
.B \-\-path=<path>
Specifies the directory containing the espeak-data directory
.TP
.B \-\-phonout=<filename>
Write output from -x -X commands and mbrola phoneme data to this file
.TP
.B \-\-punct="<characters>"
Speak the names of punctuation characters during speaking. If =<characters> is omitted, all punctuation is spoken.
.TP
.B \-k <integer>
Indicate capital letters with: 1=sound, 2=the word "capitals", higher values = a pitch increase (try -k20).
.TP
.B \-\-voices[=<language code>]
Lists the available voices. If =<language code> is present then only those voices which are suitable for that language are listed.
.TP
.B \-\-compile=voicename
Compile the pronunciation rules and dictionary in the current directory. =<voice name> is optional and specifies which language
.TP
.B \-\-compile=debug
Compile the pronunciation rules and dictionary in the current directory as above, but include line numbers, that get shown when -X is used.
.SH AUTHOR
eSpeak was written by Jonathan Duddington <jonsd@jsd.clara.co.uk>. The webpage for this package can be found at http://espeak.sourceforge.net/.
.PP
This manual page was written by Luke Yelavich <themuso@ubuntu.com>, for the Ubuntu project (but may be used by others).


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>espeak</Name>
        <Homepage>http://espeak.freedesktop.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3+</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        Software speech synthesizer (text-to-speech)
        <Description>espeak produces good quality English speech. It uses a different synthesis method from other open source TTS engines and sounds quite different.</Description>
        <Archive sha1sum="b22c0361885d05e61d98ecedca0a4926ea2fb2ad" type="zip">http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip/download</Archive>
        <AdditionalFiles>
            <AdditionalFile permission="0755" target="compile-voices">compile-voices.sh</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency>coreutils</Dependency>
            <Dependency>portaudio-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>espeak-1.23-makefile_nostaticlibs.patch</Patch>
            <Patch>espeak-1.48-gcc-6-fix.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>espeak</Name>
        <RuntimeDependencies>
            <Dependency>portaudio</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/espeak-data</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/man/man1/espeak.1">espeak.1</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>espeak-devel</Name>
        Development headers for espeak
        <RuntimeDependencies>
            <Dependency release="current">espeak</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-03-10</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.48.04</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-01</Date>
            <Version>1.48.04</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>espeak</Name>
        Yazılımsal konuşma sentezleyici (text-to-speech)
        <Description xml:lang="tr">espeak iyi kalitede İngilizce konuşma sentezler. Diğer açık kaynaklı TTS motorlarından farklı bir sentezleme yöntemi kullandığından üretilen sesler biraz farklıdır.</Description>
    </Source>

    <Package>
        <Name>espeak-devel</Name>
        espeak için geliştirme başlı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 get

def setup():
    shelltools.system("./bootstrap")
    autotools.configure("--disable-static")

def build():
    autotools.make()

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

    pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README", "TODO", "docs/libfaac.pdf")


code:
http://bugs.gentoo.org/306881

--- configure.in
+++ configure.in
@@ -33,7 +33,12 @@
 AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
                AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
                             external_mp4v2=no, -lstdc++),
-               external_mp4v2=no, [#include <mp4v2/mp4v2.h>])
+               external_mp4v2=no, [
+          #if defined(__ALTIVEC__)
+          #undef bool
+          #endif
+          #include <mp4v2/mp4v2.h>
+          ])

 if test x$external_mp4v2 = xyes; then
   AC_MSG_NOTICE([*** Building with external mp4v2 ***])
--- frontend/main.c
+++ frontend/main.c
@@ -30,6 +30,9 @@
 #endif

 #ifdef HAVE_LIBMP4V2
+#if defined(__ALTIVEC__)
+# undef bool
+#endif
 # include <mp4v2/mp4v2.h>
 #endif

--- common/mp4v2/mpeg4ip.h
+++ common/mp4v2/mpeg4ip.h
@@ -123,7 +123,6 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
-char *strcasestr(const char *haystack, const char *needle);
 #ifdef __cplusplus
 }
 #endif


code:
diff -ur faac-1.28.orig/configure.in faac-1.28/configure.in
--- faac-1.28.orig/configure.in 2009-02-05 02:55:38.000000000 +0200
+++ faac-1.28/configure.in  2009-07-10 13:21:34.000000000 +0300
@@ -28,14 +28,17 @@
 AC_CHECK_LIB(gnugetopt, getopt_long)

 AM_CONDITIONAL(WITH_MP4V2, false)
+AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, false)

 AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
                AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
                             external_mp4v2=no, -lstdc++),
-               external_mp4v2=no, [#include <mp4.h>])
+               external_mp4v2=no, [#include <mp4v2/mp4v2.h>])

 if test x$external_mp4v2 = xyes; then
   AC_MSG_NOTICE([*** Building with external mp4v2 ***])
+  MY_DEFINE(HAVE_LIBMP4V2)
+  AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, true)
 else
   if test x$WITHMP4V2 = xyes; then
      AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
diff -ur faac-1.28.orig/frontend/main.c faac-1.28/frontend/main.c
--- faac-1.28.orig/frontend/main.c  2009-01-24 03:10:20.000000000 +0200
+++ faac-1.28/frontend/main.c   2009-07-10 13:22:18.000000000 +0300
@@ -30,7 +30,7 @@
 #endif

 #ifdef HAVE_LIBMP4V2
-# include <mp4.h>
+# include <mp4v2/mp4v2.h>
 #endif

 #define DEFAULT_TNS     0
diff -ur faac-1.28.orig/frontend/Makefile.am faac-1.28/frontend/Makefile.am
--- faac-1.28.orig/frontend/Makefile.am 2008-12-16 02:56:00.000000000 +0200
+++ faac-1.28/frontend/Makefile.am  2009-07-10 13:21:55.000000000 +0300
@@ -8,5 +8,9 @@
 LDADD = $(top_builddir)/libfaac/libfaac.la $(top_srcdir)/common/mp4v2/libmp4v2.a -lm -lstdc++
 else
 INCLUDES = -I$(top_srcdir)/include
+if WITH_EXTERNAL_MP4V2
+LDADD = $(top_builddir)/libfaac/libfaac.la -lm -lmp4v2
+else
 LDADD = $(top_builddir)/libfaac/libfaac.la -lm
 endif
+endif


code:
http://bugs.gentoo.org/397575
http://sourceforge.net/tracker/?func=detail&aid=3476707&group_id=704&atid=100704

--- configure.in
+++ configure.in
@@ -33,8 +33,8 @@ AC_CHECK_LIB(gnugetopt, getopt_long)
 AM_CONDITIONAL(WITH_MP4V2, false)
 AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, false)

-AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
-               AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
+AC_CHECK_DECLS([MP4Create],
+               AC_CHECK_LIB(mp4v2, MP4Create, external_mp4v2=yes,
                             external_mp4v2=no, -lstdc++),
                external_mp4v2=no, [#include <mp4v2/mp4v2.h>])

@@ -42,6 +42,7 @@ if test x$external_mp4v2 = xyes; then
   AC_MSG_NOTICE([*** Building with external mp4v2 ***])
   MY_DEFINE(HAVE_EXTERNAL_LIBMP4V2)
   AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, true)
+  AC_CHECK_DECLS([MP4TagsAlloc], [], [], [#include <mp4v2/mp4v2.h>])
 else
   if test x$WITHMP4V2 = xyes; then
      AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
--- frontend/main.c
+++ frontend/main.c
@@ -873,8 +873,12 @@ int main(int argc, char *argv[])
     if (!faacEncSetConfiguration(hEncoder, myFormat)) {
         fprintf(stderr, "Unsupported output format!\n");
 #ifdef HAVE_LIBMP4V2
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+        if (container == MP4_CONTAINER) MP4Close(MP4hFile, 0);
+#else
         if (container == MP4_CONTAINER) MP4Close(MP4hFile);
 #endif
+#endif
         return 1;
     }

@@ -885,12 +889,10 @@ int main(int argc, char *argv[])
         unsigned long ASCLength = 0;
     char *version_string;

-#ifdef MP4_CREATE_EXTENSIBLE_FORMAT
-    /* hack to compile against libmp4v2 >= 1.0RC3
-     * why is there no version identifier in mp4.h? */
+#ifdef MP4_DETAILS_ERROR /* r453 fix */
         MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0);
 #else
-    MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0, 0);
+        MP4hFile = MP4Create(aacFileName, 0);
 #endif
         if (!MP4_IS_VALID_FILE_HANDLE(MP4hFile)) {
             fprintf(stderr, "Couldn't create output file %s\n", aacFileName);
@@ -905,12 +907,22 @@ int main(int argc, char *argv[])
     free(ASC);

     /* set metadata */
+#if HAVE_DECL_MP4TAGSALLOC
+    const MP4Tags* tags;
+    tags = MP4TagsAlloc();
+    MP4TagsFetch( tags, MP4hFile );
+#endif
     version_string = malloc(strlen(faac_id_string) + 6);
     strcpy(version_string, "FAAC ");
     strcpy(version_string + 5, faac_id_string);
+#if !HAVE_DECL_MP4TAGSALLOC
     MP4SetMetadataTool(MP4hFile, version_string);
+#else
+    MP4TagsSetEncodingTool(tags, version_string);
+#endif
     free(version_string);

+#if !HAVE_DECL_MP4TAGSALLOC
     if (artist) MP4SetMetadataArtist(MP4hFile, artist);
     if (writer) MP4SetMetadataWriter(MP4hFile, writer);
     if (title) MP4SetMetadataName(MP4hFile, title);
@@ -923,8 +935,40 @@ int main(int argc, char *argv[])
     if (comment) MP4SetMetadataComment(MP4hFile, comment);
         if (artSize) {
         MP4SetMetadataCoverArt(MP4hFile, art, artSize);
+#else
+    if (artist) MP4TagsSetArtist(tags, artist);
+    if (writer) MP4TagsSetComposer(tags, writer);
+    if (title) MP4TagsSetName(tags, title);
+    if (album) MP4TagsSetAlbum(tags, album);
+    if (trackno > 0) {
+        MP4TagTrack tt;
+        tt.index = trackno;
+        tt.total = ntracks;
+        MP4TagsSetTrack(tags, &tt);
+    }
+    if (discno > 0) {
+        MP4TagDisk td;
+        td.index = discno;
+        td.total = ndiscs;
+        MP4TagsSetDisk(tags, &td);
+    }
+    if (compilation) MP4TagsSetCompilation(tags, compilation);
+    if (year) MP4TagsSetReleaseDate(tags, year);
+    if (genre) MP4TagsSetGenre(tags, genre);
+    if (comment) MP4TagsSetComments(tags, comment);
+    if (artSize) {
+        MP4TagArtwork mp4art;
+        mp4art.data = art;
+        mp4art.size = artSize;
+        mp4art.type = MP4_ART_UNDEFINED; // delegate typing to libmp4v2
+        MP4TagsAddArtwork( tags, &mp4art );
+#endif
         free(art);
     }
+#if HAVE_DECL_MP4TAGSALLOC
+    MP4TagsStore( tags, MP4hFile );
+    MP4TagsFree( tags );
+#endif
     }
     else
     {
@@ -1141,11 +1185,19 @@ int main(int argc, char *argv[])
         /* clean up */
         if (container == MP4_CONTAINER)
         {
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+            MP4Close(MP4hFile, 0);
+#else
             MP4Close(MP4hFile);
+#endif
             if (optimizeFlag == 1)
             {
                 fprintf(stderr, "\n\nMP4 format optimization... ");
+#ifdef MP4_DETAILS_ERROR /* r453 fix */
                 MP4Optimize(aacFileName, NULL, 0);
+#else
+                MP4Optimize(aacFileName, NULL);
+#endif
                 fprintf(stderr, "Done!");
             }
         } else


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>faac</Name>
        <Homepage>http://www.audiocoding.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        MPEG-4 audio codecs
        <Description>Free MPEG-4 audio codecs by AudioCoding.com.</Description>
        <Archive sha1sum="d00b023a3642f81bb1fb13d962a65079121396ee" type="targz">mirrors://sourceforge/faac/faac-1.28.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libmp4v2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">mp4v2-1.9.patch</Patch>
            <Patch level="0">mp4v2-2.0.0.patch</Patch>
            <Patch level="0">altivec.patch</Patch>
        </Patches>
    </Source>
    <Package>
        <Name>faac</Name>
        <RuntimeDependencies>
            <Dependency>libmp4v2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/faac</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-12</Date>
            <Version>1.28</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.28</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-14</Date>
            <Version>1.28</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>faac</Name>
        Özgür MPEG-4 ses codecleri
    </Source>

    <Package>
        <Name>faac-devel</Name>
        faac 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():
    #pisitools.dosed("libfaad/Makefile.am", "iquote ", "I")
    autotools.autoreconf("-vfi")

    autotools.configure("--without-xmms \
                         --with-drm \
                         --disable-static")

def build():
    autotools.make()

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

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


code:
Install mp4ff_int_types.h for mythmusic.

http://bugs.gentoo.org/275008

--- common/mp4ff/Makefile.am
+++ common/mp4ff/Makefile.am
@@ -1,5 +1,5 @@
 lib_LTLIBRARIES = libmp4ff.la
-include_HEADERS = mp4ff.h mp4ffint.h
+include_HEADERS = mp4ff.h mp4ffint.h mp4ff_int_types.h

 AM_CFLAGS = -DUSE_TAGGING=1


code:
Ripped from Debian

Patch to create a shared lib for libmp4ff.

--- a/common/mp4ff/Makefile.am
+++ b/common/mp4ff/Makefile.am
@@ -1,7 +1,8 @@
-lib_LIBRARIES = libmp4ff.a
+lib_LTLIBRARIES = libmp4ff.la
 include_HEADERS = mp4ff.h mp4ffint.h

-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
+AM_CFLAGS = -DUSE_TAGGING=1

-libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
+libmp4ff_la_LDFLAGS = -version-info 0:0:0
+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
 		     mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -5,7 +5,7 @@
 	   -I$(top_srcdir)/common/mp4ff

 faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
-	     $(top_builddir)/common/mp4ff/libmp4ff.a
+	     $(top_builddir)/common/mp4ff/libmp4ff.la

 faad_SOURCES = main.c \
 	       audio.c audio.h \


code:
diff -ur faad2-2.7.orig/frontend/Makefile.am faad2-2.7/frontend/Makefile.am
--- faad2-2.7.orig/frontend/Makefile.am	2009-02-06 18:03:37.000000000 +0200
+++ faad2-2.7/frontend/Makefile.am	2009-07-20 20:27:29.000000000 +0300
@@ -1,5 +1,5 @@
 bin_PROGRAMS = faad
-man_MANS = faad.man
+man1_MANS = faad.man

 INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
 	   -I$(top_srcdir)/common/mp4ff


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>faad2</Name>
        <Homepage>http://www.audiocoding.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        MPEG2 and MPEG4 AAC decoder
        <Description>FAAD2 is a HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder.</Description>
        <Archive sha1sum="b0e80481d27ae9faf9e46c8c8dfb617a0adb91b5" type="tarbz2">mirrors://sourceforge/faac/faad2-2.7.tar.bz2</Archive>

        <Patches>
            <Patch level="1">faad2-2.7-libmp4ff-shared-lib.patch</Patch>
            <Patch level="1">faad2-2.7-man1_MANS.patch</Patch>
            <Patch>faad2-2.7-libmp4ff-install-mp4ff_int_types_h.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>faad2</Name>

        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/faad2</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

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

    <History>
        <Update release="3">
            <Date>2017-02-12</Date>
            <Version>2.7</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.7</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>2.7</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>faad2</Name>
        AAC yorumlayıcı
        <Description xml:lang="tr">FAAD2 bir HE, LC, MAIN ve LTP profil, MPEG2 ve MPEG4 AAC çözücüdür.</Description>
    </Source>

    <Package>
        <Name>faad2-devel</Name>
        faad2 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
from pisi.actionsapi import shelltools

def setup():
    options  = "--with-pic \
                --enable-ogg \
                --enable-sse \
                --disable-doxygen-docs \
                --disable-dependency-tracking \
                --disable-xmms-plugin \
                --disable-static"

    autotools.autoconf()
    autotools.configure(options)

def build():
    autotools.make()

#def check():
    #autotools.make("check")

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

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

    pisitools.dohtml("doc/html/*")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>flac</Name>
        <Homepage>http://flac.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <License>LGPLv2.1</License>
        <IsA>app:console</IsA>
        An encoder/decoder for the Free Lossless Audio Codec
        <Description>flac is the Free Lossless Audio Codec. The FLAC format supports streaming, seeking, and archival, and gives 25-75% compression on typical CD audio. This package contains tools and libraries to work with and support for files in FLAC format.</Description>
        <Archive sha1sum="2bdbb56b128a780a5d998e230f2f4f6eb98f33ee" type="tarxz">http://downloads.xiph.org/releases/flac/flac-1.3.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
        </BuildDependencies>
    </Source>

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

    <Package>
        <Name>flac-docs</Name>
        Documentation for flac
        <RuntimeDependencies>
            <Dependency>flac</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

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

    <History>
        <Update release="4">
            <Date>2017-02-06</Date>
            <Version>1.3.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <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="2">
            <Date>2016-05-25</Date>
            <Version>1.3.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-03</Date>
            <Version>1.3.1</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>flac</Name>
        Özgür Kayıpsız Ses Kodlaması için kodlayıcı/çözücü araçları
        <Description xml:lang="tr">flac bir Özgür Kayıpsız Ses Kodlaması'dır. (Free Lossless Audio Codec) FLAC biçemi akan görüntü, arama ve arşivleme ve tipik bir Ses CD'sinde %25-75 sıkıştırmayı destekler.</Description>
    </Source>

    <Package>
        <Name>flac-docs</Name>
        flac ile ilgili belgeler
    </Package>

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

    <Package>
        <Name>flac-32bit</Name>
        flac 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
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

#WorkDir = "flite-%s-current" % get.srcVERSION()

def setup():
    autotools.configure("--prefix=/usr \
                         --with-audio=alsa \
	                 --with-vox=cmu_us_kal16")

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>flite</Name>
        <Homepage>http://www.speech.cs.cmu.edu/flite/index.html</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        <IsA>library</IsA>
        Flite: a small run-time speech synthesis engine
        <Description>Flite (festival-lite) is a small, fast run-time speech synthesis engine developed at CMU and primarily designed for small embedded machines and/or large servers. Flite is designed as an alternative synthesis engine to Festival for voices built using the FestVox suite of voice building tools.</Description>
        <Archive sha1sum="aeb4d33de079004c0eb9f9e0fe5bba1e0def75f4" type="tarbz2">http://www.festvox.org/flite/packed/flite-2.0/flite-2.0.0-release.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>chrpath</Dependency>
        </BuildDependencies>
        <Patches>
        </Patches>
    </Source>

    <Package>
        <Name>flite</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>flite-devel</Name>
        Development headers for flite
        <RuntimeDependencies>
            <Dependency release="current">flite</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-02-18</Date>
            <Version>2.0.0</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-29</Date>
            <Version>2.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-08-18</Date>
            <Version>1.9.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-05-27</Date>
            <Version>1.4</Version>
            <Comment>Rebuild.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-24</Date>
            <Version>1.4</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-12</Date>
            <Version>1.4</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>flite</Name>
        Küçük ve hızlı bir konuşma sentezleyici
        <Description xml:lang="tr">Flite (festival-lite), CMU tarafından geliştirilmiş küçük ve hızlı bir konuşma sentezleyicisidir. Flite, Festival'e alternatif sentezleyici olarak, öncelikle küçük gömülü sistemler ve/veya büyük sunucular için tasarlanmıştır.</Description>
    </Source>

    <Package>
        <Name>flite-devel</Name>
        flite için geliştirme başlı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 cmaketools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

shelltools.export("CFLAGS", "%s -lpthread" % get.CFLAGS())

def setup():
    cmaketools.configure("-Denable-ladspa=ON \
                          -DLIB_SUFFIX=\"\"")

def build():
    cmaketools.make()

def install():
    cmaketools.install()

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>fluidsynth</Name>
        <Homepage>http://fluidsynth.resonance.org/trac</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2+</License>
        <IsA>library</IsA>
        A realtime software synthesizer
        <Description>FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications.</Description>
        <Archive sha1sum="1d45fc3263d85f867efd809bdacb5d6116243c35" type="tarbz2">mirrors://sourceforge/fluidsynth/fluidsynth-1.1.6/fluidsynth-1.1.6.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>lash-devel</Dependency>
            <Dependency>alsa-lib-devel</Dependency>
            <Dependency>ladspa-sdk-devel</Dependency>
            <Dependency>libsndfile-devel</Dependency>
            <Dependency>pulseaudio-libs-devel</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>

    </Source>

    <Package>
        <Name>fluidsynth</Name>
        <RuntimeDependencies>
            <Dependency>lash</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>readline</Dependency>
            <Dependency>alsa-lib</Dependency>
            <Dependency>ladspa-sdk</Dependency>
            <Dependency>libsndfile</Dependency>
            <Dependency>pulseaudio-libs</Dependency>
            <Dependency>jack-audio-connection-kit</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>fluidsynth-devel</Name>
        Development files for fluidsynth
        <RuntimeDependencies>
            <Dependency release="current">fluidsynth</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-18</Date>
            <Version>1.1.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.1.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-26</Date>
            <Version>1.1.6</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>fluidsynth</Name>
        Gerçek zamanlı bir yazılım birleştirici
        <Description xml:lang="tr">FluidSynth, SoundFort 2 özelliklerine sahip gerçek zamanlı bir yazılım bireştiricidir.</Description>
    </Source>

    <Package>
        <Name>fluidsynth-devel</Name>
        fluidsynth 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.autoreconf("-vfi -I admin/autotools/m4")
    autotools.configure("--disable-static")

def build():
    autotools.make("all")

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

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


code:
diff -Nur freealut-1.1.0-old/src/Makefile.am freealut-1.1.0/src/Makefile.am
--- freealut-1.1.0-old/src/Makefile.am	2006-11-17 14:08:18.000000000 +0200
+++ freealut-1.1.0/src/Makefile.am	2006-11-17 14:08:21.000000000 +0200
@@ -20,7 +20,7 @@
 	alutWaveform.c

 # We use sin and floor, so we might need -lm, autoconf takes care of this.
-libalut_la_LIBADD = $(LIBM)
+libalut_la_LIBADD = $(LIBM) -lopenal -lpthread

 # The following libtool flag is neccessary for building DLLs on Windows.
 libalut_la_LDFLAGS = -no-undefined


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>freealut</Name>
        <Homepage>http://www.openal.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        The OpenAL Utility Toolkit
        <Description>freealut is a free implementation of OpenAL's ALUT standard.</Description>
        <Archive sha1sum="d6a9406bbe6f7dd2f51db31e804ec5b65dfd4b05" type="targz">http://github.com/vancegroup/freealut/archive/freealut_1_1_0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>openal-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">shared-openal.patch</Patch>
        </Patches>
    </Source>

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

    <Package>
        <Name>freealut-devel</Name>
        Development files for freealut
        <RuntimeDependencies>
            <Dependency release="current">freealut</Dependency>
            <Dependency>openal-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="doc">/usr/share/doc/freealut/html</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-02-18</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-07</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild for Pisi Linux 2.0</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-06-08</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2014-01-24</Date>
            <Version>1.1.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-12</Date>
            <Version>1.1.0</Version>
            <Comment>First release</Comment>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>freealut</Name>
        Açık ses kütüphanesi Openal aletleri
        Boîte à outils utilitaire d'OpenAL.
        Die OpenAL Werkzeugsammlung
    </Source>

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